gwlucastrig commented on pull request #81: URL: https://github.com/apache/commons-imaging/pull/81#issuecomment-650069066
I am undecided as to whether we should delay the PR until I can produce a sample file. I've been looking at the Commons Imaging API for writing TIFF files and I haven't figured out how to write this kind of data. A TIFF file is organized into one or more Image File Directory (IFD) elements, each of which can contain a separate image and/or bundle of metadata. The Commons Imaging API supports writing multiple images. The problem I am dealing with here is that the EXIF information in the sample file I used is actually a special kind of element known as a "subdirectory" which is stored within a larger directory. I haven't been able to figure out whether the Commons Imaging API allows a program to write data in that form. If it doesn't, then making it do so would be a much bigger PR than simply reading it when it's there. Give me a few days to look into this and I will let you know if it is feasible to create a sample image without a major level of effort. I suppose that the alternate approach would be to install a version of GDAL (or maybe GIMP) and use it to create a file. Doing that has a learning curve of its own. ---------------------------------------------------------------- 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]
