Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP9 image control
Message
 
 
General information
Forum:
Visual FoxPro
Category:
Pictures and Image processing
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01014387
Message ID:
01014532
Views:
27
This message has been marked as the solution to the initial question of the thread.
>I am displaying a small jpeg in a standard VFP image control on a form. In vfp7 I could set BackStyle to transparent and have the image appear "masked" - with only the image showing. In vfp9 both transparent and opaque produce the image on a white background the size of the control. Is this a change in vfp9? Is there a workaround?

The JPEG(JPG) format doesn't support transparency. VFP7 incorrectly treated white background in JPEG as transparent. Starting with VFP8 images are rendered using GDI+ Windows API. You can convert your image to GIF or PNG format with transparency.
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform