ImageEn, unit imageenproc |
|
TImageEnProc.Create
Declaration
constructor Create(Owner: TComponent);
Description
Create a new instance of TImageEnProc. You can pass Owner as nil to create a component without an owner.
See also:
CreateFromBitmap
// Load an image with a TIEBitmap, make it negative then save it
iebmp := TIEBitmap.Create;
proc := TImageEnProc.create(nil);
proc.AttachedIEBitmap := iebmp;
iebmp.LoadFromFile('D:\image.jpeg');
proc.Negative();
iebmp.SaveToFile('D:\output.jpeg');
proc.Free;
iebmp.Free;