Andreas Molzer
ffaccf2b52
Merge pull request #196 from image-rs/release-0.8.1
...
Changelog and metadata for 0.8.1
2022-12-10 16:57:28 +01:00
Andreas Molzer
4dea7c4c81
Changelog and metadata for 0.8.1
v0.8.1
2022-12-10 08:25:57 +01:00
Andreas Molzer
aa42fcb1bb
Merge pull request #193 from image-rs/issue-192-desync-packbits
...
Fix read in packbits decoder
2022-12-03 18:49:51 +01:00
Andreas Molzer
1f7b25ef55
Fix read in packbits decoder
...
This assumed that a `read` would succeed for the full length, thus
interpreting in a subsequent call some data bits as a header.
For instance, consider 77 bytes of literal were left and a buffer of
1024 bytes was provided. Then the `read` call might return 60 which was
ignored and assumed to be 77. Thus the next 17 bytes of literal data
were instead interpreted as a header due to setting `self.count` to 0.
2022-12-03 18:42:08 +01:00
Andreas Molzer
6c65e66440
Merge pull request #170 from AlanRace/jpeg-unwrap
...
Removed `unwrap` and set colour transform with Jpeg compressed tiffs
2022-11-22 16:17:40 +01:00
Alan Race
a733ff13d9
Changed to using private constructor rather than From<> JpegDecoderError
2022-11-22 15:53:42 +01:00
Alan Race
b1cd459330
Updated error handling
2022-11-22 15:44:10 +01:00
Alan Race
4f1c88e35f
Added unsupported error for interpretations not supported by JPEG
2022-11-22 14:38:27 +01:00
Alan Race
7307e96782
Removed unwrap and set colour transform with Jpeg compressed tiffs
2022-11-22 14:31:33 +01:00
HeroicKatora
9333d99c92
Merge pull request #187 from image-rs/release-0.8.0
...
Changelog for 0.8
2022-11-10 21:02:40 +01:00
Andreas Molzer
65bc24d5d9
Add deprecation removals to changelog
v0.8.0
2022-11-10 17:49:32 +01:00
Andreas Molzer
7fc75f194a
Changelog for 0.8
2022-11-10 17:28:12 +01:00
HeroicKatora
7679be19c1
Merge pull request #189 from image-rs/non-exhaustive-enumeration
...
Non exhaustive enumerations
2022-11-10 17:27:31 +01:00
Andreas Molzer
0e9f8e3b5b
Mark more tag enums as non_exhaustive
2022-11-10 12:45:04 +01:00
Andreas Molzer
c900129f2c
Change to non_exhaustive attributes
2022-11-10 12:45:04 +01:00
HeroicKatora
61234c0005
Merge pull request #188 from fintelia/decoder-deprecated
...
Remove deprecated methods on Decoder
2022-11-05 20:22:38 +01:00
Jonathan Behrens
1416af1018
Remove deprecated methods on Decoder
2022-11-05 10:15:31 -07:00
HeroicKatora
87d652ae5e
Merge pull request #186 from micahsnyder/bump-jpeg-decoder-dependency
...
Bump jpeg-decoder version pin to 0.3.0
2022-11-03 08:28:43 +01:00
Micah Snyder
b5a78fbec4
CI: Correct the MSRV from 1.48 to 1.61
2022-11-02 15:00:29 -07:00
Micah Snyder
30640d50ff
Bump jpeg-decoder version pin to 0.3.0
...
The jpeg-decoder project has a new version with a number of improvements
plus a fix for a possible panic.
Semantic versioning considers 0.2.4 to be incompatible with 0.3.X because
of the leading zero, so this change bumps the pin to 0.3.0.
2022-11-02 14:25:18 -07:00
HeroicKatora
b87770225f
Merge pull request #185 from image-rs/release-0.7.4
...
Changelog for 0.7.4
2022-10-29 12:44:25 +02:00
Andreas Molzer
d38b65eeb2
Changelog for 0.7.4
v0.7.4
2022-10-28 22:58:18 +02:00
HeroicKatora
ee27553cf6
Merge pull request #180 from luksab/patch-1
...
Update link to the TIFF specification
2022-10-14 20:14:07 +02:00
Lukas Sabatschus
5a809a728e
Update link to the TIFF specification
...
The old link is unavailable since mid-2017, so we link to archive.org
2022-10-14 13:53:29 +02:00
HeroicKatora
b0b99fc536
Merge pull request #173 from micahsnyder/issue-168-handle-jpeg-decoder-errors
...
Handle possible JPEG decoder errors
2022-09-06 21:17:04 +02:00
Jonathan Behrens
3bce92781c
Merge pull request #176 from fintelia/zero-size
...
Return an error for zero-size images
2022-09-05 13:10:30 -07:00
Jonathan Behrens
907bbee576
cargo fmt
2022-09-05 12:54:21 -07:00
Jonathan Behrens
fc0dafcde2
Change error kind
2022-09-05 12:45:22 -07:00
Jonathan Behrens
945a02d1e1
Format
2022-09-05 12:44:42 -07:00
Jonathan Behrens
ef3294d1fe
Return an error for zero-size images
2022-09-05 12:44:42 -07:00
HeroicKatora
0311402999
Merge pull request #177 from fintelia/fix-warnings
...
Fix some warnings
2022-09-05 12:45:04 +02:00
Jonathan Behrens
361578df00
Fix some warnings
2022-09-04 12:35:15 -07:00
Jonathan Behrens
bd23428f52
Validate that images contain the proper number of strips ( #174 )
2022-09-04 12:00:34 -07:00
Micah Snyder
d32adf8ef4
Handle possible JPEG decoder errors
...
The JPEG decoder may fail and panic the TIFF decoder. This commit
converts the JPEG `Format(String)` error to a TIFF `Format(String)`
error.
Fixes #168
2022-09-02 15:02:23 -07:00
Jonathan Behrens
2ec1ab7489
Add changelog and metadata for 0.7.3 ( #167 )
v0.7.3
2022-07-24 10:31:37 -07:00
Jonathan Behrens
80e7c46151
Merge pull request #163 from AlanRace/access-tile
...
Add ability to select image directory and tile using index
2022-07-23 15:44:45 -07:00
Jonathan Behrens
5003803c97
cargo fmt
2022-07-23 15:27:02 -07:00
Jonathan Behrens
7c4a6fae08
Update src/decoder/mod.rs
2022-07-18 19:36:35 -07:00
Jonathan Behrens
723ef6431a
Update src/decoder/mod.rs
2022-07-18 19:36:28 -07:00
Alan Race
802949f6e1
Removed ChunkInfo and added additional functions on decoder
2022-07-18 17:15:44 +02:00
Alan Race
5cadbffebf
Changed to use u32 for chunk_index
2022-07-11 08:56:35 +02:00
Alan Race
e1f4161e0b
Removed unused functions and make InvalidChunkIndex a UsageError
2022-07-08 11:08:30 +02:00
Alan Race
8c0c13f022
Added read_chunk_at and read_chunk_to_buffer functions
2022-07-07 15:25:01 +02:00
Alan Race
d5e3f4aa8a
Merge remote-tracking branch 'image-tiff/master' into access-tile
2022-07-07 15:06:56 +02:00
Jonathan Behrens
3c42a6e1f4
Merge pull request #165 from fintelia/improve-predictor
...
Floating point predictor
2022-06-27 07:36:45 -07:00
Jonathan Behrens
5e7702a874
Suggested edits
2022-06-26 20:45:21 -07:00
Jonathan Behrens
8e5c5b44c5
Support floating point predictor (predictor 3)
...
Based on work by @TomasKralCZ in #135
2022-06-22 20:14:25 -07:00
Jonathan Behrens
8a6e93f66e
Merge fix_endianness and rev_hpredict methods
2022-06-22 20:13:55 -07:00
Alan Race
6e398ce7e3
Remove ChunkInfo from mod.rs that was added through merge
2022-05-09 09:58:51 +02:00
Alan Race
8bd02ac389
Merge remote-tracking branch 'origin/access-tile' into access-tile
2022-05-09 09:57:24 +02:00