Skip to content

Issue reading LZW TIFF with HORIZONTAL_DIFFERENCING predictor. #346

@palisades-lakes

Description

@palisades-lakes

I am having problems reading a NASA tiff image.

A minimal example is in https://github.com/palisades-lakes/imageio-ext-issues

See https://github.com/palisades-lakes/imageio-ext-issues/blob/main/src/main/java/iiox/Lroc.java.

It does a read-write-read roundtrip equality test.
With or without the imageio-ext-tiff dependency, roundtrip equality succeeds.
However, visual inspection of output image:
https://github.com/palisades-lakes/imageio-ext-issues/blob/main/images/lroc/lroc_color_poles_2k-iiox.tif
shows it is corrupted.
Output produced with the imageio-ext-tiff dependency removed:
https://github.com/palisades-lakes/imageio-ext-issues/blob/main/images/lroc/lroc_color_poles_2k-iio.tif
looks correct.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions