Properties · Methods · Events · Examples
Declaration
TIEBitmap = TIEBaseBitmap;
Description
TIEBitmap is a replacement for the VCL TBitmap class. It has many methods and properties compatible with TBitmap and enhances it by supporting multi-threading, large images and a wide range of image formats.
TIEBitmap can
store images in memory mapped files (for big images), in memory (fast access) or can encapsulate TBitmap objects (for canvas drawing and compatibility).
// Convert a BMP to a JPEG
bmp := TIEBitmap.create;
bmp.LoadFromFile( 'D:\input.bmp' );
bmp.SaveToFile( 'D:\output.jpg' );
bmp.Free;
// Convert a BMP to a JPEG at 90% quality
bmp := TIEBitmap.create;
bmp.ParamsEnabled := True;
bmp.LoadFromFile( 'D:\input.bmp' );
bmp.Params.JPEG_Quality := 90;
bmp.SaveToFile( 'D:\output.jpg' );
bmp.Free;
Debugging Visualizer
You can
view the content of a TIEBitmap while debugging by hovering over the object and clicking the Inspect button:
GeneralAssignment between ObjectsInput/OutputCanvas AccessAlpha Channel (Transparency)Pixel AccessPalette and ColorImage EditingEventsSee Also
◼TIEDBBitmap◼TIEMultiBitmap