Properties · Methods · Events · Examples
Declaration
TIEMultiBitmap = class(TIECustomMultiBitmap);
Description
TIEMultiBitmap is an array of images. It allows you to work with multiple-frame images in memory, such as GIF, TIFF, AVI, etc. It is also used by
TImageEnMView to store images within the grid.
Debugging Visualizer
You can
view the content of a TIEMultiBitmap while debugging by hovering over the object and clicking the Inspect button:
// Convert a multi-page TIFF to a PDF
mbmp := TIEMultiBitmap.Create();
mbmp.LoadFromFile( 'D:\input.tif' );
mbmp.SaveToFile( 'D:\output.pdf' );
mbmp.Free;
// Add an image to the current image list
MBitmap.AppendImage( 'C:\MyImage.tif' );
// Delete the third image from the image list
MBitmap.DeleteImage( 2 );
// Create an animated GIF file from ten source images
mbmp := TIEMultiBitmap.Create();
for i := 0 to 9 do
begin
mbmp.AppendImage( format( 'D:\Source\Frame %d.bmp', [i] ));
mbmp.Params[i].GIF_DelayTime := 10; // Display each frame for 1/10th of a second
end;
mbmp.SaveToFile( 'D:\animated.gif' );
mbmp.Free;
GeneralPage EditingImage AccessImage InformationInput/OutputInput/Output Parameters (Meta-Data)Image EditingVirtual Multi-BitmapsEventsSee Also
◼TIEDBMultiBitmap