Aurelia Molzer
695208cffe
Merge pull request #298 from image-rs/release-0.10.3
...
Add metadata and changelog for 0.10.3
v0.10.3
2025-09-01 00:33:39 +00:00
Aurelia Molzer
4acdfea783
Add metadata and changelog for 0.10.3
2025-09-01 02:30:40 +02:00
Aurelia Molzer
64286c2110
Merge pull request #294 from image-rs/fax-default-feature
...
Make fax a default feature
2025-09-01 00:15:14 +00:00
Aurelia Molzer
12c98535f6
Merge pull request #297 from image-rs/fax4-photometric-interpretation
...
Verify WhiteIsZero invert, add Gray(1) color type
2025-09-01 00:14:14 +00:00
Aurelia Molzer
1556713d6e
Simplify match in invert
2025-09-01 02:12:10 +02:00
Aurelia Molzer
682ef0c375
Comment on fax3/4 RLE treatment in tiff
2025-09-01 01:59:42 +02:00
Aurelia Molzer
bc71086a96
Verify WhiteIsZero invert, add Gray(1) color type
...
This was found through the fax4 decoding that is always bilevel.
No longer silently ignore an unknown color type when a photometric
interpretation requires an inversion. DICOM requires that WhiteIsZero
and BlackIsZero are only used for samples-per-pixel=1 but we do not
strictly enforce that early. Previously for the result Multiband color
we just ignored the tag which is also not right.
2025-09-01 00:25:48 +02:00
Sergey "Shnatsel" Davidoff
e67bac763f
Merge pull request #295 from image-rs/fax-supported-readme
...
Document Fax compression as supported
2025-08-31 20:38:38 +01:00
Sergey "Shnatsel" Davidoff
839655b975
Clarify it's Fax4 only, fax3 is not supported
2025-08-31 20:36:17 +01:00
Sergey "Shnatsel" Davidoff
85635c3cd2
Document Fax compression as supported
2025-08-31 19:18:43 +01:00
Sergey "Shnatsel" Davidoff
481a2ab54a
Make fax a default feature
...
Fax was commonly requested, so let's make it Just Work when tiff crate is used through `image` where it's difficult to fiddle with tiff crate features.
2025-08-31 15:28:09 +01:00
Aurelia Molzer
7c6c327817
Merge pull request #229 from stephenjudkins/sdj/fax4-support
...
CCITT group 4 (Fax4) decoding support
2025-08-31 11:58:05 +00:00
Aurelia Molzer
9f1de91880
Make an explicit 'fax' feature
2025-08-31 01:32:32 +02:00
Aurelia Molzer
4a68feab5a
Apply clippy lints
2025-08-31 01:26:05 +02:00
Aurelia Molzer
b5afb8cca4
Drop bitvec dependency
2025-08-31 01:25:58 +02:00
Stephen Judkins
c8d43262e9
Simplify decoder
...
Reuse the allocation of bits for every row though
2025-08-31 01:25:51 +02:00
Stephen Judkins
80ce77190e
Refactor Group4 reader into stream module
2025-08-31 01:25:43 +02:00
Stephen Judkins
c75aa98ce2
bit-addressable output (doesn't work yet)
2025-08-31 01:25:42 +02:00
Stephen Judkins
c1087f6f08
Reader instance for group 4-decoded images, that buffer one line at a time
2025-08-31 01:24:21 +02:00
Aurelia Molzer
8cc6bc657d
Merge pull request #293 from 1c3t3a/fix-byte-metadata-array
...
Fix type mismatch for reading Lists of Bytes
2025-08-30 21:33:48 +00:00
Stephen Judkins
9fcc2a3b65
review changes: pass in width/height, unwrap reader bytes
2025-08-30 23:24:30 +02:00
Stephen Judkins
666f871d30
CCITT group 4 (Fax4) decoding support
2025-08-30 23:20:41 +02:00
Bastian Kersting
a919b8febf
Fix type mismatch for reading Lists of Bytes
...
At the moment when writing Byte strings into tiff metadata sections (like
for XMP metadata) and try to read it with this crate, you will find your
characters as a Value::UnsignedBig, holding the char value with padding.
This seems wrong and we should instead return actual Value::Bytes.
2025-08-29 12:06:03 +00:00
Aurelia Molzer
85b5df7a62
Merge pull request #292 from image-rs/changelog-0.10.1
...
Changelog 0.10.2
2025-08-26 16:03:34 +00:00
Aurelia Molzer
756ea3e813
Add metadata for 0.10.2
v0.10.2
2025-08-26 11:24:04 +02:00
Aurelia Molzer
0eead083f6
Fix missing method on Decoder
2025-08-26 11:19:35 +02:00
Aurelia Molzer
34232d8141
Merge pull request #291 from image-rs/changelog-0.10.1
...
Populate changelog for 0.10.1
2025-08-25 21:42:34 +00:00
Aurelia Molzer
cbcf6b97d4
Bump version number 0.10.1
v0.10.1
2025-08-25 23:21:34 +02:00
Sergey "Shnatsel" Davidoff
19c811e86d
populate changelog for 0.10.1
2025-08-25 15:20:04 +01:00
Aurelia Molzer
50be15e356
Merge pull request #290 from jakubadamw/nightly-compilation-warnings
...
Address compilation warnings in the Nightly channel of Rust
2025-08-14 16:50:22 +00:00
Jacob Adam
718f2cb455
Address compilation warnings in the Nightly channel of Rust.
2025-08-14 17:45:21 +01:00
Aurelia Molzer
36a16db659
Merge pull request #285 from image-rs/read-into-buffer
...
Read into byte buffer
2025-07-25 19:16:09 +00:00
A. Molzer
d70c31dcbf
Add a Bug note about planar configuration
2025-07-25 21:13:41 +02:00
Aurelia Molzer
b589d10a27
Merge pull request #289 from aotimme/decoder-inner
...
Add inner() method to decoder to provide access to raw reader
2025-07-22 20:18:56 +02:00
Alden Timme
f4378eeb80
Also split test_planar_rgb_u8 test
2025-07-22 08:48:57 -07:00
Alden Timme
49015c6e93
Move into separate test
2025-07-22 08:42:39 -07:00
Alden Timme
29402875cb
Add inner() method to decoder to provide access to raw reader
2025-07-21 20:47:47 -07:00
Aurelia Molzer
33453289b6
Merge pull request #287 from image-rs/icc-tag
...
Add ICC (color profile) to the set of known tags
2025-07-19 18:17:56 +02:00
A. Molzer
ce0ca5c234
Add ICC (color profile) to the set of known tags
2025-07-19 18:12:54 +02:00
A. Molzer
f671293bd8
Fix byte-crc test for big endian platforms
2025-07-19 18:08:02 +02:00
A. Molzer
48d52bed9b
Return buffer layout as a struct
...
Prepares extensibility for the eventual case of supporting multi-planar
image layouts that are to be written into a multi-planar buffer as
indicated by the caller in some way (possibly not via read_*_bytes but a
method taking a wrapper around the output buffer instead). Through the
struct we can later add an indicator that can be used by the caller to
decide between methods of fetching the pixel data as appropriate.
2025-07-19 17:46:37 +02:00
Aurelia Molzer
7707060982
Merge pull request #286 from image-rs/clippy
...
Resolve all the clippy lints and add it to CI
2025-07-19 17:39:26 +02:00
A. Molzer
c370ac4b92
Take row stride input in chunk bytes
2025-07-19 00:12:43 +02:00
A. Molzer
b2bcbbaf23
Enable clippy for the merge workflow
2025-07-14 19:56:06 +02:00
A. Molzer
d07da5a6cb
Resolve clippy lints in tests
2025-07-14 19:56:06 +02:00
A. Molzer
a3c81e9830
Add Directory::is_empty for completeness
2025-07-14 19:56:06 +02:00
A. Molzer
46e51cc67e
Make documentation adhere clippy, more natural
2025-07-14 19:56:06 +02:00
A. Molzer
f6a762b72c
Upgrade usage of format! and Default
2025-07-14 19:56:06 +02:00
A. Molzer
23672b2490
Switch to div_ceil for rounding implementation
2025-07-14 19:25:12 +02:00
A. Molzer
ca74c03520
Fix straightforward cast/borrow lints
2025-07-14 19:25:12 +02:00