﻿# EXR mipmaps in training pipelines: check whether the reader exposes image levels

Distinguish tiled storage, mipmaps and ripmaps, and verify reader level access before planning resolution-aware GPU training or texture preprocessing.

Author: Retrivium editorial team
Updated: 2026-11-04
Canonical URL: https://retrivium.ai/journal/fg2-openexr-mipmap-ripmap-reader-level-access/
Language: en

## Define the resolution operation

A training pipeline may want a lower-resolution source image to reduce decoding, transfer and GPU memory. That requirement differs from reading a full-resolution image and resizing it afterwards. Determine whether the dataset contains precomputed levels and whether the chosen reader can select them. Otherwise a configuration called low resolution may still allocate and decode the largest image before discarding most of its information.

## Inspect storage and level mode separately

The [technical introduction](https://openexr.com/en/latest/TechnicalIntroduction.html) distinguishes scanline images, tiles and multiresolution level modes. Tiled storage alone does not imply an image pyramid. Mipmap and ripmap organizations also differ in how resolutions vary across axes. Inspect the actual level description instead of deriving it from a file extension or tile size. A decoder needs both a compatible storage interface and an explicit level selection for resolution-aware access.

## Verify the binding's documented capability

The [Python module reference](https://openexr.com/en/latest/python.html) states that its current file interface reads tiled images into arrays but does not expose multiple tile levels. Do not plan selective pyramid loading around that high-level API without another supported interface. It can still be useful for ordinary whole-image workflows; the limitation matters when the application specifically needs level-aware reading. Record the binding and version in the preprocessing environment rather than assuming all OpenEXR interfaces are equivalent.

## Choose an interface matching the operation

The [C++ I/O guide](https://openexr.com/en/latest/ReadingAndWritingImageFiles.html) describes tiled interfaces and notes that reading multiresolution data through a scanline interface exposes only the highest resolution. Choose an API that actually supports the requested level operation. If your pipeline instead resizes decoded data, document its reconstruction filter and treat it as a new derived image. Precomputed levels and arbitrary later resizing need not produce numerically identical inputs for a learning model.

## Validate both pixels and resource use

Use a known multiresolution file and verify returned dimensions, a recognizable spatial pattern and the chosen source level. Measure decoding memory and elapsed time separately from GPU model execution. The guides to [image coordinate integrity](/journal/data-guide-image-exif-box-coordinate/) and [renderer compatibility](/journal/gpu-llm-renderer-compatibility-matrix/) supply adjacent context. The acceptance condition is explicit: the loader either reads the intended level or truthfully performs a documented full-resolution decode followed by a defined resize, without confusing those resource profiles.
