ImageEn, unit iexBitmaps

TIOParams.NativePixelFormat

TIOParams.NativePixelFormat


Declaration

property NativePixelFormat: Boolean;


Description

By default, ImageEn converts all paletted images to 24 bit (true color). Only black/white images are stored in the original format with 1 bit per pixel.
Setting NativePixelFormat to True disables the conversion and uses the image's native format.

Note: Use of NativePixelFormat will prevent execution of some image processing operations


Example

// Load a raw camera image with 16 bits per sample
BMP := TIEBitmap.create;
BMP.ParamsEnabled := true;
BMP.NativePixelFormat := true;
BMP.Read( 'D:\CameraImage.orf' );