Hello,
I try to edit an image by drawing some lines on it using command line tool "convert". I get this error when I execute the command
convert: pixels are not authentic `nodes.png' @ cache.c/QueueAuthenticNexus/4143.
Does this mean anything. I tried to search forums but I haven't found any similar post.
It results an image "topology.png" which is similar to "nodes.png".
I use ImageMagick 6.5.4-2, compiled from source.
Ubuntu 9.04, 2GB RAM
If you really need to debug this here's the command line I use:
File coverage.png http://www.badrit.com/coverage.png
convert "(" -fill "none" -stroke "black" -draw " line 416.6913,499.899 416.6913,499.899 line 456.1008,154.2412 456.1008,154.2412" nodes.png ")" "topology.png"
Error editing an image
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: Error editing an image
assuming nodes.png is the input and topology.png is the output and you have the png delegate library installed, try (no parenthesis needed)convert "(" -fill "none" -stroke "black" -draw " line 416.6913,499.899 416.6913,499.899 line 456.1008,154.2412 456.1008,154.2412" nodes.png ")" "topology.png"
convert nodes.png -fill "none" -stroke "black" -draw "line 416.6913,499.899 416.6913,499.899 line 456.1008,154.2412 456.1008,154.2412" topology.png
however, your are drawing zero length lines (your start x,y and end x,y are identical in both cases) and that could be your problem. For one line the syntax is -draw "line startx,starty endx,endy"
Re: Error editing an image
We can reproduce the problem you reported and have a patch in ImageMagick 6.5.5-7 available sometime tomorrow. Thanks.