ImageEn, unit iexBitmaps

TIEMultiBitmap.Create

TIEMultiBitmap.Create


Declaration

constructor Create(); overload;
constructor Create(ImageWidth, ImageHeight: integer; ImagePixelFormat: TIEPixelFormat = ie24RGB); overload;
constructor Create(MBitmap: TIECustomMultiBitmap); overload;
constructor Create(const FileName: string); overload;


Description

Create a new TIEMultiBitmap object.
Second overload creates the bitmap using specified parameters.
Third overload creates a clone of an existing TIEMultiBitmap
Fourth overload loads image from specified file.


Examples

// Create an empty image
mbmp1 := TIEMultiBitmap.Create();

// Create 1000x1000, 24 bit RGB image with 5 pages
mbmp2 := TIEMultiBitmap.Create(1000, 1000, 5, ie24RGB);

// Create an image from file "input.gif"
mbmp2 := TIEMultiBitmap.Create( 'input.gif' );

// Create a clone of mbmp2
mbmp3 := TIEMultiBitmap.Create(mbmp2);