I'm trying to determine the Pixel Aspect Ratio (PAR) of a given image and am trying to use Imagemagick:
magick.exe c:\tmp\foo.0001.tif -format "%[fx:w/h]\n" info:
This gives me the aspect ratio of the image, though not the Pixel Aspect Ratio. From some digging, it looks like ImageMagick may not be able to do this, but I don't have a definitive answer. Is this possible? Or is there another tool I can use?
In ImageMagick, this should do what you want:
magick input.tif -format "%[fx:resolution.x/resolution.y]" info:
Collected from the Internet
Please contact [email protected] to delete if infringement.
Comments