mar. 15 janvier 2013, 14h24
Cesar Ch
Brésil
atoutfox.public.association
Re: image picture /pictureval
Salut Francis,
Pardonnez-moi pour l'utilisation de l'anglais ici, pour des discussions techniques, il est plus facile pour moi d'écrire en anglais.
Yes, the image rendering is COMPLETELY different if you use the "Picture" and the "PictureVal" properties.
When you use "Picture", VFP uses the good and old GDI basic functions. For the "PictureVal" case, it draws the image directly on the screen, but using GDI+, using some interpolation and smoothing settings that provide a better result when Expanding or reducing the image.
In fact, this brings advantages and disadvantages.
In my experience, for big JPEGS, the visual result is a bit better using PictureVal.
If you need to use BMPs or GIFs, the "Picture" property is more recommended, because allows us to use transparencies, that fail sometimes using PictureVal.
J'espère que cela aide!
Permalink : http://www.atoutfox.org/nntp.asp?ID=0000010695