ImageEn, unit imageenproc |
|
TImageEnProc.RoundImage
Declaration
procedure RoundImage(RoundWidth, RoundHeight: Integer);
Description
Round the corners of an image.
RoundWidth and
RoundHeight specify the rounding size.
The cropped areas will become transparent.
| Demos\ImageEditing\EveryMethod\EveryMethod.dpr |
ImageEnView1.IO.LoadFromFile( 'D:\TestImage.jpg' );

// Add round corners to the image
ImageEnView1.Proc.RoundImage( ImageEnView1.IEBitmap.Width div 10,
ImageEnView1.IEBitmap.Height div 10 );
