Tiff to Eps conversion, output file size is big compared to the file size from Photoshop generated eps file

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
HaroldWindt
Posts: 11
Joined: 2015-06-02T05:04:29-07:00
Authentication code: 6789

Tiff to Eps conversion, output file size is big compared to the file size from Photoshop generated eps file

Post by HaroldWindt »

Conversion from TIFF-CMYK -> EPS-RGB
Resolution change from 300 -> 120

We had a tiff file and we converted it to EPS using Imagemagick and Photoshop, the resultant output file has a huge variation of size difference on the file system.

Photoshop EPS file - 523992 bytes
ImageMagick EPS file - 15250211 bytes
Can any one explain why ImageMagick is generating a bigger size eps file when compared to Photoshop

Please find the below files
Photoshop generated EPS - https://www.dropbox.com/s/crib0h888hwpc ... 2.eps?dl=0
ImageMagick generated EPS - https://www.dropbox.com/s/jdp58brq056eo ... 2.eps?dl=0
MarkWalsh
Posts: 3
Joined: 2015-05-19T06:57:11-07:00
Authentication code: 6789

Re: Tiff to Eps conversion, output file size is big compared to the file size from Photoshop generated eps file

Post by MarkWalsh »

Is one 120 pixels per Inch and the other 120 pixels per Centimeter?
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: Tiff to Eps conversion, output file size is big compared to the file size from Photoshop generated eps file

Post by magick »

Save as EPS2 (or 3) rather than EPS (e.g. convert myimage.tiff eps2:myimage.eps).
HaroldWindt
Posts: 11
Joined: 2015-06-02T05:04:29-07:00
Authentication code: 6789

Re: Tiff to Eps conversion, output file size is big compared to the file size from Photoshop generated eps file

Post by HaroldWindt »

Sorry for the delayed response guys
MarkWalsh wrote:Is one 120 pixels per Inch and the other 120 pixels per Centimeter?
Both are PixelPerInch
magick wrote:Save as EPS2 (or 3) rather than EPS (e.g. convert myimage.tiff eps2:myimage.eps).
I had saved the image as eps2 and eps3, the size has drastically reduced.
Still its no where near to the EPS file generated by Photoshop

Photoshop EPS file ~ 500KB (the file can be found in the main post of this topic)
ImageMagick EPS2 file ~3.5MB https://www.dropbox.com/s/j6wrs1aqukfe8 ... 2.eps?dl=0
ImageMagick EPS3 file ~3.5MB https://www.dropbox.com/s/6q13r6twhswly ... 2.eps?dl=0

I tried doing an identify -verbose on the EPS file from photoshop and the eps2&eps3 file but couldn't find any significant differences to identify what's causing the files generated by ImageMagick to be much bigger.
Any idea what's causing this ?
snibgo
Posts: 12159
Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK

Re: Tiff to Eps conversion, output file size is big compared to the file size from Photoshop generated eps file

Post by snibgo »

The Photoshop version is compressed as JPEG. You can also do this in IM:

Code: Select all

convert EB_Photoshop_999G2.eps -compress jpeg -quality 10 eps2:a.eps
The filesize is 64,084 bytes, about 12% of the PS size (but horrible quality).

Converting images to and from JPG is not recommended, as pixels change with every save.
snibgo's IM pages: im.snibgo.com
Post Reply