You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by GitBox <gi...@apache.org> on 2020/04/10 13:04:18 UTC

[GitHub] [commons-imaging] gwlucastrig edited a comment on issue #72: IMAGING-251 support for TIFF floating-point formats

gwlucastrig edited a comment on issue #72: IMAGING-251 support for TIFF floating-point formats
URL: https://github.com/apache/commons-imaging/pull/72#issuecomment-612019069
 
 
   I think I will be able to improve the coverage as soon as I can get some test images to exercise the sections of code that are not currently being covered.  I'm a bit confused by Coverall's results because in the last update I made no code changes, but added additional unit tests to cover more of the code.  I expected that to improve the coverage rating, but it actually went down.
   
   No luck in my search for relevant test images, so I am trying to figure out how to use the Commons Imaging API to write TIFF files that carry floating-point data. That way the project will be able to generate its own test images with the different combination of options.   Most of the pieces are already present in the API.  The original authors put a remarkable amount of work into the code...  But figuring out how to use the API is not always easy. 
   
   At least at first, I will not create test files that use the predictor/compressors for floating-point data.  The predictors have a lot of nuances and I wouldn't trust my code to produce "valid" TIFF for those combinations of options where I don't have standard samples to test against.  All the samples I have so far are 32-bit tile-based files.  I've found hundreds of those from the US Geological Survey. But I haven't found any strip-based files.

----------------------------------------------------------------
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


With regards,
Apache Git Services