Apple Shake 4 User Manual

Page 176

Advertising
background image

176

Chapter 5

Compatible File Formats and Image Resolutions

Support for Data Compression

The OpenEXR format supports several codecs, with options for either lossless or lossy
compression. Compression ratios range from 2:1 to 3:1.

Note: By default, FileOut nodes set to output OpenEXR images default to the Piz codec.

The following codec information appears courtesy of Industrial Light & Magic:

none: No compression is applied.

RLE: (Lossless) Differences between horizontally adjacent pixels are run-length
encoded. This method is fast, and works well for images with large flat areas. But for
photographic images, the compressed file size is usually between 60 and 75 percent
of the uncompressed size.

ZIP: (Lossless) Differences between horizontally adjacent pixels are compressed using
the open source zlib library. ZIP decompression is faster than PIZ decompression, but
ZIP compression is significantly slower. Photographic images tend to shrink to
between 45 and 55 percent of their uncompressed size.

PXR 24: (Lossy) After reducing 32-bit floating-point data to 24 bits by rounding,
differences between horizontally adjacent pixels are compressed with zlib, similar to
ZIP. PXR24 compression preserves image channels of type HALF and UINT exactly,
but the relative error of FLOAT data increases to about 3°—10-5.This compression
method works well for depth buffers and similar images, where the possible range of
values is very large, but where full 32-bit floating-point accuracy is not necessary.
Rounding improves compression significantly by eliminating the pixels’ eightleast
significant bits, which tend to be very noisy, and difficult to compress.

Piz: (Lossless): This is the default compression method used by Shake. A wavelet
transform is applied to the pixel data, and the result is Huffman-encoded.This
scheme tends to provide the best compression ratio for typical film images. Files are
compressed and decompressed at roughly the same speed. For photographic images
with film grain, the files are reduced to between 35 and 55 percent of their
uncompressed size.

OpenEXR Proxy Handling

Shake can read both tiled and scanline OpenEXR images. Scanline files contain a single
image at a set resolution, but tiled files hold several versions of the same image at a
variety of resolutions, for use as proxies in supporting applications.

Shake’s proxy mechanism does not take advantage of tiled images. As a result, Shake
defaults to reading in the highest available tiled resolution.

For More Information

More information about the OpenEXR format can be found at

http://

www.openexr.com

.

Advertising