Announcement

Collapse
No announcement yet.

exr all channl to jpg command line

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • exr all channl to jpg command line

    how to write a command line Batch converting all channl of EXR to jpg?

  • #2
    Hi,

    Unfortunately there is no batch command that will export all EXR channles to separate JPG files. This could be done with specifying all EXR channels one by one.

    Here is one example for single channel export:
    C:\Program Files\Pdplayer 64>pdplayer64 C:\file0000.exr --image_layer="VRayLighting" --save_layer_as=c:\File.jpg --exit

    And another one for multiple channels export:
    C:\Program Files\Pdplayer 64>pdplayer64 C:\Users\Chaos\Desktop\file0000.exr --image_layer="VRayLighting" --save_layer_as=c:\File.jpg --image_layer="VRayDiffuseFilter" --save_layer_as=c:\File_2.jpg --exit
    Tashko Zashev | chaos.com
    Chaos Support Representative | contact us

    Comment


    • #3
      thanks
      but How do I get all the layer name in a EXR ?

      Comment


      • #4
        Originally posted by ladaojeifang View Post
        thanks
        but How do I get all the layer name in a EXR ?
        You can get them from the scene file, Maya or Max, but in case that if you don't have it, you can use Pdplayer > Expand into Layers option.
        Tashko Zashev | chaos.com
        Chaos Support Representative | contact us

        Comment


        • #5
          Originally posted by tashko.zashev View Post
          You can get them from the scene file, Maya or Max, but in case that if you don't have it, you can use Pdplayer > Expand into Layers option.
          command line how get the layer name?

          Comment


          • #6
            Unfortunately there is no way to list all EXR layers in the command line window.
            You can get them using the Pdplayer GUI or Nuke for an example.
            Tashko Zashev | chaos.com
            Chaos Support Representative | contact us

            Comment


            • #7
              You can use the exrheader tool which is part of the OpenEXR library.

              Best regards,
              Vlado
              I only act like I know everything, Rogers.

              Comment

              Working...
              X