Skip to content

Conversation

@hhubschle
Copy link

Fixes a problem where 16 bit gray images are not saved correctly; only 8 bit was supported.
Changed BlackIsZero8Encoder to BlackIsZeroEncoder and infer BytePerSample and BitsPerSample from the type.
Also add some unit tests that failed previously.

@hhubschle
Copy link
Author

If appears that YCbCr888Tests produces random failures. Probably because TiffYCbCrConverter8 introduces some errors for certain RGB values.

I can reproduce the failure reliably by setting the number of pixels to 100000.
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant