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.
Examples
// Convert a multi-page TIFF to a PDF
mbmp := TIEMultiBitmap.create;
mbmp.Read( 'D:\input.tif' );
mbmp.Write( '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.Write( 'D:\animated.gif' );
mbmp.Free;
Methods and Properties
GeneralPage EditingImage AccessImage InformationInput/OutputInput/Output Parameters (Meta-Data)Image ManipulationVirtual Multi-BitmapsEvents
See Also
-
TIEDBMultiBitmap