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 outside selection
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

egrobler

42 Posts

Posted - Nov 03 2012 :  13:37:13  Show Profile  Reply
Hi,

If I have selected a region like an ellipse, I can blur the ellipse with a call like ImageEnView1.Proc.Blur(3).

However, I would like to blur the area outside the ellipse (the non-selected area), how can I do that?

Regards
Eric

w2m

USA
1990 Posts

Posted - Nov 03 2012 :  14:37:09  Show Profile  Reply
To select everything outside of the ellipse call InvertSelection:
ImageEnView1.InvertSelection; // select all excluding the ellipse
// Now blur the selection
ImageEnView1.Proc.Blur(4);

William Miller
Email: w2m@frontiernet.net
EBook: http://www.imageen.com/ebook/
Apprehend: http://www.frontiernet.net/~w2m/index.html
Go to Top of Page

egrobler

42 Posts

Posted - Nov 03 2012 :  15:33:01  Show Profile  Reply
Hi William,

Thank you for your fast response.

Regards
Eric
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: