Maxon Developers Maxon Developers
    • Documentation
      • Cinema 4D Python API
      • Cinema 4D C++ API
      • Cineware API
      • ZBrush Python API
      • ZBrush GoZ API
      • Code Examples on Github
    • Forum
    • Downloads
    • Support
      • Support Procedures
      • Registered Developer Program
      • Plugin IDs
      • Contact Us
    • Categories
      • Overview
      • News & Information
      • Cinema 4D SDK Support
      • Cineware SDK Support
      • ZBrush 4D SDK Support
      • Bugs
      • General Talk
    • Recent
    • Tags
    • Users
    • Login
    The Maxon SDK Team is currently short staffed due to the winter holidays. No forum support is being provided between 15/12/2025 and 5/1/2026. For details see Maxon SDK 2025 Winter Holidays.

    Saving EXR?

    Scheduled Pinned Locked Moved SDK Help
    4 Posts 0 Posters 320 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • H Offline
      Helper
      last edited by

      On 15/10/2015 at 06:40, xxxxxxxx wrote:

      User Information:
      Cinema 4D Version:   17 
      Platform:   Windows  ; Mac  ;  Mac OSX  ; 
      Language(s) :     C++  ;

      ---------
      Hi there,

      I'm looking for compression options on saving MultipassBitmap as EXR file. As ZIP, PIZ, ZIPS, etc... How can we set it?

      Thanks,
      A.

      1 Reply Last reply Reply Quote 0
      • H Offline
        Helper
        last edited by

        On 16/10/2015 at 03:51, xxxxxxxx wrote:

        Hi Ahmet,

        The BaseBitmap::Save() function has a data parameter, where you can pass additional configuration options.
        For EXR you pass a BaseContainer containing another BaseContainer at ID 0 with the actual settings.

        The second BaseContainer then contains the following settings:

        ID 0: Int32 value, the compression type (one from the list below)
        0 = NO_COMPRESSION
        1 = RLE_COMPRESSION
        2 = ZIPS_COMPRESSION
        3 = ZIP_COMPRESSION
        4 = PIZ_COMPRESSION
        5 = PXR24_COMPRESSION
        6 = B44_COMPRESSION
        7 = B44A_COMPRESSION

        ID 1: Boolean value, clamp to 16-Bit float

        There's also another thread showing about Setting the format options of an OpenEXR in the render settings.

        1 Reply Last reply Reply Quote 0
        • H Offline
          Helper
          last edited by

          On 16/10/2015 at 06:21, xxxxxxxx wrote:

          Originally posted by xxxxxxxx

          Hi Ahmet,
          The BaseBitmap::Save() function has a data parameter, where you can pass additional configuration options.
          For EXR you pass a BaseContainer containing another BaseContainer<span style="line-height: 16.8px;"> </span><span style="line-height: 16.8px;">at ID 0</span><span style="line-height: 1.4;"> with the actual settings.</span>
          The second BaseContainer then contains the following settings:
          ID 0: Int32 value, the compression type (one from the list below)
          0 = NO_COMPRESSION
          1 = RLE_COMPRESSION
          2 = ZIPS_COMPRESSION
          3 = ZIP_COMPRESSION
          4 = PIZ_COMPRESSION
          5 = PXR24_COMPRESSION
          6 = B44_COMPRESSION
          7 = B44A_COMPRESSION
          <div style="line-height: 16.8px;">ID 1: Boolean value, clamp to 16-Bit float
          There's also another thread showing about Setting the format options of an OpenEXR in the render settings.

          Please note that setting these IDs on your own could break at some point in time in case their support in OpenEXR is removed or extended (e.g. the first versions of the EXR lib only had a fraction of these options).

          Best regards,

          Wilfried

          1 Reply Last reply Reply Quote 0
          • H Offline
            Helper
            last edited by

            On 16/10/2015 at 10:37, xxxxxxxx wrote:

            Thanks for answers. I'll give a try like that.

            1 Reply Last reply Reply Quote 0
            • First post
              Last post