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
|
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 |
|
Alan Race
|
f809d7d1bb
|
Fixed compilation issue after merging
|
2022-05-02 08:47:05 +02:00 |
|
Alan Race
|
902f945375
|
Merge branch 'tiled-jpeg' into access-tile
|
2022-05-02 08:41:29 +02:00 |
|
Alan Race
|
a133056287
|
Removed passing of PhotometricInterpretation to create_reader
as this is now handled for JPEG globally
|
2022-04-30 14:55:52 +02:00 |
|
Alan Race
|
623a3d957d
|
Avoid cloning jpeg_tables and instead pass Arc<Vec<u8>>
|
2022-04-30 14:33:12 +02:00 |
|
Alan Race
|
9e6f9771d3
|
Updated create_reader to only require &mut SmartReader and not &mut Self
|
2022-04-28 08:54:32 +02:00 |
|
Alan Race
|
b196d19238
|
Now using the list of offsets to know how many IFDs we have seen
|
2022-04-27 17:50:34 +02:00 |
|
Alan Race
|
436cfaf69f
|
Added ability to select which image (IFD) to load
|
2022-04-27 17:38:44 +02:00 |
|
Alan Race
|
8fcf49deac
|
Added ability to select which tile to load (based on index)
Also reduced repeated code when calculating padding etc.
|
2022-04-27 16:46:48 +02:00 |
|
Alan Race
|
2cf33d634d
|
Clean up read_image
|
2022-04-27 15:00:22 +02:00 |
|
Alan Race
|
eeb79ee07a
|
Reduce number of clones when processing jpeg data
|
2022-04-27 14:46:52 +02:00 |
|
Alan Race
|
592405268e
|
Added ability to decompress tiled jpeg files
|
2022-04-27 14:05:41 +02:00 |
|
Jonathan Behrens
|
4f46bacfda
|
Fixes to PackBitsReader
|
2022-04-16 16:10:09 -04:00 |
|
Jonathan Behrens
|
7881291032
|
Make PackBitsReader incrementally decompress output
|
2022-04-15 12:25:24 -04:00 |
|
Jonathan Behrens
|
ff33343372
|
Fix formatting
|
2022-04-15 11:28:56 -04:00 |
|
Jonathan Behrens
|
c910ef8534
|
Remove redundant limit on LZWReader output length
|
2022-04-15 10:02:33 -04:00 |
|
Jonathan Behrens
|
e4eac36c1c
|
Remove now unneeded limit check
|
2022-04-14 21:40:19 -04:00 |
|
Jonathan Behrens
|
9394f6d043
|
Make LZWReader incrementally decompress input
|
2022-04-14 21:00:36 -04:00 |
|
Jonathan Behrens
|
2c7c8891f4
|
Remove use half-open range pattern which is unstable on rustc 1.48
|
2022-01-12 20:46:17 -05:00 |
|
Jonathan Behrens
|
01df985ef8
|
Fix formatting
|
2022-01-12 20:13:23 -05:00 |
|
Jonathan Behrens
|
593479e5e3
|
Avoid reading tags in read_jpeg
|
2022-01-12 19:56:08 -05:00 |
|
Jonathan Behrens
|
720e6586b9
|
Make read_ifd and read_entry stateless
|
2022-01-12 19:56:08 -05:00 |
|
Jonathan Behrens
|
47080293db
|
Move image loading to Image::from_reader
|
2022-01-12 19:56:02 -05:00 |
|
Jonathan Behrens
|
b385a6e752
|
Move some decoder fields into a new Image struct
|
2022-01-12 19:50:06 -05:00 |
|
Jonathan Behrens
|
6ba5553d20
|
Compute tile attributes on demand
|
2022-01-12 19:50:06 -05:00 |
|
Jonathan Behrens
|
a36cd6bd90
|
chunk_{offsets,bytes} to replace {tile,strip}_{offsets,bytes}
|
2022-01-12 19:50:06 -05:00 |
|
Jonathan Behrens
|
63e6ef8bba
|
Add current_chunk to replace strip_index and current_tile
|
2022-01-12 19:50:06 -05:00 |
|
Jonathan Behrens
|
2d10cff97e
|
Reading fields shouldn't need the entire Decoder
|
2022-01-12 19:50:06 -05:00 |
|
Jonathan Behrens
|
23fe194ad9
|
Remove read_ifd_offset_nonrepeating
|
2022-01-12 19:50:06 -05:00 |
|
Jonathan Behrens
|
2d572c0370
|
Remove Decoder::byte_order
|
2022-01-12 19:50:06 -05:00 |
|
Jonathan Behrens
|
4c942ca690
|
Read JPEGTables ahead of time
|
2022-01-12 19:50:06 -05:00 |
|
Jonathan Behrens
|
a19d35233a
|
Read predictor ahead of time
|
2022-01-12 19:50:06 -05:00 |
|
Jonathan Behrens
|
31da6737b9
|
More refactoring
|
2022-01-12 19:45:41 -05:00 |
|
Jonathan Behrens
|
e9aa39d895
|
Initialize Decoder in new instead of init
|
2022-01-12 19:45:41 -05:00 |
|
Jonathan Behrens
|
3242d328d1
|
Reformat
|
2021-12-22 12:06:12 -05:00 |
|
Jonathan Behrens
|
d6c42dd60a
|
Some refactoring of strip/tile decoding
|
2021-12-22 12:05:38 -05:00 |
|
5225225
|
885d762def
|
Implement cycle checking in IFD offsets
|
2021-09-08 18:08:10 +01:00 |
|
5225225
|
2c9e02d347
|
Merge remote-tracking branch 'origin/master' into oom
|
2021-09-06 17:53:16 +01:00 |
|
Jonathan Behrens
|
b318481c55
|
Merge pull request #143 from Christopher22/reset_tag_values
Do not carry tag values from previous images
|
2021-08-15 11:43:44 -04:00 |
|
5225225
|
1774b362d3
|
x
|
2021-07-15 18:08:40 +01:00 |
|
Tomáš Král
|
e92cf219a9
|
Fix the mandrill.tiff regression (#145)
* fix mandrill.tiff regression from upstream
* use contains_key(), added StripTileTagConflict error
* updated test_div_zero, added test_no_rows_per_strip
|
2021-06-17 09:22:07 -04:00 |
|
Christopher Gundler
|
3e5f977460
|
Do not carry tag values from previous images
|
2021-06-14 20:21:51 +02:00 |
|
5225225
|
f0666aebbf
|
Fix overflow when calculating strip height for multiple images
|
2021-05-29 22:52:42 +01:00 |
|