Unable to get -draw to work in portable version

Post any defects you find in the released or beta versions of the ImageMagick software here. Include the ImageMagick version, OS, and any command-line required to reproduce the problem. Got a patch for a bug? Post it here.
Post Reply
haleg
Posts: 8
Joined: 2011-01-19T16:54:29-07:00
Authentication code: 8675308

Unable to get -draw to work in portable version

Post by haleg »

Below is the output from the -debug command.
All the commands were run from the IM convert directory and the image is larger than 7100x4800 pixels, also located in the same directory.

I can get IM convert to do other things, if I avoid the "-draw" command, like convert a selected color with the following:
"convert.exe pic1.tif -fill red -opaque "#D9F3F7" Pic1_red.tif"

But my true goal is to use a selected color from the image so I tried the following (from IM v6 Examples web page):
"convert.exe pic1.tif -fill red -draw 'color 0,0 replace' Pic1_red.tif"....this generates a "draw" error

So given that I am new to IM, I tried what I thought would be a command with options that are all listed and described on the 'usage' web page.
Thus the -draw and 'point' command in the following debug listing. It too does not work...

Here it is:
C:\ProgramsMisc\ImageMagick-6.6.7-1>convert Pic1.tif -debug configure -fill red -draw 'color 30,20 point' Pic1_red.tif
2011-01-20T10:35:31-08:00 0:00.000 0.000u 6.6.7 Configure convert[5112]: utility.c/ExpandFilenames/906/Configure
Command line: convert {Pic1.tif} {-debug} {configure} {-fill} {red} {-draw} {'color} {30,20} {point'} {Pic1_red.tif}
2011-01-20T10:35:31-08:00 0:00.015 0.016u 6.6.7 Configure convert[5112]: configure.c/GetConfigureOptions/564/Configure
Searching for configure file: "magic.xml"
2011-01-20T10:35:31-08:00 0:00.015 0.016u 6.6.7 Configure convert[5112]: configure.c/GetConfigureOptions/564/Configure
Searching for configure file: "C:\Documents and Settings\haleg\.magick\magic.xml"
2011-01-20T10:35:31-08:00 0:00.031 0.016u 6.6.7 Configure convert[5112]: magic.c/LoadMagicList/678/Configure
Loading magic configure file "magic.xml" ...
2011-01-20T10:35:31-08:00 0:00.031 0.016u 6.6.7 Configure convert[5112]: magic.c/LoadMagicList/678/Configure
Loading magic configure file "magic.xml" ...
2011-01-20T10:35:32-08:00 0:00.531 0.531u 6.6.7 Configure convert[5112]: configure.c/GetConfigureOptions/564/Configure
Searching for configure file: "colors.xml"
2011-01-20T10:35:32-08:00 0:00.547 0.547u 6.6.7 Configure convert[5112]: configure.c/GetConfigureOptions/564/Configure
Searching for configure file: "C:\Documents and Settings\haleg\.magick\colors.xml"
2011-01-20T10:35:32-08:00 0:00.547 0.547u 6.6.7 Configure convert[5112]: color.c/LoadColorList/2060/Configure
Loading color file "colors.xml" ...
2011-01-20T10:35:32-08:00 0:00.547 0.547u 6.6.7 Configure convert[5112]: color.c/LoadColorList/2060/Configure
Loading color file "colors.xml" ...
2011-01-20T10:35:32-08:00 0:00.562 0.578u 6.6.7 Configure convert[5112]: locale.c/LoadLocaleList/769/Configure
Loading locale configure file "locale.xml" ...
2011-01-20T10:35:32-08:00 0:00.562 0.578u 6.6.7 Configure convert[5112]: locale.c/LoadLocaleList/769/Configure
Loading locale configure file "" ...
2011-01-20T10:35:32-08:00 0:00.562 0.578u 6.6.7 Configure convert[5112]: locale.c/LoadLocaleList/769/Configure
Loading locale configure file "english.xml" ...
2011-01-20T10:35:32-08:00 0:00.593 0.625u 6.6.7 Configure convert[5112]: locale.c/LoadLocaleList/769/Configure
Loading locale configure file "" ...
2011-01-20T10:35:32-08:00 0:00.625 0.688u 6.6.7 Configure convert[5112]: configure.c/GetConfigureOptions/564/Configure
Searching for configure file: "delegates.xml"
2011-01-20T10:35:32-08:00 0:00.625 0.688u 6.6.7 Configure convert[5112]: configure.c/GetConfigureOptions/564/Configure
Searching for configure file: "C:\Documents and Settings\haleg\.magick\delegates.xml"
2011-01-20T10:35:32-08:00 0:00.625 0.688u 6.6.7 Configure convert[5112]: delegate.c/LoadDelegateList/1223/Configure
Loading delegate configuration file "delegates.xml" ...
2011-01-20T10:35:32-08:00 0:00.640 0.688u 6.6.7 Configure convert[5112]: nt-base.c/NTLocateGhostscript/953/Configure
Ghostscript ((null)) version 0.00
2011-01-20T10:35:32-08:00 0:00.640 0.688u 6.6.7 Configure convert[5112]: nt-base.c/NTLocateGhostscript/953/Configure
Ghostscript ((null)) version 0.00
2011-01-20T10:35:32-08:00 0:00.640 0.688u 6.6.7 Configure convert[5112]: nt-base.c/NTLocateGhostscript/953/Configure
Ghostscript ((null)) version 0.00
2011-01-20T10:35:32-08:00 0:00.640 0.688u 6.6.7 Configure convert[5112]: nt-base.c/NTLocateGhostscript/953/Configure
Ghostscript ((null)) version 0.00
2011-01-20T10:35:32-08:00 0:00.656 0.703u 6.6.7 Configure convert[5112]: nt-base.c/NTLocateGhostscript/953/Configure
Ghostscript ((null)) version 0.00
2011-01-20T10:35:32-08:00 0:00.656 0.703u 6.6.7 Configure convert[5112]: nt-base.c/NTLocateGhostscript/953/Configure
Ghostscript ((null)) version 0.00
2011-01-20T10:35:32-08:00 0:00.656 0.703u 6.6.7 Configure convert[5112]: nt-base.c/NTLocateGhostscript/953/Configure
Ghostscript ((null)) version 0.00
2011-01-20T10:35:32-08:00 0:00.656 0.703u 6.6.7 Configure convert[5112]: nt-base.c/NTLocateGhostscript/953/Configure
Ghostscript ((null)) version 0.00
2011-01-20T10:35:32-08:00 0:00.656 0.703u 6.6.7 Configure convert[5112]: nt-base.c/NTLocateGhostscript/953/Configure
Ghostscript ((null)) version 0.00
2011-01-20T10:35:32-08:00 0:00.672 0.719u 6.6.7 Configure convert[5112]: nt-base.c/NTLocateGhostscript/953/Configure
Ghostscript ((null)) version 0.00
2011-01-20T10:35:32-08:00 0:00.672 0.719u 6.6.7 Configure convert[5112]: delegate.c/LoadDelegateList/1223/Configure
Loading delegate configuration file "delegates.xml" ...
2011-01-20T10:35:32-08:00 0:00.672 0.719u 6.6.7 Configure convert[5112]: nt-base.c/NTLocateGhostscript/953/Configure
Ghostscript ((null)) version 0.00
2011-01-20T10:35:32-08:00 0:00.687 0.719u 6.6.7 Configure convert[5112]: nt-base.c/NTLocateGhostscript/953/Configure
Ghostscript ((null)) version 0.00
2011-01-20T10:35:32-08:00 0:00.687 0.719u 6.6.7 Configure convert[5112]: nt-base.c/NTLocateGhostscript/953/Configure
Ghostscript ((null)) version 0.00
2011-01-20T10:35:32-08:00 0:00.687 0.719u 6.6.7 Configure convert[5112]: nt-base.c/NTLocateGhostscript/953/Configure
Ghostscript ((null)) version 0.00
2011-01-20T10:35:32-08:00 0:00.687 0.719u 6.6.7 Configure convert[5112]: nt-base.c/NTLocateGhostscript/953/Configure
Ghostscript ((null)) version 0.00
2011-01-20T10:35:32-08:00 0:00.687 0.719u 6.6.7 Configure convert[5112]: nt-base.c/NTLocateGhostscript/953/Configure
Ghostscript ((null)) version 0.00
2011-01-20T10:35:32-08:00 0:00.703 0.719u 6.6.7 Configure convert[5112]: nt-base.c/NTLocateGhostscript/953/Configure
Ghostscript ((null)) version 0.00
2011-01-20T10:35:32-08:00 0:00.703 0.719u 6.6.7 Configure convert[5112]: nt-base.c/NTLocateGhostscript/953/Configure
Ghostscript ((null)) version 0.00
2011-01-20T10:35:32-08:00 0:00.703 0.719u 6.6.7 Configure convert[5112]: nt-base.c/NTLocateGhostscript/953/Configure
Ghostscript ((null)) version 0.00
2011-01-20T10:35:32-08:00 0:00.703 0.719u 6.6.7 Configure convert[5112]: nt-base.c/NTLocateGhostscript/953/Configure
Ghostscript ((null)) version 0.00
convert: Non-conforming drawing primitive definition `color' @ error/draw.c/DrawImage/3146.
convert: unable to open image `30,20': No such file or directory @ error/blob.c/OpenBlob/2584.
convert: no decode delegate for this image format `30,20' @ error/constitute.c/ReadImage/532.
convert: unable to open image `point'': No such file or directory @ error/blob.c/OpenBlob/2584.
convert: no decode delegate for this image format `point'' @ error/constitute.c/ReadImage/532.
convert: Non-conforming drawing primitive definition `color' @ error/draw.c/DrawImage/3146.

C:\ProgramsMisc\ImageMagick-6.6.7-1>

Also I did not do an 'install' but used the "portable" version from the download page and un-zipped it to the indicated directory on the command line, as I do not have admin rights to the PC.
Running XP SP3, I have Adobe Pro Ver 9.4.0

Is this a bug? or just some type of limitation.
haleg
haleg
Posts: 8
Joined: 2011-01-19T16:54:29-07:00
Authentication code: 8675308

Re: Unable to get -draw to work in portable version

Post by haleg »

This has been resolved. Incorrect syntax for Windows was being used.
Post Reply