The OpenEXR utilities are pretty nice to have around, especially exrheader. 
Sounds like it might be worth a look for you.

exrheader /path/to/input/image.exr | grep compression



-Nathan



From: Rich Bobo 
Sent: Monday, May 21, 2012 11:53 AM
To: Nuke user discussion 
Subject: Re: [Nuke-users] How to check zip compression type for EXR images...?

Thanks, Nathan. Looks like more trouble than it's worth. I tried a down and 
dirty 'strings <path> | grep compress | more' and came up with two instances of 
the word "compression", but no other info. So, I guess I'll just use the "Does 
it take lots longer to cache?" testing method!  ;^) 

Rich


On May 21, 2012, at 2:37 PM, Nathan Rusch wrote:


  No, it isn’t.

  Depending on the context from which you need to check the compression scheme, 
if Python proves too unwieldy, you could also resort to 
parsing/pattern-matching the output of the exrheader executable.

  -Nathan



  From: Rich Bobo 
  Sent: Monday, May 21, 2012 11:32 AM
  To: Nuke user discussion 
  Subject: Re: [Nuke-users] How to check zip compression type for EXR images...?

  I found this reference and it looks like the OpenEXR module would have what I 
need, but I'm not sure if it's part of Nuke's Python installation or not...

  http://excamera.com/articles/26/doc/openexr.html 


  Rich

  On May 21, 2012, at 2:24 PM, Rich Bobo wrote:


    Hi, 

    Anyone know a quick way to check EXR images to see if they were saved as 
16-scanline zips or single-scanline zips?  ViewMetaData reveals nothing about 
the compression type. I'm sure there's a command line invocation that will show 
more - I just can't find it...

    Thanks for any help,

    Rich



    Rich Bobo 
    Senior VFX Compositor


    Mobile:  (248) 840-2665
    Web:  http://richbobo.com/

    _______________________________________________
    Nuke-users mailing list
    [email protected], http://forums.thefoundry.co.uk/
    http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users



------------------------------------------------------------------------------
  _______________________________________________
  Nuke-users mailing list
  [email protected], http://forums.thefoundry.co.uk/
  http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users
  _______________________________________________
  Nuke-users mailing list
  [email protected], http://forums.thefoundry.co.uk/
  http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users



--------------------------------------------------------------------------------
_______________________________________________
Nuke-users mailing list
[email protected], http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users
_______________________________________________
Nuke-users mailing list
[email protected], http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users

Reply via email to