Domain user vs Local user

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
danielproulx
Posts: 2
Joined: 2012-01-11T13:01:07-07:00
Authentication code: 8675308

Domain user vs Local user

Post by danielproulx »

Hello

New user of Image Magick

I am running on a virtual server running w2003

As local admin all is well but as a domain user I can key in the commands (convert etc) but a complete command line fails

C:\pdf2\out>convert 1.ps 1.pdf
convert.exe: no decode delegate for this image format `1.ps' @ error/constitute.
c/ReadImage/532.
convert.exe: missing an image filename `1.pdf' @ error/convert.c/ConvertImageCom
mand/3016.

My delegates seem to be in place....

Thanks for any help. Apologise for any repetition in topic.


-------------------------------------------------------------------------------
Path: [built-in]

Name Value
-------------------------------------------------------------------------------
NAME ImageMagick

Path: C:\Program Files\ImageMagick-6.7.4-Q16\configure.xml

Name Value
-------------------------------------------------------------------------------
CC vs10
COPYRIGHT Copyright (C) 1999-2012 ImageMagick Studio LLC
DELEGATES bzlib freetype jpeg jp2 lcms png tiff x11 xml wmf zlib
FEATURES OpenMP
HOST Windows
LIB_VERSION 0x674
LIB_VERSION_NUMBER 6,7,4,4
NAME ImageMagick
RELEASE_DATE 2012-01-15
VERSION 6.7.4
WEBSITE http://www.imagemagick.org



