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

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 Blur() on TImageEnMView

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

View 
UserName:
Password:
Format  Bold Italicized Underline  Align Left Centered Align Right  Horizontal Rule  Insert Hyperlink   Browse for an image to attach to your post Browse for a zip to attach to your post Insert Code  Insert Quote Insert List
   
Message 

 

Emoji
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Black Eye [B)]
Frown [:(] Shocked [:0] Angry [:(!] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

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;


Nigel
Xequte Software
www.xequte.com
nigel@xequte.com