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)
>
_______________________________________________
Magick-users mailing list
Magick-users@imagemagick.org
http://studio.imagemagick.org/mailman/listinfo/magick-users

Reply via email to