I have tried with
Code: Select all
identify -density "%wx%h" image.jpg
Code: Select all
image.jpg JPEG 1536x2048 1536x2048+0+0 DirectClass 6e+02kb
But I want the "density" not the "format", what can I do?
Code: Select all
identify -density "%wx%h" image.jpg
Code: Select all
image.jpg JPEG 1536x2048 1536x2048+0+0 DirectClass 6e+02kb
Code: Select all
identify -format "%x x %y" image.jpg