>>
>>* please check carefully, this is what I recall from my own exploration
>>* of the control: as I said, I don't use it because I have to produce
>>* JPEG thumbnails
>>oleImage.Image = "filename"
>>oleImage.Zoom = percent
>>oleImage.SaveAs("thumbnail",3,0,1,0,.T.)
>>
>
> Slight modification and it mostly works. Thanks. That 0 as the third parameter in the SaveAs method has to be 3. With a 0 or 1 it give an "invalid page type" error. With is set to 2, it exhibits the same extremely lossy compression I get by simply resizing the OLE object in Crystal. With it set to 3 it saves a nice sharp but reduced in size image. Only problem - it comes out black and white! The even stranger thing is that on screen it looks fine. I tried playing with the other parameters, but nothing seems to make a difference. The 4th and 5th seem to be compression type and depth.
Ok, try this, then (this time, it goes tested)
oleImage.SaveAs("thumbnail",3,7,1,0,.T.)
good luck
bye
----------------------------------
António Tavares Lopes