Problem converting EPS to JPEG
Posted: 2010-01-22T03:44:56-07:00
Hi there,
I'm currently trying to convert some EPS files to JPEG format. Since some of them can't be converted using the default installation of ImageMagick (6.3.5) I wanted to compile it on my own using 6.5.9. During compilation and installation no errors occured, just "make check" threw some errors regarding MPEG and MOV which I have no use for.
When trying to convert the images I'm getting errors like this:
Well after reading tons of webpages and thread I wasn't able to find a solution so I'm asking you to help me.
Output of "convert -list configure"
I'm not sure if "DELEGATES" lists everything I need for EPS conversion, maybe something is missing here? I got the "configure" from a third party wegpage so there are some formats listed which I actually doen't need so it's no problem that those delegates are not listed. Or maybe the whole "configure" is wrong?
On the other side "convert -list format" shows me that EPS should be readable and writable as well as JPEG.
Calling "convert with "-debug All" it shows me the following
Thank you for your patience and replies 
Sincerley,
BadSpencer
I'm currently trying to convert some EPS files to JPEG format. Since some of them can't be converted using the default installation of ImageMagick (6.3.5) I wanted to compile it on my own using 6.5.9. During compilation and installation no errors occured, just "make check" threw some errors regarding MPEG and MOV which I have no use for.
When trying to convert the images I'm getting errors like this:
Code: Select all
user:/home/user/Graphics # /usr/local/imagemagick/bin/convert -density 600 -profile profiles/USWebCoatedSWOP.icc -profile profiles/AdobeRGB1998.icc -colorspace sRGB -scale 400x400 00019789_0.eps thumb_new/00019789_0.jpg
convert: no decode delegate for this image format `00019789_0.eps' @ constitute.c/ReadImage/532.
convert: missing an image filename `thumb_new/00019789_0.jpg' @ convert.c/ConvertImageCommand/2849.
Output of "convert -list configure"
Code: Select all
Name Value
-------------------------------------------------------------------------------
CC gcc -std=gnu99
CFLAGS -g -O2 -Wall -W -pthread
CONFIGURE ./configure '--prefix=/usr/local/imagemagick-6.5.9' '--with-bzlib' '--with-autotrace' '--with-fontconfig' '--with-freetype' '--with-jpeg' '--with-jp2' '--with-lcms' '--with-png' '--with-tiff' '--with-wmf' '--with-x11' '--with-xml' '--with-zlib' '--enable-shared'
COPYRIGHT Copyright (C) 1999-2010 ImageMagick Studio LLC
CPPFLAGS -I/usr/local/imagemagick-5.6.9/include/ImageMagick
CXX g++
CXXFLAGS -g -O2 -Wall -W -pthread
DEFS -DHAVE_CONFIG_H
DELEGATES bzlib freetype jpeg jp2 xml zlib
DISTCHECK_CONFIG_FLAGS --disable-deprecated --with-quantum-depth=16 --with-umem=no --with-gslib=no --with-fontpath= --with-rsvg=no
EXEC-PREFIX /usr/local/imagemagick-6.5.9
HOST x86_64-unknown-linux-gnu
LDFLAGS -L/usr/local/imagemagick-6.5.9/lib
LIB_VERSION 0x659
LIB_VERSION_NUMBER 6,5,9,0
LIBS -lMagickCore -lfreetype -ljasper -ljpeg -lbz2 -lxml2 -lz -lm -lpthread
NAME ImageMagick
PCFLAGS
PREFIX /usr/local/imagemagick-6.5.9
QuantumDepth 16
RELEASE_DATE 2010-01-22
VERSION 6.5.9
WEBSITE http://www.imagemagick.org
I'm not sure if "DELEGATES" lists everything I need for EPS conversion, maybe something is missing here? I got the "configure" from a third party wegpage so there are some formats listed which I actually doen't need so it's no problem that those delegates are not listed. Or maybe the whole "configure" is wrong?
On the other side "convert -list format" shows me that EPS should be readable and writable as well as JPEG.
Code: Select all
Format Module Mode Description
-------------------------------------------------------------------------------
...
EPS PS rw- Encapsulated PostScript
...
JPEG* JPEG rw- Joint Photographic Experts Group JFIF format (62)
JPG* JPEG rw- Joint Photographic Experts Group JFIF format (62)
...
Code: Select all
2010-01-22T11:39:57+01:00 0:00.000 0.000u 6.5.9 Configure convert[30012]: utility.c/ExpandFilenames/871/Configure
Command line: /usr/local/imagemagick/bin/convert {-debug} {All} {-density} {600} {-profile} {profiles/USWebCoatedSWOP.icc} {-profile} {profiles/AdobeRGB1998.icc} {-colorspace} {sRGB} {-scale} {400x400} {00019789_0.eps} {thumb_new/00019789_0.jpg}
2010-01-22T11:39:57+01:00 0:00.010 0.000u 6.5.9 Policy convert[30012]: policy.c/IsRightsAuthorized/485/Policy
Domain: Path; rights=Read; pattern="00019789_0.eps" ...
2010-01-22T11:39:57+01:00 0:00.010 0.000u 6.5.9 Blob convert[30012]: blob.c/OpenBlob/2409/Blob
read 3 magic header bytes
2010-01-22T11:39:57+01:00 0:00.010 0.000u 6.5.9 Cache convert[30012]: cache.c/DestroyPixelCache/1551/Cache
destroy
2010-01-22T11:39:57+01:00 0:00.010 0.000u 6.5.9 Configure convert[30012]: configure.c/GetConfigureOptions/564/Configure
Searching for configure file: "/usr/local/imagemagick-5.6.9/share/ImageMagick-6.5.9/config/magic.xml"
2010-01-22T11:39:57+01:00 0:00.010 0.000u 6.5.9 Configure convert[30012]: configure.c/GetConfigureOptions/564/Configure
Searching for configure file: "/usr/local/imagemagick-5.6.9/lib/ImageMagick-6.5.9/config/magic.xml"
2010-01-22T11:39:57+01:00 0:00.010 0.000u 6.5.9 Configure convert[30012]: configure.c/GetConfigureOptions/564/Configure
Searching for configure file: "/usr/local/imagemagick-5.6.9/share/doc/ImageMagick-6.5.9/magic.xml"
2010-01-22T11:39:57+01:00 0:00.010 0.000u 6.5.9 Configure convert[30012]: configure.c/GetConfigureOptions/564/Configure
Searching for configure file: "/usr/local/imagemagick-5.6.9/share/ImageMagick-6.5.9/magic.xml"
2010-01-22T11:39:57+01:00 0:00.010 0.000u 6.5.9 Configure convert[30012]: configure.c/GetConfigureOptions/564/Configure
Searching for configure file: "/root/.magick/magic.xml"
2010-01-22T11:39:57+01:00 0:00.010 0.000u 6.5.9 Configure convert[30012]: configure.c/GetConfigureOptions/564/Configure
Searching for configure file: "magic.xml"
2010-01-22T11:39:57+01:00 0:00.010 0.000u 6.5.9 Configure convert[30012]: magic.c/LoadMagicList/675/Configure
Loading magic configure file "/usr/local/imagemagick-5.6.9/share/ImageMagick-6.5.9/config/magic.xml" ...
2010-01-22T11:39:57+01:00 0:00.010 0.000u 6.5.9 Configure convert[30012]: configure.c/GetConfigureOptions/564/Configure
Searching for configure file: "/usr/local/imagemagick-5.6.9/share/ImageMagick-6.5.9/config/coder.xml"
2010-01-22T11:39:57+01:00 0:00.010 0.000u 6.5.9 Configure convert[30012]: configure.c/GetConfigureOptions/564/Configure
Searching for configure file: "/usr/local/imagemagick-5.6.9/lib/ImageMagick-6.5.9/config/coder.xml"
2010-01-22T11:39:57+01:00 0:00.010 0.000u 6.5.9 Configure convert[30012]: configure.c/GetConfigureOptions/564/Configure
Searching for configure file: "/usr/local/imagemagick-5.6.9/share/doc/ImageMagick-6.5.9/coder.xml"
2010-01-22T11:39:57+01:00 0:00.010 0.000u 6.5.9 Configure convert[30012]: configure.c/GetConfigureOptions/564/Configure
Searching for configure file: "/usr/local/imagemagick-5.6.9/share/ImageMagick-6.5.9/coder.xml"
2010-01-22T11:39:57+01:00 0:00.010 0.000u 6.5.9 Configure convert[30012]: configure.c/GetConfigureOptions/564/Configure
Searching for configure file: "/root/.magick/coder.xml"
2010-01-22T11:39:57+01:00 0:00.010 0.000u 6.5.9 Configure convert[30012]: configure.c/GetConfigureOptions/564/Configure
Searching for configure file: "coder.xml"
2010-01-22T11:39:57+01:00 0:00.010 0.000u 6.5.9 Configure convert[30012]: coder.c/LoadCoderList/691/Configure
Loading coder configuration file "/usr/local/imagemagick-5.6.9/share/ImageMagick-6.5.9/config/coder.xml" ...
2010-01-22T11:39:57+01:00 0:00.010 0.000u 6.5.9 Module convert[30012]: module.c/OpenModule/1215/Module
Searching for module "EPT" using filename "ept.la"
2010-01-22T11:39:57+01:00 0:00.010 0.000u 6.5.9 Module convert[30012]: module.c/GetMagickModulePath/551/Module
Searching for coder module file "ept.la" ...
2010-01-22T11:39:57+01:00 0:00.010 0.000u 6.5.9 Policy convert[30012]: policy.c/IsRightsAuthorized/485/Policy
Domain: Coder; rights=Read; pattern="EPT" ...
2010-01-22T11:39:57+01:00 0:00.010 0.000u 6.5.9 Module convert[30012]: module.c/OpenModule/1215/Module
Searching for module "EPT" using filename "ept.la"
2010-01-22T11:39:57+01:00 0:00.010 0.000u 6.5.9 Module convert[30012]: module.c/GetMagickModulePath/551/Module
Searching for coder module file "ept.la" ...
2010-01-22T11:39:57+01:00 0:00.010 0.000u 6.5.9 Configure convert[30012]: configure.c/GetConfigureOptions/564/Configure
Searching for configure file: "/usr/local/imagemagick-5.6.9/share/ImageMagick-6.5.9/config/delegates.xml"
2010-01-22T11:39:57+01:00 0:00.010 0.000u 6.5.9 Configure convert[30012]: configure.c/GetConfigureOptions/564/Configure
Searching for configure file: "/usr/local/imagemagick-5.6.9/lib/ImageMagick-6.5.9/config/delegates.xml"
2010-01-22T11:39:57+01:00 0:00.010 0.000u 6.5.9 Configure convert[30012]: configure.c/GetConfigureOptions/564/Configure
Searching for configure file: "/usr/local/imagemagick-5.6.9/share/doc/ImageMagick-6.5.9/delegates.xml"
2010-01-22T11:39:57+01:00 0:00.010 0.000u 6.5.9 Configure convert[30012]: configure.c/GetConfigureOptions/564/Configure
Searching for configure file: "/usr/local/imagemagick-5.6.9/share/ImageMagick-6.5.9/delegates.xml"
2010-01-22T11:39:57+01:00 0:00.010 0.000u 6.5.9 Configure convert[30012]: configure.c/GetConfigureOptions/564/Configure
Searching for configure file: "/root/.magick/delegates.xml"
2010-01-22T11:39:57+01:00 0:00.010 0.000u 6.5.9 Configure convert[30012]: configure.c/GetConfigureOptions/564/Configure
Searching for configure file: "delegates.xml"
2010-01-22T11:39:57+01:00 0:00.010 0.000u 6.5.9 Configure convert[30012]: delegate.c/LoadDelegateList/1222/Configure
Loading delegate configuration file "/usr/local/imagemagick-5.6.9/share/ImageMagick-6.5.9/config/delegates.xml" ...
2010-01-22T11:39:57+01:00 0:00.010 0.000u 6.5.9 Configure convert[30012]: delegate.c/LoadDelegateList/1222/Configure
Loading delegate configuration file "/usr/local/imagemagick-5.6.9/lib/ImageMagick-6.5.9/config/delegates.xml" ...
2010-01-22T11:39:57+01:00 0:00.010 0.000u 6.5.9 Locale convert[30012]: locale.c/GetLocaleOptions/468/Locale
Searching for locale file: "/usr/local/imagemagick-5.6.9/share/ImageMagick-6.5.9/config/locale.xml"
2010-01-22T11:39:57+01:00 0:00.010 0.000u 6.5.9 Locale convert[30012]: locale.c/GetLocaleOptions/468/Locale
Searching for locale file: "/usr/local/imagemagick-5.6.9/lib/ImageMagick-6.5.9/config/locale.xml"
2010-01-22T11:39:57+01:00 0:00.010 0.000u 6.5.9 Locale convert[30012]: locale.c/GetLocaleOptions/468/Locale
Searching for locale file: "/usr/local/imagemagick-5.6.9/share/doc/ImageMagick-6.5.9/locale.xml"
2010-01-22T11:39:57+01:00 0:00.010 0.000u 6.5.9 Locale convert[30012]: locale.c/GetLocaleOptions/468/Locale
Searching for locale file: "/usr/local/imagemagick-5.6.9/share/ImageMagick-6.5.9/locale.xml"
2010-01-22T11:39:57+01:00 0:00.010 0.000u 6.5.9 Locale convert[30012]: locale.c/GetLocaleOptions/468/Locale
Searching for locale file: "/root/.magick/locale.xml"
2010-01-22T11:39:57+01:00 0:00.010 0.000u 6.5.9 Locale convert[30012]: locale.c/GetLocaleOptions/468/Locale
Searching for locale file: "locale.xml"
2010-01-22T11:39:57+01:00 0:00.010 0.000u 6.5.9 Configure convert[30012]: locale.c/LoadLocaleList/769/Configure
Loading locale configure file "/usr/local/imagemagick-5.6.9/lib/ImageMagick-6.5.9/config/locale.xml" ...
2010-01-22T11:39:57+01:00 0:00.010 0.000u 6.5.9 Locale convert[30012]: locale.c/GetLocaleOptions/468/Locale
Searching for locale file: "/usr/local/imagemagick-5.6.9/share/ImageMagick-6.5.9/config/english.xml"
2010-01-22T11:39:57+01:00 0:00.010 0.000u 6.5.9 Locale convert[30012]: locale.c/GetLocaleOptions/468/Locale
Searching for locale file: "/usr/local/imagemagick-5.6.9/lib/ImageMagick-6.5.9/config/english.xml"
2010-01-22T11:39:57+01:00 0:00.010 0.000u 6.5.9 Locale convert[30012]: locale.c/GetLocaleOptions/468/Locale
Searching for locale file: "/usr/local/imagemagick-5.6.9/share/doc/ImageMagick-6.5.9/english.xml"
2010-01-22T11:39:57+01:00 0:00.010 0.000u 6.5.9 Locale convert[30012]: locale.c/GetLocaleOptions/468/Locale
Searching for locale file: "/usr/local/imagemagick-5.6.9/share/ImageMagick-6.5.9/english.xml"
2010-01-22T11:39:57+01:00 0:00.010 0.000u 6.5.9 Locale convert[30012]: locale.c/GetLocaleOptions/468/Locale
Searching for locale file: "/root/.magick/english.xml"
2010-01-22T11:39:57+01:00 0:00.010 0.000u 6.5.9 Locale convert[30012]: locale.c/GetLocaleOptions/468/Locale
Searching for locale file: "english.xml"
2010-01-22T11:39:57+01:00 0:00.010 0.000u 6.5.9 Configure convert[30012]: locale.c/LoadLocaleList/769/Configure
Loading locale configure file "/usr/local/imagemagick-5.6.9/lib/ImageMagick-6.5.9/config/english.xml" ...
2010-01-22T11:39:57+01:00 0:00.010 0.000u 6.5.9 Exception convert[30012]: constitute.c/ReadImage/532/Exception
no decode delegate for this image format `00019789_0.eps'
2010-01-22T11:39:57+01:00 0:00.010 0.000u 6.5.9 Exception convert[30012]: convert.c/ConvertImageCommand/2849/Exception
missing an image filename `thumb_new/00019789_0.jpg'
convert: no decode delegate for this image format `00019789_0.eps' @ constitute.c/ReadImage/532.
convert: missing an image filename `thumb_new/00019789_0.jpg' @ convert.c/ConvertImageCommand/2849.

Sincerley,
BadSpencer