Remove horizontal line, 1 px, one specific colour

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
frankross
Posts: 1
Joined: 2016-06-22T05:01:44-07:00
Authentication code: 1151

Remove horizontal line, 1 px, one specific colour

Post by frankross »

How can I remove horizontal lines, 1 px, one specific colour/grayscale?

In other words, how can I replace the colour of all pixels of one specific colour that have one white pixel above and one below with white?
snibgo
Posts: 12159
Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK

Re: Remove horizontal line, 1 px, one specific colour

Post by snibgo »

snibgo's IM pages: im.snibgo.com
Post Reply