ImageEn, unit imageenproc

TImageEnProc.AttachedIEBitmap

TImageEnProc.AttachedIEBitmap


Declaration

property AttachedIEBitmap: TIEBitmap;


Description

Attach a TImageEnProc to a TIEBitmap to perform image modification and analysis functions on an image.

Note: Using TIEBitmap instead of TBitmap allows TImageEnProc to be thread safe and handle large images.


Example

// Load an image with a TIEBitmap, make it negative then save it
iebmp := TIEBitmap.Create;
proc := TImageEnProc.create(nil);
proc.AttachedIEBitmap := iebmp;
iebmp.Read('D:\animage.jpeg');
proc.Negative();
iebmp.Write('D:\output.jpeg');
proc.Free;
iebmp.Free;