Conversion of EPS to JPG file generates zero byte file
Conversion of EPS to JPG file generates zero byte file
Hi,
I have tried converting EPS file to jpg file. But I am getting a zero byte jpg file.
Please find the eps files in the following Links:
https://www.dropbox.com/s/tzo95h9thljmz ... onsSet.eps
https://www.dropbox.com/s/bmnqe02ettub9 ... sSet_1.eps
https://www.dropbox.com/s/gx9t5gplt6ehb ... e-file.eps
https://www.dropbox.com/s/q6nv7rd86shfh ... _icons.eps
https://www.dropbox.com/s/zcg6328use4tb ... sion_1.eps
https://www.dropbox.com/s/9kbj1wt6dcc8q ... 0Icons.eps
ImageMagick Version: 6.8.7-5
I have tried converting EPS file to jpg file. But I am getting a zero byte jpg file.
Please find the eps files in the following Links:
https://www.dropbox.com/s/tzo95h9thljmz ... onsSet.eps
https://www.dropbox.com/s/bmnqe02ettub9 ... sSet_1.eps
https://www.dropbox.com/s/gx9t5gplt6ehb ... e-file.eps
https://www.dropbox.com/s/q6nv7rd86shfh ... _icons.eps
https://www.dropbox.com/s/zcg6328use4tb ... sion_1.eps
https://www.dropbox.com/s/9kbj1wt6dcc8q ... 0Icons.eps
ImageMagick Version: 6.8.7-5
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: Conversion of EPS to JPG file generates zero byte file
Your eps files are cmyk and need to be converted to sRGB. Try
convert -colorspace sRGB VectorWebconsSet.eps VectorWebconsSet.jpg
It works for me on IM 6.8.8.2 Q16 Mac OSX.
If that fails, then be sure you have Ghostscript installed.
convert -version
should list the delegates, unless you have too old a version of IM.
convert -colorspace sRGB VectorWebconsSet.eps VectorWebconsSet.jpg
It works for me on IM 6.8.8.2 Q16 Mac OSX.
If that fails, then be sure you have Ghostscript installed.
convert -version
should list the delegates, unless you have too old a version of IM.
Re: Conversion of EPS to JPG file generates zero byte file
Thanks for the reply.
I have tried plain convert command for converting EPS file to JPG file. In this case also the output is same.
Convert VectorWebconsSet.eps VectorWebconsSet.jpg
Command: convert -version
Version: ImageMagick 6.8.7-5 Q16 x86_64 2013-11-07 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2013 ImageMagick Studio LLC
Features: DPC OpenMP
Delegates: bzlib cairo djvu fftw fontconfig freetype gslib jng jp2 jpeg lcms lqr ltdl lzma openexr png ps rsvg tiff webp wmf x xml zlib
Ghost Script Version:
Command: gs -v
GPL Ghostscript 8.70 (2009-07-31)
Copyright (C) 2009 Artifex Software, Inc. All rights reserved.
I have tried plain convert command for converting EPS file to JPG file. In this case also the output is same.
Convert VectorWebconsSet.eps VectorWebconsSet.jpg
Command: convert -version
Version: ImageMagick 6.8.7-5 Q16 x86_64 2013-11-07 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2013 ImageMagick Studio LLC
Features: DPC OpenMP
Delegates: bzlib cairo djvu fftw fontconfig freetype gslib jng jp2 jpeg lcms lqr ltdl lzma openexr png ps rsvg tiff webp wmf x xml zlib
Ghost Script Version:
Command: gs -v
GPL Ghostscript 8.70 (2009-07-31)
Copyright (C) 2009 Artifex Software, Inc. All rights reserved.
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: Conversion of EPS to JPG file generates zero byte file
Again your eps files are CMYK. You need to convert to sRGB jpg. Many viewers cannot display cmyk jpg properly.
In IM 6.8.8.3 Q16 Mac OSX Snow Leopard with gs 9.06, the following works fine for me.
convert -colorspace sRGB VectorWebconsSet.eps VectorWebconsSet.jpg
or use profiles.
Perhaps you need to upgrade your gslib (ghostscript)
In IM 6.8.8.3 Q16 Mac OSX Snow Leopard with gs 9.06, the following works fine for me.
convert -colorspace sRGB VectorWebconsSet.eps VectorWebconsSet.jpg
or use profiles.
Perhaps you need to upgrade your gslib (ghostscript)
Re: Conversion of EPS to JPG file generates zero byte file
I have tried the following command as you suggested. I am not able to produce JPG file have size greater than 0 bytes.
convert -colorspace sRGB VectorWebconsSet.eps VectorWebconsSet.jpg
I am using Linux Machine and Its release is 2.6.32-279.9.1.el6.x86_64
Might there be any other reason for this strange behavior...........
convert -colorspace sRGB VectorWebconsSet.eps VectorWebconsSet.jpg
I am using Linux Machine and Its release is 2.6.32-279.9.1.el6.x86_64
Might there be any other reason for this strange behavior...........
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: Conversion of EPS to JPG file generates zero byte file
Carter J wrote:I have tried the following command as you suggested. I am not able to produce JPG file have size greater than 0 bytes.
convert -colorspace sRGB VectorWebconsSet.eps VectorWebconsSet.jpg
I am using Linux Machine and Its release is 2.6.32-279.9.1.el6.x86_64
Might there be any other reason for this strange behavior...........
I suggest you upgrade either or both IM or Ghostscript. Perhaps IM had a bug or is mis-configured or GS is too old.
Re: Conversion of EPS to JPG file generates zero byte file
Hi,
We have upgraded both ImageMagick and Ghostscript and still facing the same issue
Version: ImageMagick 6.8.8-7 Q16 x86_64 2014-02-17 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2014 ImageMagick Studio LLC
Features: DPC Modules OpenMP
Delegates: bzlib cairo djvu fftw fontconfig freetype fpx gslib jng jpeg lcms lqr ltdl lzma openexr png ps rsvg tiff webp wmf x xml zlib
$ gs -v
GPL Ghostscript 9.10 (2013-08-30)
Copyright (C) 2013 Artifex Software, Inc. All rights reserved.
Any insight?
We have upgraded both ImageMagick and Ghostscript and still facing the same issue
Version: ImageMagick 6.8.8-7 Q16 x86_64 2014-02-17 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2014 ImageMagick Studio LLC
Features: DPC Modules OpenMP
Delegates: bzlib cairo djvu fftw fontconfig freetype fpx gslib jng jpeg lcms lqr ltdl lzma openexr png ps rsvg tiff webp wmf x xml zlib
$ gs -v
GPL Ghostscript 9.10 (2013-08-30)
Copyright (C) 2013 Artifex Software, Inc. All rights reserved.
Any insight?
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: Conversion of EPS to JPG file generates zero byte file
Is your libjpeg up to date?
If it is and you are still having trouble, then check to be sure you do not have multiple versions of IM installed. If that is not the case, post a link to one of your troublesome eps files so others can test with it. You can upload to dropbox.com (public folder) and put a link here.
If it is and you are still having trouble, then check to be sure you do not have multiple versions of IM installed. If that is not the case, post a link to one of your troublesome eps files so others can test with it. You can upload to dropbox.com (public folder) and put a link here.
Re: Conversion of EPS to JPG file generates zero byte file
Hi fmw42,
The libjpeg version is libjpeg.so.62.0.0.
And We have only one version of ImageMagick on our machine and the version of the IM is:
convert -version
Version: ImageMagick 6.8.8-7 Q16 x86_64 2014-02-17 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2014 ImageMagick Studio LLC
Features: DPC Modules OpenMP
Delegates: bzlib cairo djvu fftw fontconfig freetype fpx gslib jng jpeg lcms lqr ltdl lzma openexr png ps rsvg tiff webp wmf x xml zlib
Is there any other reason of this issue????
Initially we have installed 6.5.4, Later we have upgraded the version to 6.8.7-5 and now we are using the version 6.8.8-7.
And how can we know multiple versions of IM installed?????
Thanks in advance.
Regards,
Carter J
The libjpeg version is libjpeg.so.62.0.0.
And We have only one version of ImageMagick on our machine and the version of the IM is:
convert -version
Version: ImageMagick 6.8.8-7 Q16 x86_64 2014-02-17 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2014 ImageMagick Studio LLC
Features: DPC Modules OpenMP
Delegates: bzlib cairo djvu fftw fontconfig freetype fpx gslib jng jpeg lcms lqr ltdl lzma openexr png ps rsvg tiff webp wmf x xml zlib
Is there any other reason of this issue????
Initially we have installed 6.5.4, Later we have upgraded the version to 6.8.7-5 and now we are using the version 6.8.8-7.
And how can we know multiple versions of IM installed?????
Thanks in advance.
Regards,
Carter J
Re: Conversion of EPS to JPG file generates zero byte file
Working here in a linux, PClinuxOS 32 bit, IM 6.8.0 , Ghostscript 9.06
as this screenshot: http://i.imgur.com/CkyQIHY.jpg
Might be a 64 bit libraries issue.
as this screenshot: http://i.imgur.com/CkyQIHY.jpg
Might be a 64 bit libraries issue.
-
- Posts: 12159
- Joined: 2010-01-23T23:01:33-07:00
- Authentication code: 1151
- Location: England, UK
Re: Conversion of EPS to JPG file generates zero byte file
The first PDF in the OP converts fine for me, 64-bit IM v6.8.9-5 on Windows 8.1. (IM no longer tells me the GS version. Dunno why.)
snibgo's IM pages: im.snibgo.com
Re: Conversion of EPS to JPG file generates zero byte file
I have upgraded my IM to 6.8.9-7 version and even updated my GhostScript version to 9.10
Then also I am facing same issue. Conversion of EPS to JPG generating zero byte file.
@snibgo & @fmw42, For Each upgrade of will the libjpeg will update?????????
ls -l libjpeg*
lrwxrwxrwx 1 root root 17 Mar 21 09:25 libjpeg.so -> libjpeg.so.62.0.0
lrwxrwxrwx 1 root root 17 Mar 21 09:25 libjpeg.so.62 -> libjpeg.so.62.0.0
-rwxr-xr-x 1 root root 265280 Nov 27 2013 libjpeg.so.62.0.0
If it is not the latest version, then please let me know the latest version of libjpeg file.
Then also I am facing same issue. Conversion of EPS to JPG generating zero byte file.
@snibgo & @fmw42, For Each upgrade of will the libjpeg will update?????????
ls -l libjpeg*
lrwxrwxrwx 1 root root 17 Mar 21 09:25 libjpeg.so -> libjpeg.so.62.0.0
lrwxrwxrwx 1 root root 17 Mar 21 09:25 libjpeg.so.62 -> libjpeg.so.62.0.0
-rwxr-xr-x 1 root root 265280 Nov 27 2013 libjpeg.so.62.0.0
If it is not the latest version, then please let me know the latest version of libjpeg file.
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: Conversion of EPS to JPG file generates zero byte file
libjpeg 62 is old. I am using 90. See if upgrading your libjpeg helps.
Re: Conversion of EPS to JPG file generates zero byte file
I do not think the linux system has caught up to version 90 yet
The base libjpeg.so.62 is usually a symlink to the executable. In PClinuxOS this is libjpeg.so.62.1.0.
Is this the most recent package? I do not know but Debian experimental is on that version.
screenshot http://i.imgur.com/iia7S1i.jpg
I think if I was having these problems I would be contacting the maintainers of whichever distro it is.
The base libjpeg.so.62 is usually a symlink to the executable. In PClinuxOS this is libjpeg.so.62.1.0.
Is this the most recent package? I do not know but Debian experimental is on that version.
screenshot http://i.imgur.com/iia7S1i.jpg
I think if I was having these problems I would be contacting the maintainers of whichever distro it is.