[V4MD] problem with importing jpgs

Martin Kloss martin.kloss at gmx.de
Fri Jul 18 15:16:38 CDT 2003


At 14:33 18.07.03 +0200, you wrote:
>After importing into director the jpg looks like before importing, but 
>after "setPicture" and "getPicture" the look of the the jpeg has changed.

Hi Stephan,

can you share some code? If you're using Set/GetPicture multiple times
with the same picture, you're re-compressing the same picture and reduce
the pixel information in the picture.

Which format are you importing?
Which castmember compression setting are you using in Director for the picture?
Which screen resolution are you using?
Try creating a new 32 or 16bit bitmap member and set its filename property
via Lingo. Then use the SetPicture() method to add the picture to the db field
with a 100 percent compression setting. Restore the picture from the record
with GetPicture() to a second cast member, so you can compare the two.

Martin.




More information about the Valentina mailing list