Board index » cppbuilder » PixelFormat problem using CLX

PixelFormat problem using CLX


2005-05-27 12:07:50 PM
cppbuilder51
Hi, I am porting a VCL project to CLX and am having trouble with the
TBitmap->PixelFormat (PF) property. Apparently the enum value pf24bit
doesn't work although it is documented in the help file. I can only get it
to use pf32bit. Are any other bit depths supported? Thanks.
Chad
 
 

Re:PixelFormat problem using CLX

I found my answer via Google.
The CLX TBitmap does not support pf24bit. The byte order for pf32bit is
(blue, green, red, alpha), which compares to (blue, green, red) for the
VCL's pf24bit PixelFormat.
Chad
"Chad" < XXXX@XXXXX.COM >wrote in message
Quote
Hi, I am porting a VCL project to CLX and am having trouble with the
TBitmap->PixelFormat (PF) property. Apparently the enum value pf24bit
doesn't work although it is documented in the help file. I can only get
it
to use pf32bit. Are any other bit depths supported? Thanks.

Chad