Converting images to a .tiff with specific DPI.
14 Apr 2022Some publications will request an image with a specific dots-per-inch, or DPI. You can do this conversion with ImageMagick:
convert -density 600 image1.png image1.tiff
With convert image1.png
to image1.tiff
with 600 DPI. More about the -density
flag and options from the ImageMagick docs.
Then I checked the result with exiftool; the X Resolution and Y Resolution fields should have the DPI specified in the conversion.
More TIL on this topic – compression.