Describe the bug
Photometric=MinIsWhite inversion is only applied in the local eager reader. HTTP, remote dask fast-path, and GPU reads do not appear to apply the same inversion, so the same single-band TIFF can return inverted values on one backend and raw values on another.
Expected behavior
All read backends should return the same values for MinIsWhite grayscale TIFFs. The inversion should be shared or applied consistently after decode.
Screenshots
Not applicable.
Desktop
Not applicable.
Smartphone
Not applicable.
Additional context
The local eager branch in xrspatial/geotiff/_reader.py handles MinIsWhite after decode. Equivalent handling is missing from the HTTP early return path and GPU read path.
Describe the bug
Photometric=MinIsWhiteinversion is only applied in the local eager reader. HTTP, remote dask fast-path, and GPU reads do not appear to apply the same inversion, so the same single-band TIFF can return inverted values on one backend and raw values on another.Expected behavior
All read backends should return the same values for MinIsWhite grayscale TIFFs. The inversion should be shared or applied consistently after decode.
Screenshots
Not applicable.
Desktop
Not applicable.
Smartphone
Not applicable.
Additional context
The local eager branch in
xrspatial/geotiff/_reader.pyhandles MinIsWhite after decode. Equivalent handling is missing from the HTTP early return path and GPU read path.