The -format %x %y which used to return the resolution & units (ie: 300 PixelsPerInch) was modified. from what I've seen on a few threads it seems this was done intentionally to allow for the use case where this values was not set in the native file. as of 8.6.8.10-Q16 (windows server 2003 R2, Service Pack 2 & Windows 7 Service Pack 1) the "Units" parmeter is no longer returned.
Without a %[units] option, the only remaining way of getting at this values is to use the "-verbose" option and parse the response for the "Units" parameter. It would be nice to be able to get at this data without having to read through everything returned with "-verbose"
thanks.
Suggestion: -format %[units] parameter
Re: Suggestion: -format %[units] parameter
We added a patch to the ImageMagick subversion trunk to support "units".