EPS to raster (preferably tiff) conversion at a higher size

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
msdobrescu
Posts: 3
Joined: 2012-12-15T01:36:49-07:00
Authentication code: 6789

EPS to raster (preferably tiff) conversion at a higher size

Post by msdobrescu »

Hello,

I was able to stitch and convert rasters with imagemagick, but now, I need a vector processing.
I need to convert a EPS made in Illustrator 10 to tiff.
The artboard/document area is of 288x288 px.
I could do a conversion to 1200x1200 px tiff, but not more.
I need it to be of 6400x6400, but at that size it seems to be an upscaled bitmap, so it's not of the desired quality.
I have checked and the EPS has no rasters inside.
I have tried several solutions on the IM threads, but none worked.
What are the right parameters to convert?

Thank you.
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: EPS to raster (preferably tiff) conversion at a higher s

Post by fmw42 »

Try adding -density XX before reading in the eps image. That will make the resulting tiff larger. You can also use supersampling to improve the tiff by using a very large density and then resizing the image down to the size you want.

Typically

convert -density 288 vectorfile.eps -resize 25% image.tif

nominal density is 72, so 72*4=288 and thus we shrink the result by 1/4=25%


You will need to find the right density for you and the right resize factor.
msdobrescu
Posts: 3
Joined: 2012-12-15T01:36:49-07:00
Authentication code: 6789

Re: EPS to raster (preferably tiff) conversion at a higher s

Post by msdobrescu »

There is a problem, definitely.
There are squares well rendered and the remaining area looks like it is resized raster.
Could be an error in the ghostscript?
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: EPS to raster (preferably tiff) conversion at a higher s

Post by fmw42 »

I could do a conversion to 1200x1200 px tiff, but not more.
I need it to be of 6400x6400, but at that size it seems to be an upscaled bitmap, so it's not of the desired quality.
I do not understand. In one line you say you want 1200x1200 max, but then in the other line you say 6400x6400.

What output size and density do you want?

Can you provide a link to your eps file?
msdobrescu
Posts: 3
Joined: 2012-12-15T01:36:49-07:00
Authentication code: 6789

Re: EPS to raster (preferably tiff) conversion at a higher s

Post by msdobrescu »

I need it to be of 6400x6400.
I have done several tests.
Some work, some not.
Due to copyright issues, I can't post the eps file.
Last edited by msdobrescu on 2012-12-16T11:54:34-07:00, edited 1 time in total.
Bonzo
Posts: 2971
Joined: 2006-05-20T08:08:19-07:00
Location: Cambridge, England

Re: EPS to raster (preferably tiff) conversion at a higher s

Post by Bonzo »

Due to copyright issues, I can't pos the eps file.
Why not make another file that does not have a copyright problem and post that?
Post Reply