ImageEn, unit imageenproc

TImageEnProc.CheckLegacyBitmap

TImageEnProc.CheckLegacyBitmap


Declaration

procedure CheckLegacyBitmap(PixelFormat: TIEPixelFormat);


Description

Sets LegacyBitmap = false when the specified pixel format cannot be handled using TBitmap.


Example

ImageEnView1.CheckLegacyBitmap(ieCMYK); // if ieCMYK cannot be handled by TBitmap then use TIEBitmap (sets ImageEnView1.LegacyBitmap := false)
ImageEnView1.IEBitmap.PixelFormat := ieCMYK;
ImageEnView1.Update();