ImageEn, unit iexBitmaps

TIEDibBitmap.Allocate

TIEDibBitmap.Allocate


Declaration

function Allocate(ImageWidth, ImageHeight: integer; ImagePixelFormat: TIEPixelFormat; FillValue: Double = -1; Alpha: Integer = 255): boolean;


Description

Allocates a new windows DIB section of the specified size and pixel format.
ImagePixelFormat can be ie1g or ie24RGB.
The FillValue and Alpha parameters have no effect with TIEDibBitmap.
Returns True on success.