ImageEn, unit ImageEnProc

TImageEnProc.ConvertToSepia

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 or ie32RGB, it will be converted

Demo

Demo  Demos\ImageEditing\EveryMethod\EveryMethod.dpr

Example

Also see: Automated Samples
// Load test image
ImageEnView1.IO.LoadFromFile( 'D:\TestImage.jpg' );

  

// Apply a sepia effect to the image
ImageEnView1.Proc.ConvertToSepia();

  

See Also

◼Colorize