How do I use BCB to display 16bit BMP images?

zhaozj2021-02-11  236

How do I use BCB to display 16bit BMP images?

Sender: coyie-mail: chencoyi@188.net time: 1999-12-22 8:18:26 comes from: BJ reading: 18 Details: How to display 16bit BMP images using BCB? Thank you! ! ! ! ! ! ! ! -------------------------------------------------- ------------------------------ Related information: 29494 Q: How do I use BCB to display 16bit's BMP images? COYI 12/22 8:18 29506 You can use the image component, Tbitmap has a property Pixelformat can specify the number (empty) Radish 12/22 9:32 29545 I tried, but still not? ? ? Why ??? Coyi 12/22 12:37 29550 How much is your image? , Post your source code (empty) Radish 12/22 13:36 29568 Give you: COYI 12/22 17:08 Give you: Sender: Coyie-mail: chencoyi@188.net Time: 1999-12-22 17:08:24 From: bj Readings: 16 Details: My source code is: I first build a Timage control, for image1, then the code part is as follows: image1-> Picture-> Bitmap-> Pixelformat = PF24bit; test I can't. My BMP file is in the case of the survival of Photoshop, I'm 24 bit. I also tried a way: graphics :: tbitmap * bmp = new graphics :: Tbitmap; bmp-> loadingfromfile ("abc.bmp"); bmp-> pixelformat = pf24bit; image1-> canvas-> DRAW (0, 0, BMP); DELETE BMP; result image is still 256 colors. Help Me !!! Thank you very very very very very much ..... 29617 Empty (empty) COYI 12/23 8:21 29622 Direct use image-> Picture-> Bitmap = BMP Try (empty)

转载请注明原文地址:https://www.9cbs.com/read-4046.html

New Post(0)