Hi All-
I'm having a strange issue converting an EPS to a Gif using the following command:
convert -colorspace rgb Image.eps Image.gif
I get the following error:
convert: no decode delegate for this image format `/tmp/magick-XXLTucgJ'.
convert: Postscript delegate failed `/tmp/magick-XXC4LtcT': No such file or directory.
convert: hous089.eps: invalid TIFF directory; tags are not sorted in ascending order. `TIFFReadDirectory'.
I've seen this error in a few other posts but I can't seem to understand why this is occuring here.
Here is my config:
Path: /usr/local/lib/ImageMagick-6.3.9/config/configure.xml
Name Value
-------------------------------------------------------------------------------
CC gcc
CFLAGS -g -O2 -Wall -W -pthread
CONFIGURE ./configure
COPYRIGHT Copyright (C) 1999-2008 ImageMagick Studio LLC
CPPFLAGS -I/usr/local/include/ImageMagick
CXX g++
CXXFLAGS -g -O2 -Wall -W -pthread
DEFS -DHAVE_CONFIG_H
DELEGATES dps fontconfig freetype jpeg tiff x11 zlib
DISTCHECK_CONFIG_FLAGS --disable-deprecate --with-quantum-depth=16 --with-djvu=no --with-umem=no --with-fontpath= --with-lqr=no
EXEC-PREFIX /usr/local
HOST x86_64-unknown-linux-gnu
LDFLAGS -L/usr/local/lib -L/usr/X11R6/lib64 -L/usr/lib64 -Wl,--rpath -Wl,/usr/lib64 -lfreetype -lz
LIB_VERSION 0x639
LIB_VERSION_NUMBER 6,3,9,8
LIBS -lMagickCore -ltiff -lfreetype -ljpeg -lfontconfig -lXext -lSM -lICE -lX11 -lXt -lz -lm -lpthread
NAME ImageMagick
PCFLAGS
PREFIX /usr/local
QuantumDepth 16
RELEASE_DATE 05/23/08
VERSION 6.3.9
WEBSITE http://www.imagemagick.org
GS Config:
AFPL Ghostscript 8.54 (2006-05-17)
Copyright (C) 2005 artofcode LLC, Benicia, CA. All rights reserved.
Usage: gs [switches] [file1.ps file2.ps ...]
Most frequently used switches: (you can use # in place of =)
-dNOPAUSE no pause after page | -q `quiet', fewer messages
-g<width>x<height> page size in pixels | -r<res> pixels/inch resolution
-sDEVICE=<devname> select device | -dBATCH exit after last file
-sOutputFile=<file> select output file: - for stdout, |command for pipe,
embed %d or %ld for page #
Input formats: PostScript PostScriptLevel1 PostScriptLevel2 PostScriptLevel3 PDF
Default output device: x11
Available devices:
bbox bit bitcmyk bitrgb bj10e bj200 bjc600 bjc800 bmp16 bmp16m bmp256
bmp32b bmpgray bmpmono bmpsep1 bmpsep8 cdeskjet cdj550 cdjcolor cdjmono
cljet5 cljet5c deskjet devicen djet500 epswrite faxg3 faxg32d faxg4 ijs
jpeg jpeggray laserjet lj5gray lj5mono ljet2p ljet3 ljet3d ljet4 ljet4d
ljetplus nullpage pbm pbmraw pcx16 pcx24b pcx256 pcxcmyk pcxgray pcxmono
pdfwrite pgm pgmraw pgnm pgnmraw pj pjxl pjxl300 pkm pkmraw pksm pksmraw
png16 png16m png256 png48 pngalpha pnggray pngmono pnm pnmraw ppm ppmraw
ps2write psdcmyk psdrgb psgray psmono psrgb pswrite pxlcolor pxlmono
spotcmyk tiff12nc tiff24nc tiff32nc tiffcrle tiffg3 tiffg32d tiffg4
tiffgray tifflzw tiffpack tiffsep uniprint x11 x11alpha x11cmyk x11gray2
x11gray4 x11mono xcf
delegates.xml:
<delegatemap>
<delegate decode="autotrace" stealth="True" command=""autotrace" -output-format svg -output-file "%o
" "%i""/>
<delegate decode="browse" stealth="True" spawn="True" command=""htmlview" http://www.imagemagick.org/"/>
<delegate decode="cgm" thread-support="False" command=""ralcgm" -d ps -oC < "%i" > "
%o" 2> "%u""/>
<delegate decode="dng:decode" command=""ufraw-batch" --silent --wb=camera --black-point=auto --exposure=a
uto --create-id=also --out-type=ppm16 "--output=%u.pnm" "%i""/>
<delegate decode="edit" stealth="True" command=""xterm" -title "Edit Image Comment" -e vi "
;%o""/>
<delegate decode="eps" encode="pdf" mode="bi" command=""gs" -q -dQUIET -dPARANOIDSAFER -dBATCH -dNOPAUSE
-dNOPROMPT -dMaxBitmap=500000000 "-sDEVICE=pdfwrite" "-sOutputFile=%o" "-f%i""/>
<delegate decode="eps" encode="ps" mode="bi" command=""gs" -q -dQUIET -dPARANOIDSAFER -dBATCH -dNOPAUSE -
dNOPROMPT -dMaxBitmap=500000000 -dAlignToPixels=0 -dGridFitTT=0 "-sDEVICE=pswrite" "-sOutputFile=%o&qu
ot; "-f%i""/>
<delegate decode="fig" command=""fig2dev" -L ps "%i" "%o""/>
<delegate decode="gplt" command=""echo" "set size 1.25,0.62 set terminal postscript portrait col
or solid; set output "%o"; load "%i"" > "%u";"gnuplot" "%u"
"/>
<delegate decode="hdr" command=""ra_pfm" "%i" "%o""/>
<delegate decode="hpg" command=""hp2xx" -q -m eps -f `basename "%o"` "%i" mv -f `
basename "%o"` "%o""/>
<delegate decode="hpgl" command="if [ -e hp2xx -o -e /usr/bin/hp2xx ]; then hp2xx -q -m eps -f `basename "
%o"` "%i"; mv -f `basename "%o"` "%o"; else echo "You need to insta
ll hp2xx to use HPGL files with ImageMagick."; exit 1; fi"/>
<delegate decode="htm" command=""html2ps" -U -o "%o" "%i""/>
<delegate decode="html" command=""html2ps" -U -o "%o" "%i""/>
<delegate decode="https" command=""curl" -s -k -o "%o" "https:%M""/>
<delegate decode="ilbm" command=""ilbmtoppm" "%i" > "%o""/>
<delegate decode="man" command=""groff" -man -Tps "%i" > "%o""/>
<delegate decode="mpeg:decode" stealth="True" command=""mpeg2decode" -q -b "%i" -f -r -o3 "
;%u%%d""/>
<delegate decode="miff" encode="mpeg:encode" stealth="True" command=""mpeg2encode" "%o" "%
i""/>
<delegate decode="pcl:color" stealth="True" command=""pcl6" -dQUIET -dPARANOIDSAFER -dBATCH -dNOPAUSE -dN
OPROMPT -dMaxBitmap=500000000 -dAlignToPixels=0 -dGridFitTT=0 "-sDEVICE=ppmraw" -dTextAlphaBits=%u -dGraphi
csAlphaBits=%u "-r%s" %s "-sOutputFile=%s" "%s""/>
<delegate decode="pcl:cmyk" stealth="True" command=""pcl6" -dQUIET -dPARANOIDSAFER -dBATCH -dNOPAUSE -dNO
PROMPT -dMaxBitmap=500000000 -dAlignToPixels=0 -dGridFitTT=0 "-sDEVICE=bmpsep8" -dTextAlphaBits=%u -dGraphi
csAlphaBits=%u "-r%s" %s "-sOutputFile=%s" "%s""/>
<delegate decode="pcl:mono" stealth="True" command=""pcl6" -dQUIET -dPARANOIDSAFER -dBATCH -dNOPAUSE -dNO
PROMPT -dMaxBitmap=500000000 -dAlignToPixels=0 -dGridFitTT=0 "-sDEVICE=pbmraw" -dTextAlphaBits=%u -dGraphic
sAlphaBits=%u "-r%s" %s "-sOutputFile=%s" "%s""/>
<delegate decode="pdf" encode="eps" mode="bi" command=""gs" -q -dQUIET -dPARANOIDSAFER -dBATCH -dNOPAUSE
-dNOPROMPT -dMaxBitmap=500000000 -dAlignToPixels=0 -dGridFitTT=0 "-sDEVICE=epswrite" "-sOutputFile=%o&
quot; "-f%i""/>
<delegate decode="pdf" encode="ps" mode="bi" command=""gs" -q -dQUIET -dPARANOIDSAFER -dBATCH -dNOPAUSE -
dNOPROMPT -dMaxBitmap=500000000 -dAlignToPixels=0 -dGridFitTT=0 "-sDEVICE=pswrite" "-sOutputFile=%o&qu
ot; "-f%i""/>
<delegate decode="pic" command=""ra_pfm" "%i" "%o""/>
<delegate decode="pnm" encode="ilbm" mode="encode" command=""ppmtoilbm" -24if "%i" > "%
o""/>
<delegate decode="pnm" encode="launch" mode="encode" command=""gimp" "%i""/>
<delegate decode="pov" command=""povray" "+i%i" -D0 +o"%o" +fn%q +w%w +h%h +a -q9 -kf
i"%s" -kff"%n" "convert" -concatenate "%o*.png" "%o""/>
<delegate decode="ps" encode="eps" mode="bi" command=""gs" -q -dQUIET -dPARANOIDSAFER -dBATCH -dNOPAUSE -
dNOPROMPT -dMaxBitmap=500000000 -dAlignToPixels=0 -dGridFitTT=0 "-sDEVICE=epswrite" "-sOutputFile=%o&q
uot; "-f%i""/>
<delegate decode="ps" encode="pdf" mode="bi" command=""gs" -q -dQUIET -dPARANOIDSAFER -dBATCH -dNOPAUSE -
dNOPROMPT -dMaxBitmap=500000000 -dAlignToPixels=0 -dGridFitTT=0 "-sDEVICE=pdfwrite" "-sOutputFile=%o&q
uot; "-f%i""/>
<delegate decode="ps" encode="print" mode="encode" command="lpr "%i""/>
<delegate decode="ps:alpha" stealth="True" command=""gs" -q -dQUIET -dPARANOIDSAFER -dBATCH -dNOPAUSE -dN
OPROMPT -dMaxBitmap=500000000 -dAlignToPixels=0 -dGridFitTT=0 "-sDEVICE=pngalpha" -dTextAlphaBits=%u -dGrap
hicsAlphaBits=%u "-r%s" %s "-sOutputFile=%s" "-f%s" "-f%s""/>
<delegate decode="ps:cmyk" stealth="True" command=""gs" -q -dQUIET -dPARANOIDSAFER -dBATCH -dNOPAUSE -dNO
PROMPT -dMaxBitmap=500000000 -dAlignToPixels=0 -dGridFitTT=0 "-sDEVICE=bmpsep8" -dTextAlphaBits=%u -dGraphi
csAlphaBits=%u "-r%s" %s "-sOutputFile=%s" "-f%s" "-f%s""/>
<delegate decode="ps:color" stealth="True" command=""gs" -q -dQUIET -dPARANOIDSAFER -dBATCH -dNOPAUSE -dN
OPROMPT -dMaxBitmap=500000000 -dAlignToPixels=0 -dGridFitTT=0 "-sDEVICE=pngalpha" -dTextAlphaBits=%u -dGrap
hicsAlphaBits=%u "-r%s" %s "-sOutputFile=%s" "-f%s" "-f%s""/>
<delegate decode="ps:mono" stealth="True" command=""gs" -q -dQUIET -dPARANOIDSAFER -dBATCH -dNOPAUSE -dNO
PROMPT -dMaxBitmap=500000000 -dAlignToPixels=0 -dGridFitTT=0 "-sDEVICE=pnmraw" -dTextAlphaBits=%u -dGraphic
sAlphaBits=%u "-r%s" %s "-sOutputFile=%s" "-f%s" "-f%s""/>
<delegate decode="rad" command=""ra_pfm" "%i" "%o""/>
<delegate decode="rgba" encode="rle" mode="encode" command=""rawtorle" -o "%o" -v "%i"
;"/>
<delegate decode="scan" command=""scanimage" -d "%i" > "%o""/>
<delegate decode="miff" encode="show" stealth="True" spawn="True" command=""/usr/local/bin/display" -immu
table -delay 0 -window-group %[group] -title "%l of %f" "tmp:%i""/>
<delegate decode="shtml" command=""html2ps" -U -o "%o" "%i""/>
<delegate decode="svg" command=""wmf2eps" -o "%o" "%i""/>
<delegate decode="txt" encode="ps" mode="bi" command=""enscript" -o "%o" "%i""/>
<delegate decode="miff" encode="win" stealth="True" spawn="True" command=""/usr/local/bin/display" -immut
able -delay 0 -window-group %[group] -title "%l of %f" "tmp:%i""/>
<delegate decode="wmf" command=""wmf2eps" -o "%o" "%i""/>
<delegate decode="xps:color" stealth="True" command=""gxps" -dQUIET -dPARANOIDSAFER -dBATCH -dNOPAUSE -dN
OPROMPT -dMaxBitmap=500000000 -dAlignToPixels=0 -dGridFitTT=0 "-sDEVICE=ppmraw" -dTextAlphaBits=%u -dGraphi
csAlphaBits=%u "-r%s" %s "-sOutputFile=%s" "%s""/>
<delegate decode="xps:cmyk" stealth="True" command=""gxps" -dQUIET -dPARANOIDSAFER -dBATCH -dNOPAUSE -dNO
PROMPT -dMaxBitmap=500000000 -dAlignToPixels=0 -dGridFitTT=0 "-sDEVICE=bmpsep8" -dTextAlphaBits=%u -dGraphi
csAlphaBits=%u "-r%s" %s "-sOutputFile=%s" "%s""/>
<delegate decode="xps:mono" stealth="True" command=""gxps" -dQUIET -dPARANOIDSAFER -dBATCH -dNOPAUSE -dNO
PROMPT -dMaxBitmap=500000000 -dAlignToPixels=0 -dGridFitTT=0 "-sDEVICE=pbmraw" -dTextAlphaBits=%u -dGraphic
sAlphaBits=%u "-r%s" %s "-sOutputFile=%s" "%s""/>
</delegatemap>
Coverting EPS -> Gif - Strange TIFF Error
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: Coverting EPS -> Gif - Strange TIFF Error
DELEGATES dps fontconfig freetype jpeg tiff x11 zlib
I think you are missing the Ghostscript delegate that should be in the list as gs.
http://www.imagemagick.org/download/delegates/
I think you are missing the Ghostscript delegate that should be in the list as gs.
http://www.imagemagick.org/download/delegates/
Re: Coverting EPS -> Gif - Strange TIFF Error
Should gs show up there? I had GS 8.54 installed before I built Imagemagick.
The strange thing is if I use pngraw instead of pngalpha on this line:
<delegate decode="ps:alpha" stealth="True" command=""gs" -q -dQUIET -dPARANOIDSAFER -dBATCH -dNOPAUSE -dN
OPROMPT -dMaxBitmap=500000000 -dAlignToPixels=0 -dGridFitTT=0 "-sDEVICE=pngalpha" -dTextAlphaBits=%u -dGrap
hicsAlphaBits=%u "-r%s" %s "-sOutputFile=%s" "-f%s" "-f%s""/>
The conversion works but then I don't get the transparency.
The strange thing is if I use pngraw instead of pngalpha on this line:
<delegate decode="ps:alpha" stealth="True" command=""gs" -q -dQUIET -dPARANOIDSAFER -dBATCH -dNOPAUSE -dN
OPROMPT -dMaxBitmap=500000000 -dAlignToPixels=0 -dGridFitTT=0 "-sDEVICE=pngalpha" -dTextAlphaBits=%u -dGrap
hicsAlphaBits=%u "-r%s" %s "-sOutputFile=%s" "-f%s" "-f%s""/>
The conversion works but then I don't get the transparency.
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: Coverting EPS -> Gif - Strange TIFF Error
if you install(ed) Ghostscript it should show on your DELEGATES line from your configuration.
My configurations shows:
DELEGATES bzlib fontconfig freetype gs jpeg jp2 lcms lqr openexr png tiff x11 xml zlib
Note the freetype and the gs
So you need to reinstall GS
My configurations shows:
DELEGATES bzlib fontconfig freetype gs jpeg jp2 lcms lqr openexr png tiff x11 xml zlib
Note the freetype and the gs
So you need to reinstall GS