A. Molzer
ca74c03520
Fix straightforward cast/borrow lints
2025-07-14 19:25:12 +02:00
A. Molzer
e62cdfbf42
Merge TagReader and exposed IfdReader internals
...
Having the value reader itself take care of the bigtiff and limit
semantics is a little cleaner, with the TagReader being responsible
for the interface of grabbing specific types of IFD values.
2025-07-11 15:09:31 +02:00
A. Molzer
98cd3dc2d2
Refactor directory reading
...
This allows us to recombine the reader and other file data in a Decoder
with any IFD, whether that of an image or an extension IFD as indicated
by an IFD pointer such as Exif and GPS.
2025-07-11 14:12:34 +02:00
Aurelia Molzer
df4e42eecc
Add a dedicated Directory type ( #277 )
2025-07-07 19:59:37 -07:00
Jonathan Behrens
7648317643
Stop doing color conversion when decoding JPEG compressed images ( #274 )
2025-06-22 16:19:36 -07:00
Emma
29b71ff597
add CMYKA ( #208 )
2025-06-15 16:38:22 -07:00
Jonathan Behrens
83e6d64751
Create feature flags for more compression algorithms ( #270 )
2025-06-15 15:50:14 -07:00
Jonathan Behrens
dc2c67469b
Switch to zune-jpeg ( #268 )
...
]
2025-06-14 21:13:16 -07:00
Jonathan Behrens
f44da4a00d
Switch from SmartReader to EndianReader ( #233 )
2025-06-08 18:45:10 -07:00
Micah Chambers
3bfb43e83e
Add FP16 support ( #257 )
2025-02-04 19:12:01 -08:00
Jonathan Behrens
d42e6be507
Fix formatting ( #263 )
2025-01-30 23:29:29 -08:00
Stefan Schake
a19cf37587
Support ZSTD compression method for reading ( #256 )
2024-12-20 12:50:34 -08:00
Jonathan Behrens
96d3a02efe
Fix 1bpp image decoding and add a test image ( #252 )
2024-10-31 20:21:02 -07:00
Jonathan Behrens
6dc7a266d3
Make decoding internally operate on byte buffers ( #230 )
2024-07-22 20:13:39 -07:00
Wei Ji and tromper
0c54a18e21
Add ColorType::Multiband enum variant to support samples>1 per pixel ( #224 )
...
Co-authored-by: tromper <scott@hopkinsunderground.com >
2024-03-24 15:04:52 -07:00
Jonathan Behrens
90ae5b8e54
Fix warnings ( #225 )
2024-03-23 13:51:28 -07:00
Jonathan Behrens
9b06e3726d
Sample format should not be a Vec ( #226 )
2024-03-23 13:51:19 -07:00
Jonathan Behrens
4a2e76858b
Allow arbitrary number of samples as long as all have the same bit depth ( #215 )
2023-10-04 09:45:03 -07:00
Jonathan Behrens
60f866c119
A bunch of clippy fixes
2023-08-20 13:32:08 -07:00
Jonathan Behrens
daa0e3eabf
Merge pull request #206 from fintelia/simplify-jpeg
...
Simplify and avoid allocation in jpeg decompression
2023-06-14 14:04:01 -07:00
Jonathan Behrens
24d203c7c3
Simplify and avoid allocation in jpeg decompression
2023-06-11 12:54:30 -07:00
Jonathan Behrens
473868a7bb
Merge pull request #199 from pka/planar-config
...
Basic support for planar configuration
2023-06-10 12:46:20 -07:00
Alan Race
d1ad9b2664
Don't panic when parsing metadata when custom compression is used
2023-03-07 09:15:24 +01:00
Andreas Molzer
aa10d27a28
Merge pull request #200 from anfedotoff/master
...
Fix capacity overflow in JpegReader
2023-02-06 21:22:13 +01:00
fedotoff
8fa175c371
Fix capacity overflow in JpegReader
2023-02-05 17:53:37 +03:00
Pirmin Kalberer
2a15aa6b7e
Support also tiled planar images
2023-01-17 11:57:54 +01:00
Pirmin Kalberer
42feeba8da
Add basic support for planar configuration
2023-01-12 23:34:31 +01:00
Jonathan Behrens
0da9770916
Merge pull request #190 from kurtkuehnert/YCbCr_support
...
Added support for the YCbCr PhotometricInterpretation
2023-01-06 23:54:16 -08:00
Kurt Kühnert
da07c0f4f5
added round trip test
...
fixed ci
added colortype
2023-01-05 09:34:54 +01:00
Pirmin Kalberer
21252d9d89
Fix padding when image size is multiple of chunk size
2022-12-16 23:37:38 +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
Kurt Kühnert
a08604b015
added support for the YCbCr PhotometricInterpretation
2022-11-16 17:33:39 +01:00
Andreas Molzer
0e9f8e3b5b
Mark more tag enums as non_exhaustive
2022-11-10 12:45:04 +01: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
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
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
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
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
0447d81b07
Updated to use new unified chunk handling
2022-05-09 09:56:46 +02:00