ImageEn, unit iexHelperFunctions

TBitmapHelper.Proc

TBitmapHelper.Proc


Declaration

property Proc: TImageEnProc;


Description

Returns a TImageEnProc, which provides functionality for editing and manipulating images, clipboard and analysis.

Note:
You must add the iexHelperFunctions unit to your uses clause
To assign between TBitmap and TIEBitmap, you can use TIEBitmap.Assign and TIEBitmap.AssignTo


Examples

// Load an image, quality scale it by 50%, and save
bmp := TBitmap.Create();
try
  bmp.IO.LoadFromFile( 'D:\im2.jpg' );
  bmp.Proc.Resample( 0.5, rfLanczos3 );
  bmp.IO.Params.JPEG_Quality := 90;
  bmp.IO.SaveToFile( 'D:\out.jpg' );
finally
  bmp.FreeImageEnObjects();  // Not required but improves memory handling
  bmp.Free();
end;

// Apply pixelization to the image
myBMP.Proc.Pixelize();

// Prompt user to perform color adjustment on the current image
myBMP.Proc.DoPreviews( ppeColorAdjustments );



See Also

IO
FreeImageEnObjects