11 unstable releases (5 breaking)

0.6.1 Dec 12, 2020
0.6.0 Oct 12, 2020
0.6.0-alpha Aug 13, 2020
0.5.0 Jun 1, 2020
0.1.0 Jun 18, 2018
Download history 18555/week @ 2020-11-09 21534/week @ 2020-11-16 19786/week @ 2020-11-23 21649/week @ 2020-11-30 21515/week @ 2020-12-07 23445/week @ 2020-12-14 18575/week @ 2020-12-21 18409/week @ 2020-12-28 23478/week @ 2021-01-04 24039/week @ 2021-01-11 22894/week @ 2021-01-18 25836/week @ 2021-01-25 24101/week @ 2021-02-01 22021/week @ 2021-02-08 23018/week @ 2021-02-15 24082/week @ 2021-02-22

87,812 downloads per month
Used in 705 crates (5 directly)

MIT license

1.5MB
3K SLoC

image-tiff

Build Status Documentation Further crate info

TIFF decoding and encoding library in pure Rust

Supported

Features

  • Baseline spec (other than formats and tags listed below as not supported)
  • Multipage
  • BigTIFF
  • Incremental decoding

Formats

This table lists photometric interpretations and sample formats which are supported for encoding and decoding. The entries are ColorType variants for which sample bit depths are supported. Only samples where all bit depths are equal are currently supported. For example, RGB(8) means that the bit depth [8, 8, 8] is supported and will be interpreted as an 8 bit per channel RGB color type.

PhotometricInterpretation UINT Format IEEEFP Format
WhiteIsZero Gray(8|16|32|64) Gray(32|64)
BlackIsZero Gray(8|16|32|64) Gray(32|64)
RGB RGB(8|16|32|64), RGBA(8|16|32|64) RGB(32|64), RGBA(32|64)
RGBPalette
Mask
CMYK CMYK(8|16|32|64) CMYK(32|64)
YCbCr
CIELab

Compressions

Decoding Encoding
None
LZW
Deflate
PackBits

Not yet supported

Formats and interpretations not listed above or with empty entries are unsupported.

  • Baseline tags
    • ExtraSamples
  • Extension tags

Dependencies