ImageEn for Delphi and C++ Builder ImageEn for Delphi and C++ Builder

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
Forum membership is Free!  Click Join to sign-up
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 Blur() on TImageEnMView
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

jccruz

Brazil
30 Posts

Posted - Feb 23 2013 :  12:38:37  Show Profile  Reply
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

xequte

39140 Posts

Posted - Feb 23 2013 :  13:40:33  Show Profile  Reply
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;


Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: