ImageEn, unit imageenproc

TImageEnProc.Create

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


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;