A. Molzer
860052a8f4
Rename decoding buffers
...
New names align better with conventions. In particular, Buffer refers to
an owning type.
2026-03-27 19:58:59 +01:00
A. Molzer
bf79af8de4
Add Decoder::open, deprecate new
2026-03-06 09:31:23 +01:00
A. Molzer
abf3cc617d
Bump MSRV to 1.88
2026-02-14 18:04:07 +01:00
A. Molzer
2d90179602
Soften deprecation of Decoder::read_image
2025-12-29 19:49:09 +01:00
A. Molzer
5d3a5242ea
Add plane selection to allocating result_extent
2025-11-26 19:18:27 +01:00
A. Molzer
02118620e2
Verify handling of a blocked writer
2025-11-08 11:52:58 +01:00
A. Molzer
54f733eaa3
Allow non-chained directories in writer
...
This is just the implementation details. In the DirectoryEncoder we did
not differentiate between different directories that should go into the
main image chain and other directories. This is now possible by storing
the prior offset as an explicit Option<NonZeroU64>.
Additionally, the whole encoder did not allow any intermediate data
between its last directory and new directories on the chain. The offset
of the relevant `next` field was not stored explicitly but derived from
the current stream position at the moment of starting the directory.
This would not allow any padding data or data written outside the
returned `DirectoryEncoder` object.
This relaxed both requirements by turning the offsets into attributes.
2025-07-13 02:22:17 +02:00
Jonathan Behrens
60f866c119
A bunch of clippy fixes
2023-08-20 13:32:08 -07:00
Pretorer
9f1e3d7a89
moved compression into TiffWriter
2022-01-10 11:55:08 +01:00
Philipp Oppermann
47dfa0aa3e
Merge branch 'master' into encode-bigtiff
2021-04-12 11:34:41 +02:00
Philipp Oppermann
4cfed1c7b1
Make encoders generic to support BigTiff too
2021-03-23 13:49:54 +01:00
Kal Conley
d086e289dd
Implement missing tag types and signed 64-bit support
2021-03-17 01:24:32 +01:00
Andreas Molzer
8ab9d30eff
Convert to edition 2018
...
Notably, This enables NLL even on older compilers such as 1.34.
2020-10-31 20:13:30 +01:00
Andreas Molzer
44c75a66ab
Merge remote-tracking branch 'origin/master' into features/32-bit-float-samples
2020-08-31 20:50:16 +02:00
наб
b853d841f3
Drop byteorder dependency
...
Ref: https://github.com/image-rs/image/issues/1000
2020-08-14 16:52:51 +02:00
Andrew Champion
8d4bdce7aa
Add support for IEEEFP 32 and 64 bit encoding
2020-02-10 13:21:16 +00:00
Onno Kammeraad
686e9b2648
added a missing offset increase while adding padding
2019-11-11 16:15:01 +01:00
Onno Kammeraad
80b8ec5cdb
Somehow the current offset was invalid when using multipage images. Now using the seek function to get the current offset
2019-11-06 13:58:29 +01:00
Dustin Thomson
30eb8487a6
Signed value support
...
Add support for SBYTE, SSHORT, SLONG, SRATIONAL as per the Tiff 6.0 spec
Add support for multiple BYTE
2019-08-14 21:22:56 -06:00
Birk Tjelmeland
514b7cddaa
Change minimal rustc version to 1.24.1
2019-05-03 23:12:29 +02:00
Atul Bhosale
522fbd1a69
Format code using 'cargo fmt'
2019-04-18 00:04:43 +05:30
Birk Tjelmeland
098b799a62
Fix string encoding and clean up
2019-02-26 11:09:54 +01:00
Birk Tjelmeland
f38c3f9c4a
Clean up api
2019-02-09 02:11:01 +01:00
Birk Tjelmeland
fb30648c12
Implemented basic tiff encoding
2019-01-31 21:20:49 +01:00