Uploaded image for project: 'GeoTools'
  1. GEOT-5810

GeoPackage reader fails with mixed png/jpeg tile sets

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Medium
    • Resolution: Fixed
    • Affects versions: None
    • Fix versions: 18.0
    • Components: geopkg
    • Labels:
      None

      Description

      The specification states:

      "Requirements 36 and 37 in combination allow a tile pyramid user data table to contain PNG or JPG tiles. They may be mixed and matched within the same table."

      However the code assumes uniform color model, and returns weird images in output when there is a mix of RGB and RGBA images instead.
      Example:

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              aaime Andrea Aime
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: