Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IMAGING-285 RationalNumber to support unsigned int format #24

Closed
wants to merge 5 commits into from
Closed

IMAGING-285 RationalNumber to support unsigned int format #24

wants to merge 5 commits into from

Conversation

gwlucastrig
Copy link

@gwlucastrig gwlucastrig commented Aug 14, 2021

This pull request address issue IMAGING-285 from the JIRA tracker.

Additional unit tests have been added to exercise the TIFF unsigned-integer variation for RasterNumber.

As I updated TiffReadWriteTagsTest for the new feature, I also modified the TiffReader method calls so that they do not use the HashMap params logic that is being retired in future releases. The API used is compatible with the current Imaging version, but will also work in the upcoming Alpha 3 without modification.

I just looked at the code differences... Sorry about the whitespace changes. I have no idea how that happened. I can see if I can put them back.

@gwlucastrig
Copy link
Author

Line endings are now Linux style, which reduces the code differences substantially.

@gwlucastrig
Copy link
Author

gwlucastrig commented Aug 14, 2021

To the best of my knowledge, this pull request is now ready for review.

I was lucky in that the existing JUnit test cases covered most of what I needed to test, in particular the reading and writing of TIFF tags. Somebody did a nice job on TiffReadWriteTagsTest in the past.

Copy link
Owner

@kinow kinow left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@gwlucastrig closing as we have a PR against apache/commons-imaging here: apache#164

@kinow kinow closed this Sep 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants