Search Keywords: vrimg, OpenEXR, converter, high-dynamic range, HDR, HDRI

General

This is a command-line utility that can be used to convert .vrimg image files to .exr files in OpenEXR format. The .vrimg file format is a special format used by the V-Ray VFB to store the rendered image incrementally while rendering, in full floating-point format, will all available render elements. The utility is part of the V-Ray Standalone distribution that ships with your copy of V-Ray for Softimage.

Usage

There are two methods for running the vrimg2exr converter:

In both cases, the original .vrimg file is not deleted.

 

Options

One or more of the following options may be specified:

 

Option Description
-info Prints information about the .vrimg file (resolution, channels present etc). This is only supported for .vrimg files created with V-Ray versions 1.48.xx and higher.
-half Stores the floating-point data in the .exr file as 16-bit floating point numbers. If this option is not specified, the data is stored as 32-bit floating point numbers.
-sRGB Converts the RGB data from the .vrimg file to the sRGB color space before writing it to the .exr file. Without this option, no color conversion is performed.
-channel <name> Only reads the specified channel from the .vrimg file and writes it as the RGB channel in the output file. No other channels are written to the .exr file. This option can be used to extract the different channels in the .vrimg file to separate image files. Currently supported values for <name> are: Atmosphere, Background, Diffuse, Reflect, Refract, SelfIllum, Shadow, Specular, Light, GI, Caustics, RawGI, RawLight, RealColor, MtlID, RenderID, ObjectID, RGB Color, Alpha
-compression <method> Sets the compression type for the resulting .exr file. If not specified, ZIP compression is used. Currently supported values for <method> are: none, zips, zip, piz, pxr24
-bufsize <buf size> The maximum buffer size per channel (in megabytes) that will be used for the conversion. If the image does not fit into that buffer size, the converter will process it in several passes. Larger buffer size means faster conversion, but, obviously, requires more memory. The default is 10 MB per channel.