Guy wrote:
Well, that lead to an interesting experiment. I used convert to -resample a set of images to 300dpi and redid the compile. They are all now too bod, many off the right side of the page. Then did the same but set to 72. They are still too big. Odd, from too small to too big.
I think you don't want -resample, but -density: # density given in dpi convert pic.jpg -density 72 pic-out.jpg convert -density keeps the pixel size and changes the display size by setting the density metadata. convert -resample keeps the display size and changes the pixel size by resampling at a certain density. (This explains why the picture remained the same too-large size when you resampled at 72 and 300 dpi.) Because you want to change the display size (and also because resampling is a lossy process), I think you want -density. As for the density value you want to use: Your picture is 547px wide, so if you want it to display it 3 inches wide you should set its density metadata to 547/3 = 183 dpi. Does this work? All the best, Sietse