Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
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.
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.
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.
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
On 16/10/2015 at 10:37, xxxxxxxx wrote:
Thanks for answers. I'll give a try like that.