Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Use RGB mode for BMPs in VFP
Message
General information
Forum:
Visual FoxPro
Category:
Pictures and Image processing
Miscellaneous
Thread ID:
00335038
Message ID:
00335064
Views:
15
>>Rick,
>>
>>Thanks for the heads up. Just a thought. Have you tried using a RLE bitmap with the PictureClip ActiveX control? The listview and treeview can use what its GraphicCell() method returns. I'm wondering if this applies there too.

Correction in the above. The ImageList (not ListView and TreeView) can use...

>I haven't used the PictureClip control, but thanks for pointing it out. I ran into this problem while trying to use what turned out to be RLE-encoded bitmaps in an image control on a form and for _screen.picture. The solution in this case was simply to change the bitmaps to RGB mode.

SET SALESPITCH ON

IHMO, the PictureClip control is one of the more under utilized controls. But its strength is also its weakness. It allows you to use one bitmap as the source of multiple images that can be stored in the ImageList. However, it requires that all the images be exactly the same size and gathering them together can be a PITA. However, since you're only loading one image rather than multiple ones, it can save both load time for forms and (not that it's a big deal anymore) diskspace.

I was playing around with the idea of creating a PictureClip bitmap creation utility that would allow you to easily gather the bitmaps together, but haven't followed through on it.

SET SALESPITCH OFF
George

Ubi caritas et amor, deus ibi est
Previous
Reply
Map
View

Click here to load this message in the networking platform