commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (Jira)" <>
Subject [jira] [Work logged] (IMAGING-265) ArrayIndexOutOfBoundsException on reading simple GeoTIFF
Date Sat, 19 Sep 2020 02:48:00 GMT


ASF GitHub Bot logged work on IMAGING-265:

                Author: ASF GitHub Bot
            Created on: 19/Sep/20 02:47
            Start Date: 19/Sep/20 02:47
    Worklog Time Spent: 10m 
      Work Description: gwlucastrig opened a new pull request #98:

   This change addresses JIRA issue IMAGING-265.  It enhances the TIFF reader logic so that
it can handle certain kinds of images that divide RGB values into three separate planes rather
than using the more common interleaved format.
   At this time, I have only implemented PlanarConfiguration=2 support for TIFF files organized
into strips (rather than tiles) using the 24 bit RGB photometric interpreter.  

This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:

Issue Time Tracking

            Worklog Id:     (was: 486462)
    Remaining Estimate: 0h
            Time Spent: 10m

> ArrayIndexOutOfBoundsException on reading simple GeoTIFF
> --------------------------------------------------------
>                 Key: IMAGING-265
>                 URL:
>             Project: Commons Imaging
>          Issue Type: Bug
>          Components: Format: TIFF
>    Affects Versions: 1.0-alpha2
>            Reporter: edgar soldin
>            Priority: Major
>         Attachments: small_world.tif, small_world_split.jpg
>          Time Spent: 10m
>  Remaining Estimate: 0h
> hi,
> we on the OpenJUMP project cannot open some GeoTIFFs with commons.imaging . for details
you may find a ticket in our bug tracker [] .
> the gist is: on loading the attached file getBufferedImage() fails with this stack
> Caused by: java.lang.ArrayIndexOutOfBoundsException: 8000Caused by: java.lang.ArrayIndexOutOfBoundsException:
8000 at org.apache.commons.imaging.formats.tiff.datareaders.DataReaderStrips.interpretStrip(
at org.apache.commons.imaging.formats.tiff.datareaders.DataReaderStrips.readImageData(
at org.apache.commons.imaging.formats.tiff.TiffImageParser.getBufferedImage(
at org.apache.commons.imaging.formats.tiff.TiffDirectory.getTiffImage(
at org.apache.commons.imaging.formats.tiff.TiffImageParser.getBufferedImage(
at org.apache.commons.imaging.Imaging.getBufferedImage( at org.apache.commons.imaging.Imaging.getBufferedImage(
at org.apache.commons.imaging.Imaging.getBufferedImage( at com.vividsolutions.jump.workbench.imagery.graphic.CommonsImage.initImage(

This message was sent by Atlassian Jira

View raw message