>Is .png pictures quality better than .bmp ?
>
>Is the abilty to open .png totally depending of VFP 9, or this abiliy will depend of use operational system ?
>
>I considering using .png pictures in my buttons instead of bmp I use today
>
>
>Moises
1. Smaller file size
2. Is able to support Alpha Transparency
3. If using with image.pictureval then you need VFP9 sp2
4. Since it uses GDI+ internally for PNG, (bmp uses GDI), the image can be scaled without losing much resolution
5. Not recommended for buttons.
6. If used on a form could cause massive flickering as the form is "painted"
IME the best format for buttons is either BMP or better still ICO files. I would only use PNG with VFP if there was no other alternative.
Carlos has done an article about this here :
http://www.ctl32.com.ar/articles/what_is_the_best_image_format_for_VFP.aspBernard