Every OpenEXR file uses one compression method for its pixel data, recorded in the compression header attribute. The choice decides file size, read speed and whether any detail is thrown away. It also decides whether a given app can open the file at all.
Most methods compress a block of scanlines at a time. Bigger blocks usually compress better, but an app that needs one line has to decode the whole block.
The methods at a glance
| Type | Quality | Lines per block | Opens here |
|---|---|---|---|
| NONE | Lossless | 1 | Yes |
| RLE | Lossless | 1 | Yes |
| ZIPS | Lossless | 1 | Yes |
| ZIP | Lossless | 16 | Yes |
| PIZ | Lossless | 32 | Yes |
| PXR24 | Lossy for 32-bit float, lossless for half | 16 | Yes |
| B44 / B44A | Lossy, half channels only | 32 | No |
| DWAA | Lossy | 32 | Yes |
| DWAB | Lossy | 256 | Yes |
Lossless methods
NONE stores raw pixels. Files are large but need no decoding work.
RLE replaces runs of identical bytes with a count. It does well on flat areas such as mattes and solid backgrounds, and little on noisy renders.
ZIPS and ZIP use zlib, the same deflate method as PNG. ZIPS compresses each scanline on its own, and ZIP compresses 16 at a time, which usually gives smaller files. ZIP is a safe default when you do not know what will read the file.
PIZ applies a wavelet transform and Huffman coding to blocks of 32 lines. It tends to beat ZIP on grainy images such as photographic plates and noisy renders.
Lossy methods
PXR24 rounds 32-bit float channels to 24 bits before zlib, which loses a little precision. Half and integer channels are stored without loss.
B44 and B44A pack 4 × 4 blocks of half pixels into a fixed size, built for fast playback. B44A also shrinks flat blocks further. Float channels in these files are stored uncompressed.
DWAA and DWAB, contributed by DreamWorks Animation, use a JPEG-like transform on colour channels. Files are much smaller than lossless EXR, at a quality set by the writer. DWAA works on 32 lines at a time and DWAB on 256.
Which ones open in this browser viewer
The Online EXR Viewer uses the three.js EXRLoader. It reads NONE, RLE, ZIPS, ZIP, PIZ, PXR24, DWAA and DWAB, in scanline files and in tiled files except rip-mapped ones. It does not read B44 or B44A. When a file uses one of those, the page names the method instead of failing silently.
To find out which method a file uses before you open it anywhere else, drop it on the EXR metadata viewer and read the compression row.


How to change the compression of an EXR
Re-save the file from the app that made it and pick a new method in its EXR export options. With OpenImageIO installed, one command does it:
oiiotool input.exr --compression zip -o output.exr
Moving from a lossy method to a lossless one makes the file bigger but does not bring back detail that was already lost. To see how much a lossy method changed a frame, save both versions and load them in EXR Compare.