What is happening
OpenEXR documentation distinguishes scanline, tiled, multipart, multiresolution, and deep-data chunks. Recovery must use the declared windows, channels, compression, part type, and chunk coordinates rather than assuming one flat RGB image.