Re: convert gif/png/... to pdf
Fred Weinhaus <[email protected]> Thu, 14 Jul 2011 09:31:33 -0700
| Newsgroups | gmane.comp.video.image-magick.user |
|---|---|
| Message-ID | <p06240801ca44c981a65a@[192.168.1.2]> |
PNG supports a virtual canvas. That may be the cause of the extra space. It can be removed by adding +repage after reading your input image. You can check for it from identify -verbose image or from string formats: %P, (%W and %H), %X, %Y see http://www.imagemagick.org/script/escape.php >sorry, should not have edited: > > > prompt> identify -format "%wx%h" vowels.png > > 959x842 > > prompt> convert vowels.png -size 959x842 vowels.pdf > > prompt> identify -format "%wx%h" vowels.pdf > > 1600-1200 > >... this should have been 1600x1200 (had had a typo in the format >command, - instead of x) >