ImageEn, unit iexBitmaps

TIEBitmap.CreateDIB

TIEBitmap.CreateDIB


Declaration

function CreateDIB(): THandle;
function CreateDIB(x1, y1, x2, y2: integer): THandle;


Description

Creates a DIB from current image. You are responsible to free memory (calling GlobalFree).
The second overload creates a DIB from specified rectangle of current image.