have you looked in ffprobe?
its part of ffmpeg.
Alternatively, OIIO has a few command line or python binding I believe that 
would allow you to read the header.

Finally Cortex has also very good architecture to do just that:

import IECore
reader = IECore.Reader.create("path/to/image")

header = reader.readHeader()

from there the header object behave like a dict, so resolution is 
"displayWindow".

hope that helps!

cheers

Lucien_______________________________________________
Nuke-python mailing list
Nuke-python@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python

Reply via email to