Apply blur or sharpen to image, excluding edges.

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
josephs
Posts: 40
Joined: 2014-04-08T10:13:43-07:00
Authentication code: 6789

Apply blur or sharpen to image, excluding edges.

Post by josephs »

Hello,

I am overlaying a creative border to a photograph. The hole in the border is transparent so the photo remains visible. The border extends to the edge of the canvas of the photo. All is good, but there is a white edge of pixels at the inner and outer edge of the border. I'm assuming this is a result of the blur and/or sharpening to the border in areas where there is no pixel information. I have set all operations to channel rgba. Is there a way to eliminate this white edge of pixel and keep the it unaffected by the blur and/or sharpening?

Any help is appreciated!
josephs
Posts: 40
Joined: 2014-04-08T10:13:43-07:00
Authentication code: 6789

Re: Apply blur or sharpen to image, excluding edges.

Post by josephs »

Update: I was able remove the white edge of the outside border, as it was related to another issue. The white edge of pixel at inner border edge still remains.
snibgo
Posts: 12159
Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK

Re: Apply blur or sharpen to image, excluding edges.

Post by snibgo »

Sample images, and the exact command you used, would help us understand.

Also please say what version IM you are using, on what platform.
snibgo's IM pages: im.snibgo.com
Post Reply