Commit Graph
181 Commits
Author SHA1 Message Date
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
Onno Kammeraad fd789dc420 Cursor::new(Vec::new()) requires a &mut instead of just & 2019-11-12 13:09:09 +01:00
OnnoandHeroicKatora f70447325e Update tests/encode_images.rs
Co-Authored-By: HeroicKatora <HeroicKatora@users.noreply.github.com>
2019-11-12 10:40:19 +01:00
Onno Kammeraad b2eb480c44 add multipage testcase, to validate the multipage image handling 2019-11-12 09:44:27 +01:00
HeroicKatora 770262cb02 Merge pull request #25 from birktj/new_tests
Test decoder output
2019-10-15 04:35:06 +02:00
Callum Tolley bc05e0b7c6 Renamed files 2019-09-22 22:25:29 +01:00
Dustin Thomson 30eb8487a6 Signed value support
Add support for SBYTE, SSHORT, SLONG, SRATIONAL as per the Tiff 6.0 spec
Add support for multiple BYTE
2019-08-14 21:22:56 -06:00
Birk Tjelmeland 514b7cddaa Change minimal rustc version to 1.24.1 2019-05-03 23:12:29 +02:00
Birk Tjelmeland 48f16f5206 Merge pull request #41 from birktj/fix-bugs
Fix divide by zero bug
2019-04-25 22:30:31 +02:00
Birk Tjelmeland a2f7aa9500 Fix tests so that they remove warning properly 2019-04-25 20:48:48 +02:00
Andrew Champion 334759b08d Remove several panics in write_image
Closes #35.
2019-04-25 20:03:29 +02:00
Birk Tjelmeland dbf532b0a9 Fix divide by zero bug
This fixes #33
2019-04-25 14:58:08 +02:00
Atul Bhosale 522fbd1a69 Format code using 'cargo fmt' 2019-04-18 00:04:43 +05:30
Birk Tjelmeland 5c3f50f800 Fix compiler and clippy warnings 2019-02-28 07:58:07 +01:00
Birk Tjelmeland 95b153cdeb Add tests from fuzzing
Add test from fuzzing samples in #28, #29 and #31
2019-02-27 19:53:48 +01:00
Birk Tjelmeland de18d446f2 Fix error in encoder tests 2019-02-27 17:23:19 +01:00
Jonathan Behrens ff26217534 Merge pull request #26 from birktj/incremental
Incremental decoding implemented
2019-02-26 20:07:29 -05:00
Birk Tjelmeland b0d7ac9cbf Add documentation and reorganize 2019-02-09 21:53:11 +01:00
Birk Tjelmeland 9ca445a5eb Add roundtrip tests 2019-02-09 20:58:28 +01:00
Birk Tjelmeland fa540dbad6 Add more colortypes 2019-02-09 20:53:11 +01:00
Birk Tjelmeland 503c4d29ed Add function to write entire image 2019-02-09 20:40:25 +01:00
Birk Tjelmeland fb233771b5 Fix small errors and clean up 2019-02-09 20:36:40 +01:00
Birk Tjelmeland f38c3f9c4a Clean up api 2019-02-09 02:11:01 +01:00
Birk Tjelmeland 7fb354fe43 Test decoder output
These tests are based on the assumtion that the current decoder is
correct and are to make sure that future changes to the decoder
wont break it.
2019-02-01 11:19:21 +01:00
Birk Tjelmeland 6884558687 Incremental decoding implemented 2019-02-01 11:08:13 +01:00
Birk Tjelmeland 6ccca781c3 Create encode test 2019-01-31 21:32:14 +01:00
Jim Rybarski ff1d31533b Add support for ASCII tags 2018-08-17 11:43:51 -05:00
R.Chavignat 9c098c4bee Integrate upstream changes 2018-06-17 16:44:51 +02:00
R.Chavignat ec72f33dbc Add some integration tests
The included images are taken from the libtiff test suite.
2018-06-17 16:19:39 +02:00