I have a two-colour image consisting of black characters on a white background, and I want to convert it so that I get black character edges on a white background, or vice versa. So I run the command:
Code: Select all
convert in.png -edge 1 out.png
However, if I run the same command on the same image on my 64-bit computer, running the Debian Wheezy amd64 build of ImageMagick 6.7.7.10-5, the output is exactly the same (in pixels) as the input, which is not OK.
I'm certain this problem was not present on the 64-bit machine using older versions of ImageMagick, as the command is part of a script which used to work well, though I have no record of when it started failing.
So, is this a known bug? Has it been fixed in later versions? Is there a workaround for my particular task?
Thanks a lot.