Convert eps to jpg with same size and density

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
12693065

Convert eps to jpg with same size and density

Post by 12693065 »

Hi all,

It's me again.
how can i convert a .eps file into .jpg with the original pixel and density

I have do sth like this, but the size and density change

convert a.eps a.jpg

a.eps have 333x662 and 96x96 dpi
a.jpg have 256x467 and 72x72 dpi

Many Thanks

btw, where can i get the full documentation of imagemagick
User avatar
anthony
Posts: 8883
Joined: 2004-05-31T19:27:03-07:00
Authentication code: 8675308
Location: Brisbane, Australia

Re: Convert eps to jpg with same size and density

Post by anthony »

EPS files do not have a density. You have to provide the density do IM to use to print it into a RASTER (array of pixels).

That however is not to say that individual parts of a EPS (raster image encoded into the format) can not have a density or resolution, just that the format itself does not.

The hardward printing EPS knows what density it is printing at, Im itself defaults to a standard screen resolution of 72 dpi, and that is the point.

That is YOU supply the resolution for ANY vector format. That is formats like EPS, PS, PDF, WMF, SVG, just to name a few, or IM will default to 72dpi.
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
Post Reply