Jan Torben Heuer on  wrote...
| Hi,
| 
| I'd like to convert several pdf's (vector images) to png with width=5cm and
| dpi=600. Is that possible?
| 
| $ convert pic1.pdf pic.png
| 
| works fine - but I have no clue how to define the parameters
| 
You will need to know how big a 5cm image is a 600 dpi.

600 pixels per inch at roughly 2.56 cm per inch times 5 cm
   => 600 / 2.56 * 5  => 1172 pixels  wide...

You will need to have a big enough initial density when reading to
produce at least 1200 pixel wide image (first -density)

  convert -density 600x600 pic1.pdf -resize 1172x \
          -density 600x600 pic.png


  Anthony Thyssen ( System Programmer )    <[EMAIL PROTECTED]>
 -----------------------------------------------------------------------------
   The difference between men and boys, is the price of their toys!
 -----------------------------------------------------------------------------
     Anthony's Home is his Castle     http://www.cit.gu.edu.au/~anthony/
_______________________________________________
Magick-users mailing list
[email protected]
http://studio.imagemagick.org/mailman/listinfo/magick-users

Reply via email to