This project has moved and is read-only. For the latest updates, please go here.

ResolutionUnits

Oct 30, 2014 at 3:33 AM
Can you please implement ResolutionUnits in MagickImageInfo?
And a hook to identify.exe's format function if it is readily available in GraphicsMagick already.
It would be tedious to implement each possible info, so just let the user get what they need.

My goal is to get the physical dimension of an image using:
Physical Width = MagickImageInfo's.Width / MagickImageInfo's.ResolutionX
but I can't tell if its inches or cm.

Thanks
Nov 1, 2014 at 12:33 PM
I added ResolutionUnits to MagickImage. The format function was not yet available in Magick++ in GraphicsMagick but it was added after I requested this feature. It will be available as FormatExpression in the next release of GraphicsMagick.NET.