Commit Graph
283 Commits
Author SHA1 Message Date
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 4609425be9 Merge pull request #37 from jimrybarski/master
Allow Decoder::next_image() to be called multiple times to allow paging through a multi-page TIFF
2019-04-25 18:23:06 +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
Jim Rybarski d314a032de Merge branch 'master' of github.com:PistonDevelopers/image-tiff 2019-03-29 09:47:35 -05:00
Jim Rybarski 198f3ff3dc Allow Decoder::next_image() to be called multiple times to allow paging through a multi-page TIFF 2019-03-28 15:14:44 -05:00
Birk Tjelmeland 5e86931dff Fix possibly overflowing multiplications 2019-03-12 11:07:57 +01:00
Birk Tjelmeland 5c3f50f800 Fix compiler and clippy warnings 2019-02-28 07:58:07 +01:00
Birk Tjelmeland bd0d66c09f Fix potential out of bounds array access 2019-02-27 19:45:59 +01:00
Birk Tjelmeland d637e1f7f6 Fix memory exhaustion bug 2019-02-27 16:15:57 +01:00
Birk Tjelmeland 6aa5f3add5 Made DecodingBuffer public
Marked `DecodingBuffer` and `read_strip_to_buffer`
as public to reduce copies in eventual `TiffReader`.
2019-02-08 21:05:25 +01:00
Birk Tjelmeland 6884558687 Incremental decoding implemented 2019-02-01 11:08:13 +01:00
Jonathan Behrens fab6734275 Remove unsafe code 2019-01-11 15:03:40 -05:00
Jonathan Behrens 60f5a8f450 Fix calculation of uncompressed_strip_size 2018-09-23 01:12:39 -04:00
Sven Nilsen c3aaadaa4e Fix missing errors 2018-09-19 18:12:19 +02:00
Sven Nilsen 0228fc3204 Merge branch 'master' into 16bit-performance 2018-09-19 17:54:56 +02:00
Sven Nilsen 742784ddc7 Merge branch 'master' into master 2018-09-19 15:25:24 +02:00
Felix Schütt 0089e93b49 Migrate from String to properly typed TiffUnsupportedError 2018-09-13 13:44:16 +02:00
Felix Schütt 2c6ca5459a Migrate from String to properly typed TiffFormatError 2018-09-13 13:20:50 +02:00
zroug 345aff0629 Greatly improved performance for 16 bit images 2018-08-27 23:05:16 +02:00
zroug 724e5e8c80 Fixed: Decoder::expand_strip might not read the full strip 2018-08-27 23:05:16 +02:00
zroug 583b241cef Replaced unsafe code in Decoder::read_image 2018-08-27 23:05:16 +02:00
Jim Rybarski ff1d31533b Add support for ASCII tags 2018-08-17 11:43:51 -05:00
zroug e3f89490c6 Expose ability to read tags to crate users 2018-07-10 17:21:06 +02:00
335g 6f0496b10a Support CMYK 2018-07-01 19:49:41 +09:00
R.Chavignat 9c098c4bee Integrate upstream changes 2018-06-17 16:44:51 +02:00
R.Chavignat 112492261f Cleanups, visibility fixes, add authors 2018-06-17 15:45:00 +02:00
R.Chavignat 76a787455a Import missing methods from image crate 2018-03-13 00:07:06 +01:00
R.Chavignat 0c623bc3a3 Refactor a bit
Rename the Image* types to Tiff*
Extract the "common" types to the top level.
2018-03-13 00:07:06 +01:00
R.Chavignat 8210a81672 Paste code from image until it builds 2018-03-13 00:06:56 +01:00
R.Chavignat a92205909a Import tiff module from image repo 2018-03-12 18:26:44 +01:00