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
Alan Race
0447d81b07
Updated to use new unified chunk handling
2022-05-09 09:56:46 +02:00
Alan Race
54664d553d
Added comments for read_tile, read_strip and read_*_at
2022-05-09 09:17:39 +02:00
Alan Race
6bec36ab20
Reverted read_strip and read_tile to previous call signature
...
Added comments to ChunkInfo
2022-05-09 09:17:39 +02:00
Alan Race
e57ca1a926
Added functionality for loading selected strip
2022-05-09 09:17:27 +02:00
Alan Race
ca4da33dd7
Mirrored return value of read_tile to read_strip
2022-05-09 09:16:35 +02:00
Alan Race
6d4c4a49a1
read_tile now returns ChunkInfo
2022-05-09 09:16:13 +02:00
Alan Race
d8520bde1f
Now using the list of offsets to know how many IFDs we have seen
2022-05-09 09:14:56 +02:00
Alan Race
56c20c2c20
Added ability to select which image (IFD) to load
2022-05-09 09:14:56 +02:00
Alan Race
6efa89c249
Added ability to select which tile to load (based on index)
...
Also reduced repeated code when calculating padding etc.
2022-05-09 09:14:04 +02:00
HeroicKatora
68d677d1b3
Merge pull request #164 from fintelia/unify-strip-tile
...
Unify strip and tile decoding
2022-05-05 18:35:53 +02:00
Alan Race
72ca636625
Added comments for read_tile, read_strip and read_*_at
2022-05-03 09:27:23 +02:00
Alan Race
1f501b5acb
Reverted read_strip and read_tile to previous call signature
...
Added comments to ChunkInfo
2022-05-03 09:21:23 +02:00
Jonathan Behrens
697d2877a1
Cargo fmt
2022-05-02 20:37:37 -07:00
Jonathan Behrens
805a1e5cef
Rename chunk_byte_range method
2022-05-02 19:47:41 -07:00
Jonathan Behrens
dc8311fb99
Merge read_tiled_image and read_stripped_image
2022-05-02 19:46:28 -07:00
Jonathan Behrens
f25530adec
Unify expand_strip and expand_tile
2022-05-02 19:37:00 -07:00
Alan Race
dd8c9e4f2b
Added functionality for loading selected strip
2022-05-02 15:59:48 +02:00
Alan Race
8f34748d01
Mirrored return value of read_tile to read_strip
2022-05-02 15:39:14 +02:00
Alan Race
4ce3c2f41f
read_tile now returns ChunkInfo
2022-05-02 15:35:48 +02:00