I'm trying to create an image using imagemagick's "convert".
I have this command:
convert -size 720x480 xc:white -units pixelsperinch -density 81x72 foo.jpg
However, the image ends up with a 72x72 resolution, rather than 81x72.
identify -verbose foo.jpg Image: foo.jpg Format: JPEG (Joint Photographic Experts Group JFIF format) Class: PseudoClass Geometry: 720x480+0+0 Resolution: 72x72 Print size: 10x6.66667
When I run convert
with -resample 81x72
rather than -density
, I get the correct resolution. Why is this?