Dear list, is there a way to automatize converting pictures to pdf files in which there is no additional white space around the picture?
I've been doing this manually for a while using the display interface and manually setting the pdf page size to the dimensions of the picture when saving, but this is tedious. I've tried to do it automatically from the shell using a script like this #!/bin/tcsh convert $1 -resize `identify -format "%wx%h" $1` $2 however, specifying the desired width and height for the output pdf file this way yields different results than when setting the same width and height using display. The final result has a smaller size, see below: 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 How do I have to set the size to end up with a pdf file that has the intended dimensions? Any help would be greatly appreciated! Antje Schweitzer -- Antje Schweitzer IMS Uni Stuttgart 0711-685 81376 http://www.ims.uni-stuttgart.de/~schweitz _______________________________________________ Magick-users mailing list Magick-users@imagemagick.org http://studio.imagemagick.org/mailman/listinfo/magick-users