Vcl.Imaging.jpeg.TJPEGImage.PixelFormat
Delphi
property PixelFormat: TJPEGPixelFormat read FPixelFormat write SetPixelFormat;
C++
__property TJPEGPixelFormat PixelFormat = {read=FPixelFormat, write=SetPixelFormat, nodefault};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | public | Vcl.Imaging.jpeg.pas Vcl.Imaging.jpeg.hpp |
Vcl.Imaging.jpeg | TJPEGImage |
Description
Determines whether the JPEG image is displayed in 24 or 8-bit format.
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.