You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2020/08/02 00:18:00 UTC

[jira] [Work logged] (IMAGING-258) TiffReader.readDirectories() fails on EXIF data

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

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

                Author: ASF GitHub Bot
            Created on: 02/Aug/20 00:17
            Start Date: 02/Aug/20 00:17
    Worklog Time Spent: 10m 
      Work Description: kinow commented on pull request #81:
URL: https://github.com/apache/commons-imaging/pull/81#issuecomment-667603948


   @gwlucastrig Commons Imaging 1.0-alpha2 release vote thread: https://markmail.org/thread/vkmhtk6xo4t5ncf7
   
   That is open for 72 hours. If there are no blockers, the release should be completed by the middle of the next week, New Zealand time.
   
   Lots of improvements you have contributed to are included in this release :medal_sports: 
   
   Thanks a lot!
   Bruno


----------------------------------------------------------------
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:
users@infra.apache.org


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

    Worklog Id:     (was: 465333)
    Time Spent: 1h  (was: 50m)

> 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: 1h
>  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)