RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TJPEGImage.PixelFormat Property

Determines whether the JPEG image is displayed in 24 or 8-bit format.

Pascal
property PixelFormat: TJPEGPixelFormat;
C++
__property TJPEGPixelFormat PixelFormat;

Use PixelFormat to set the pixel format of the jpeg image to 8-bit for video drivers that cannot display 24-bit. The native format of a jpeg image is 24-bit. PixelFormat is used for decompression, that is, for reading in files. PixelFormat will also apply to a bitmap if the image is copied to it. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!