ImageEn, unit imageenproc |
|
TImageEnProc.ConvertToSepia
Declaration
procedure ConvertToSepia(Depth : Integer = 20);
Description
Apply a Sepia effect to the selected region.
Depth is in the range 1 to 255.
Note:
◼A UI for this is available to your users in the
Image Processing dialog
◼If the image
PixelFormat is not ie24RGB, it will be converted
| Demos\ImageEditing\EveryMethod\EveryMethod.dpr |
// Load test image
ImageEnView1.IO.LoadFromFile( 'D:\TestImage.jpg' );
// Apply a sepia effect to the image
ImageEnView1.Proc.ConvertToSepia();
See Also
◼Colorize