Page 1 of 1

combining multiple options and a bump in quality

Posted: 2007-10-19T06:06:21-07:00
by afonit
my working command is

find /home/afonit/Desktop/ADP07 -name "*eps" -exec mogrify -format png *.eps {} \;

(I am still figuring out what the "{} \;" means but I got it from another post and it works)

When this operation runs - it works great, though the resulting png files are quite small - in their resolution and thus hard to read - visually decipher.

on http://www.imagemagick.org/Usage/basics/ it speaks of depth and quality, though it seems unclear which one will give the result of the resultant png having a higher dpi, and whether to place that before or after the mogrify command.

Re: combining multiple options and a bump in quality

Posted: 2007-10-19T06:29:12-07:00
by magick
Here is one way to increase the quality of the rendered Postscript/PDF:
  • convert -density 400 image.pdf -resize 25% image.png

Re: combining multiple options and a bump in quality

Posted: 2007-10-21T16:32:11-07:00
by anthony
As another point....
afonit wrote:my working command is
find /home/afonit/Desktop/ADP07 -name "*eps" -exec mogrify -format png *.eps {} \;
The above command is going to convert ANY eps image in the current directory once for EVERY eps image that find, finds!!!!!!

Remove the '*.eps' from the mogrify, as the find is placing the command it found where the '{}' marker is.

Re: combining multiple options and a bump in quality

Posted: 2007-10-22T04:35:33-07:00
by afonit
thank you for the tip

find /home/afonit/Desktop/ADP07 -name "*eps" -exec mogrify -format png {} \;

having removed the '*eps' at the end now gives me error free runs.

Now I am just onto the bumping up of the resolution in the outputted files.