BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

PixelFormat problem using CLX

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (Graphics)
View previous topic :: View next topic  
Author Message
Chad
Guest





PostPosted: Fri May 27, 2005 4:07 am    Post subject: PixelFormat problem using CLX Reply with 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
Chad
Guest





PostPosted: Fri May 27, 2005 8:48 pm    Post subject: Re: PixelFormat problem using CLX Reply with quote



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
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (Graphics) All times are GMT
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.