Note: You must be registered in order to post a reply. To register, click here. Registration is FREE!
T O P I C R E V I E W
jccruz
Posted - Feb 23 2013 : 12:38:37 Dear,
I am acquiring some images from my scanner and showing them on TImageEnMView.
How can I do to apply a Blur() method to a specific image?
For example, I captured 3 images and I would like to apply on the first one.
Thanks
JCC
1 L A T E S T R E P L I E S (Newest First)
xequte
Posted - Feb 23 2013 : 13:40:33 Hi
The Proc.Blur() method will only work with the currently selected image. So you need to operate on each image individually, e.g. by attaching each image's bitmap to a TImageEnProc
// Blur image of Index 0 in a TImageEnMView
var
bmp : TIEBitmap;
begin
bmp := ImageEnMView1.GetTIEBitmap(0);
ImageEnProc1.AttachedIEBitmap := bmp;
ImageEnProc1.Blur;
ImageEnMView1.ReleaseBitmap(0);
ImageEnMView1.Update;
end;