If you don't mind parsing the text output, that is the most direct way. You
could probably write a 4-line Python script that would just directly output the
resolution (ok, maybe 20 lines if you did all the proper error checking).
I'm not sure oiio-users even still exists. It never really caught on, people
just use oiio-dev right here.
-- lg
> On Oct 6, 2020, at 8:12 PM, Nicholas Yue <[email protected]> wrote:
>
> Hi,
>
> I am currently querying the image resolution in a given file by parsing the
> output from
> (1) oiiotool --info
> OR
> (2) iinfo
>
> Just wondering if there is a more direct way to query the resolution
> information via metadata tag/name or different option on the command line?
>
> Also, I have some really old email from the oiio-user lists, is that still
> active and should questions like the above be directed to that list ?
>
> Cheers
--
Larry Gritz
[email protected]
_______________________________________________
Oiio-dev mailing list
[email protected]
http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org