Andrew Champion
c72a8d364d
Add tests for exotic 12-bit sample images
...
These images should correctly report their color depths, but fail to
decode as they are unsupported.
2019-12-16 18:53:44 +00:00
Andrew Champion
e5d2e7862c
Parse all homogeneous bit depth RGB(A) color types
...
Make the behavior of RGB and RGBA like Gray in returning ColorTypes for
all homogeneous bit depths, even if those depths are not 8, 16, 32 or
64. Note that this does not change which color types can actually be
decoded.
2019-12-11 15:03:05 +00:00
Andrew Champion
6e61de81b6
Simplify color type matching
2019-12-11 12:56:11 +00:00
Andrew Champion
8c4cea5d97
Support 64-bit encoding
...
Note that this adds the LONG8 data type from BigTIFF because of bounds
requiring TiffValue. However, this datatype should not actually be
written to tags.
2019-12-10 20:18:53 +00:00
Andrew Champion
0c53e1066a
Support 64-bit rgb and rgba decoding
2019-12-10 20:18:53 +00:00
Andrew Champion
f4e985e0bd
Support 64-bit grayscale decoding
2019-12-10 20:18:53 +00:00
Andrew Champion
af010edcfd
Support 32-bit encoding
2019-12-10 20:18:53 +00:00
Andrew Champion
f32b3b9d10
Fix warnings in encoding test
2019-12-10 20:18:53 +00:00
Andrew Champion
1f92c562bc
Support 32-bit rgb and rgba decoding
2019-12-10 20:18:51 +00:00
Andrew Champion
fca4e1f88a
Support 32-bit grayscale decoding
2019-12-10 20:18:23 +00:00
Andrew Champion
496a2f31cf
Convert panic to error for writing wrong size strip
2019-04-25 20:03:30 +02:00
Andrew Champion
334759b08d
Remove several panics in write_image
...
Closes #35 .
2019-04-25 20:03:29 +02:00