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

exchangeviews

India
39 Posts

Posted - May 12 2015 :  01:59:39  Show Profile  Reply
Dear All,

Is there a way to make the portion of image blur. Something using mouse(brush) move over image or a new layer over background layer to make background blur as shown in image below:

exchangeviews

India
39 Posts

Posted - May 12 2015 :  03:33:55  Show Profile  Reply
I got the solution but not sure if it is ok.

ImageEnVect1.LayersCreateFromSelection;
ImageEnVect1.Proc.Blur(2);
ImageEnVect1.DeSelect;
ImageEnVect1.LayersMerge(0,1);


Is there any better way using mouse brush?
Go to Top of Page

w2m

USA
1990 Posts

Posted - May 12 2015 :  12:07:05  Show Profile  Reply
Your code looks ok to me. What do you mean by "Mouse brush"?

Bill Miller
Adirondack Software & Graphics
Email: w2m@hughes.net
EBook: http://www.imageen.com/ebook/
Custom Commercial ImageEn Development
Go to Top of Page

exchangeviews

India
39 Posts

Posted - May 12 2015 :  12:43:27  Show Profile  Reply
Thanks Bill.

Look at the brush Demo, you will see that a circle/rectangle is used to paint the image where mouse moves. I was trying to blur the portion of image where mouse moves over image.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: