Open LukeShortCloud opened 2 years ago
Dots per inch (DPI) == Pixels per inch (PPI) Dots per inch (DPI) != Pixel per centimeter (PPC)
Convert PPI:
convert -units PixelsPerInch -density <PPI> <IMAGE_SOURCE> <IMAGE_DESTINATION>
https://legacy.imagemagick.org/discourse-server/viewtopic.php?t=18241
JPEG (
*.jpg
) stores the density of an image as pixels per inch (PPI). PNG (*.png
) stores the density of an image as pixels per centimeter (PPC). The example below shows two images with the same PPI (just measured in different units).https://apple.stackexchange.com/questions/388933/using-imagemagicks-identify-to-determine-dpi-of-a-document