C:\pdf2\out>convert -debug configure 1.ps 1.tiff
2012-01-11T14:55:38-05:00 0:00.000 0.000u 6.7.4 Configure convert.exe[188]: util
ity.c/ExpandFilenames/907/Configure
Command line: convert {-debug} {configure} {1.ps} {1.tiff}
2012-01-11T14:55:38-05:00 0:00.015 0.000u 6.7.4 Configure convert.exe[188]: nt-b
ase.c/NTRegistryKeyLookup/1659/Configure
SOFTWARE\ImageMagick\6.7.4\Q:16
2012-01-11T14:55:38-05:00 0:00.015 0.000u 6.7.4 Configure convert.exe[188]: nt-b
ase.c/NTRegistryKeyLookup/1659/Configure
SOFTWARE\ImageMagick\6.7.4\Q:16
2012-01-11T14:55:38-05:00 0:00.031 0.016u 6.7.4 Configure convert.exe[188]: conf
igure.c/GetConfigureOptions/564/Configure
Searching for configure file: "C:\Documents and Settings\domainuser1\.ma
gick\coder.xml"
2012-01-11T14:55:38-05:00 0:00.031 0.016u 6.7.4 Configure convert.exe[188]: conf
igure.c/GetConfigureOptions/564/Configure
Searching for configure file: "C:\Program Files\ImageMagick-6.7.4-Q16\coder.xm
l"
2012-01-11T14:55:38-05:00 0:00.047 0.016u 6.7.4 Configure convert.exe[188]: code
r.c/LoadCoderList/690/Configure
Loading coder configuration file "C:\Program Files\ImageMagick-6.7.4-Q16\coder
.xml" ...
2012-01-11T14:55:38-05:00 0:00.062 0.016u 6.7.4 Configure convert.exe[188]: nt-b
ase.c/NTRegistryKeyLookup/1659/Configure
SOFTWARE\ImageMagick\6.7.4\Q:16
2012-01-11T14:55:38-05:00 0:00.062 0.016u 6.7.4 Configure convert.exe[188]: nt-b
ase.c/NTRegistryKeyLookup/1659/Configure
SOFTWARE\ImageMagick\6.7.4\Q:16
2012-01-11T14:55:38-05:00 0:00.062 0.016u 6.7.4 Configure convert.exe[188]: nt-b
ase.c/NTRegistryKeyLookup/1659/Configure
SOFTWARE\ImageMagick\6.7.4\Q:16
2012-01-11T14:55:38-05:00 0:00.078 0.031u 6.7.4 Configure convert.exe[188]: loca
le.c/LoadLocaleList/1092/Configure
Loading locale configure file "C:\Program Files\ImageMagick-6.7.4-Q16\locale.x
ml" ...
2012-01-11T14:55:38-05:00 0:00.078 0.031u 6.7.4 Configure convert.exe[188]: loca
le.c/LoadLocaleList/1092/Configure
Loading locale configure file "locale.xml" ...
2012-01-11T14:55:38-05:00 0:00.093 0.031u 6.7.4 Configure convert.exe[188]: nt-b
ase.c/NTRegistryKeyLookup/1659/Configure
SOFTWARE\ImageMagick\6.7.4\Q:16
2012-01-11T14:55:38-05:00 0:00.093 0.031u 6.7.4 Configure convert.exe[188]: nt-b
ase.c/NTRegistryKeyLookup/1659/Configure
SOFTWARE\ImageMagick\6.7.4\Q:16
2012-01-11T14:55:38-05:00 0:00.109 0.031u 6.7.4 Configure convert.exe[188]: loca
le.c/LoadLocaleList/1092/Configure
Loading locale configure file "C:\Program Files\ImageMagick-6.7.4-Q16\english.
xml" ...
2012-01-11T14:55:38-05:00 0:00.109 0.031u 6.7.4 Configure convert.exe[188]: loca
le.c/LoadLocaleList/1092/Configure
Loading locale configure file "english.xml" ...
2012-01-11T14:55:38-05:00 0:00.125 0.047u 6.7.4 Configure convert.exe[188]: nt-b
ase.c/NTRegistryKeyLookup/1659/Configure
SOFTWARE\ImageMagick\6.7.4\Q:16
2012-01-11T14:55:38-05:00 0:00.140 0.063u 6.7.4 Configure convert.exe[188]: nt-b
ase.c/NTRegistryKeyLookup/1659/Configure
SOFTWARE\ImageMagick\6.7.4\Q:16
2012-01-11T14:55:38-05:00 0:00.156 0.063u 6.7.4 Configure convert.exe[188]: nt-b
ase.c/NTRegistryKeyLookup/1659/Configure
SOFTWARE\ImageMagick\6.7.4\Q:16
2012-01-11T14:55:38-05:00 0:00.156 0.063u 6.7.4 Configure convert.exe[188]: nt-b
ase.c/NTRegistryKeyLookup/1659/Configure
SOFTWARE\ImageMagick\6.7.4\Q:16
2012-01-11T14:55:38-05:00 0:00.156 0.063u 6.7.4 Configure convert.exe[188]: conf
igure.c/GetConfigureOptions/564/Configure
Searching for configure file: "C:\Documents and Settings\domainuser1\.ma
gick\magic.xml"
2012-01-11T14:55:38-05:00 0:00.156 0.063u 6.7.4 Configure convert.exe[188]: conf
igure.c/GetConfigureOptions/564/Configure
Searching for configure file: "C:\Program Files\ImageMagick-6.7.4-Q16\magic.xm
l"
2012-01-11T14:55:38-05:00 0:00.172 0.078u 6.7.4 Configure convert.exe[188]: magi
c.c/LoadMagicList/679/Configure
Loading magic configure file "C:\Program Files\ImageMagick-6.7.4-Q16\magic.xml
" ...
2012-01-11T14:55:38-05:00 0:00.187 0.078u 6.7.4 Configure convert.exe[188]: nt-b
ase.c/NTRegistryKeyLookup/1659/Configure
SOFTWARE\ImageMagick\6.7.4\Q:16
2012-01-11T14:55:38-05:00 0:00.187 0.078u 6.7.4 Configure convert.exe[188]: nt-b
ase.c/NTRegistryKeyLookup/1659/Configure
SOFTWARE\ImageMagick\6.7.4\Q:16
2012-01-11T14:55:38-05:00 0:00.203 0.094u 6.7.4 Configure convert.exe[188]: nt-b
ase.c/NTRegistryKeyLookup/1659/Configure
SOFTWARE\ImageMagick\6.7.4\Q:16
2012-01-11T14:55:38-05:00 0:00.203 0.094u 6.7.4 Configure convert.exe[188]: nt-b
ase.c/NTRegistryKeyLookup/1659/Configure
SOFTWARE\ImageMagick\6.7.4\Q:16
2012-01-11T14:55:38-05:00 0:00.218 0.094u 6.7.4 Configure convert.exe[188]: conf
igure.c/GetConfigureOptions/564/Configure
Searching for configure file: "C:\Documents and Settings\domainuser1\.ma
gick\delegates.xml"
2012-01-11T14:55:38-05:00 0:00.234 0.094u 6.7.4 Configure convert.exe[188]: conf
igure.c/GetConfigureOptions/564/Configure
Searching for configure file: "C:\Program Files\ImageMagick-6.7.4-Q16\delegate
s.xml"
2012-01-11T14:55:38-05:00 0:00.234 0.094u 6.7.4 Configure convert.exe[188]: dele
gate.c/LoadDelegateList/1221/Configure
Loading delegate configuration file "C:\Program Files\ImageMagick-6.7.4-Q16\de
legates.xml" ...
2012-01-11T14:55:38-05:00 0:00.250 0.094u 6.7.4 Configure convert.exe[188]: nt-b
ase.c/NTLocateGhostscript/1010/Configure
Ghostscript (GPL Ghostscript) version 9.02
2012-01-11T14:55:38-05:00 0:00.265 0.109u 6.7.4 Configure convert.exe[188]: nt-b
ase.c/NTGhostscriptGetString/1065/Configure
registry: "HKEY_CURRENT_USER\SOFTWARE\GPL Ghostscript\9.02\GS_DLL" (failed)
2012-01-11T14:55:38-05:00 0:00.281 0.109u 6.7.4 Configure convert.exe[188]: nt-b
ase.c/NTGhostscriptGetString/1061/Configure
registry: "HKEY_LOCAL_MACHINE\SOFTWARE\GPL Ghostscript\9.02\GS_DLL"="C:\Progra
m Files\gs\gs9.02\bin\gsdll32.dll"
convert.exe: no decode delegate for this image format `1.ps' @ error/constitute.
c/ReadImage/532.
convert.exe: missing an image filename `1.tiff' @ error/convert.c/ConvertImageCo
mmand/3016.
User avatar
whugemann
Posts: 289
Joined: 2011-03-28T07:11:31-07:00
Authentication code: 8675308
Location: Münster, Germany 52°N,7.6°E

Re: Domain user vs Local user

Post by whugemann »

When converting PS and PDF files, IM relies on Ghostscript. I believe that the GS installation path is looked up in the registry at runtime, see http://www.imagemagick.org/Usage/windows/#IM_setup. It seems like you get the wrong path when working remotely. As a start, I would try to invoke GS alone in a CMD box and see it that functions. Check Delegates.xml if you don't know about the command line parameters to use. Please keep in mind that IM will generate a pure raster PDF via Convert.
Wolfgang Hugemann
danielproulx
Posts: 2
Joined: 2012-01-11T13:01:07-07:00
Authentication code: 8675308

Re: Domain user vs Local user

Post by danielproulx »

Thanks for your reply and your web page on batch files

GS was unable to be invoked from the command line so I added the path to fix that.

I can run a GS convert on a file now but ImageMAgick still gives me issues.

BTW it doesnt matter which formats I use in the command line they all come back with the same problem.

no decode delegate and missing image file name
Post Reply