[ 
https://issues.apache.org/jira/browse/IMAGING-258?focusedWorklogId=457729&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-457729
 ]

ASF GitHub Bot logged work on IMAGING-258:
------------------------------------------

                Author: ASF GitHub Bot
            Created on: 12/Jul/20 11:01
            Start Date: 12/Jul/20 11:01
    Worklog Time Spent: 10m 
      Work Description: kinow commented on pull request #81:
URL: https://github.com/apache/commons-imaging/pull/81#issuecomment-657206523


   Merged, thanks @gwlucastrig !


----------------------------------------------------------------
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:
[email protected]


Issue Time Tracking
-------------------

    Worklog Id:     (was: 457729)
    Time Spent: 50m  (was: 40m)

> TiffReader.readDirectories() fails on EXIF data
> -----------------------------------------------
>
>                 Key: IMAGING-258
>                 URL: https://issues.apache.org/jira/browse/IMAGING-258
>             Project: Commons Imaging
>          Issue Type: Bug
>          Components: Format: TIFF
>    Affects Versions: 1.0-alpha1
>            Reporter: Gary Lucas
>            Assignee: Bruno P. Kinoshita
>            Priority: Minor
>             Fix For: 1.0-alpha2
>
>          Time Spent: 50m
>  Remaining Estimate: 0h
>
> When reading a TIFF directory that contains an EXIF sub directory, the 
> TiffReader class throws an ImageReadException stating that "ExifOffset has 
> incorrect type IFD". 
> This exception occurs in the TiffReader.readDirectories() call which attempts 
> to read all IFD's (directories) in a TIFF file.  It can be avoided by calling 
> TiffReader.readFirstDirectory().  Of course, if you do that, you will not be 
> able to access the EXIF elements.
> This happens when accessing the TIFF element with TIFF Tag 0x8769.  I suspect 
> that it could also happen with TIFF files containing GPS extensions, Tag 
> 0x8825.
> I've gotten this issue with GeoTIFF files from a couple of different sources. 
>  The one I'd recommend for testing would be the public-domain "Natural Earth 
> Data"  medium-size Cross-blended Hypsometric Tints file at 
> [https://www.naturalearthdata.com/downloads/10m-raster-data/10m-cross-blend-hypso/]
> I am not experienced with the EXIF sub-directory specification and do not yet 
> have a good sense of what the level of effort for a fix would be.
>  
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to