Board index » cppbuilder » PixelFormat problem using CLX
Chad
![]() CBuilder Developer |
Chad
![]() CBuilder Developer |
PixelFormat problem using CLX2005-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 |
Chad
![]() CBuilder Developer |
2005-05-28 04:48:44 AM
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 QuoteHi, I am porting a VCL project to CLX and am having trouble with the |