 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Chad Guest
|
Posted: Fri May 27, 2005 4:07 am Post subject: PixelFormat problem using CLX |
|
|
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
|
|
| Back to top |
|
 |
Chad Guest
|
Posted: Fri May 27, 2005 8:48 pm Post subject: 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" <hicks (AT) email (DOT) arizona.edu> wrote
| 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
|
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|