How to Use BCB to display 16-bit BMP images?
Sender: coyi
E-mail: chencoyi@188.net
Time: 8:18:26
From: BJ
Views: 18
Details:
How to Use BCB to display 16-bit BMP images?
Thank you !!!!!!!!
--------------------------------------------------------------------------------
Related information:
29494 how can I use BCB to display 16-bit BMP images? Coyi 12/22
29506 use the image component. tbitmap has an attribute pixelformat that can specify the number of digits (null). Radish 12/22
I tried 29545, but I still can't do it ??? Why ??? Coyi 12/22
29550 how many digits did your image have ?, Post your source code to see (null) radish 12/22
29568 for you: coyi 12/22
For you:
Sender: coyi
E-mail: chencoyi@188.net
Time: 17:08:24
From: BJ
Times: 16
Details:
My source code is:
I first created a timage control, which is image1, and the code section is as follows:
Image1-> picture-> Bitmap-> pixelformat = pf24bit;
I tried it. No.
When my BMP file is saved in Photoshop, I am prompted to be 24bit.
I tried another method:
Graphics: tbitmap * BMP = new graphics: tbitmap;
BMP-> loadfromfile ("abc.bmp ");
BMP-> pixelformat = pf24bit;
Image1-> canvas-> draw (0, 0, BMP );
Delete BMP;
The result is that the image is still 256 colors. Help me !!!
Thank you very much .....
29617 empty (empty) coyi 12/23
29622 try image-> picture-> bitmap = BMP directly (null)