dpi or dots per centimeter
Posted: 2012-05-26T05:40:20-07:00
Hi
If I use a "identify -verbose img.png" I get:
...
Geometry: 3553x748+0+0
Resolution: 190x190
Print size: 18.7x3.93684
Units: PixelsPerInch
...
but if I use
identify -format "%x" img.png
I get:
74.8 PixelsPerCentimeter
What do I have to place after "-format" do get the "190" instead of the "74.8" ?
Greeting
Roland
If I use a "identify -verbose img.png" I get:
...
Geometry: 3553x748+0+0
Resolution: 190x190
Print size: 18.7x3.93684
Units: PixelsPerInch
...
but if I use
identify -format "%x" img.png
I get:
74.8 PixelsPerCentimeter
What do I have to place after "-format" do get the "190" instead of the "74.8" ?
Greeting
Roland