lilth2 opened a new pull request, #569: URL: https://github.com/apache/commons-imaging/pull/569
# [IMAGING-371] Preserve GPSVersionID when reading GPS directories GPSVersionID has tag 0x0000, but TiffReader currently skips all zero-tag fields, including those in GPS directories. This loses the version field during metadata reading. Allow tag zero in GPS directories while retaining the existing early filter elsewhere. Existing field-type and offset/length validation still applies. Regression tests use generated classic TIFF inputs and cover both byte orders, strict and non-strict reading, the public metadata API, exact version bytes, adjacent entries, non-GPS zero tags, invalid GPS counts/offsets, and unknown GPS field types. Issue: https://issues.apache.org/jira/browse/IMAGING-371 Validation: default `mvn` passed on the final two-commit branch with OpenJDK 23.0.2 and Maven 3.9.16: 1,277 tests, zero failures, zero errors, seven skipped. Javadoc and the default quality checks passed. -- 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. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
