Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Is there any possibility to open image with selected units parameter?
I tried to open image with selected units parameter:
But as a result, resolution didn't changed and units became 'pixelsperinch':
On other hand, I couldn't use convert formula from Centimiters to Inches because in resolution() function there is rounding of value - in my example it's 2.54 * 28 = 71.12 - far away from expected 72 dpi (link to commit Wand resolution ):
Example of test image:
Shell ImageMagick command 'identify -verbose path_to_image/Test_adobe.png' returns: