JFLib

img_tiff#

TIFF -- crate root lib/img_tiff/lib.rs

img_tiff -- TIFF decoder and encoder (+ CCITT)          [src/img/tiff.s, tiff_ccitt.s]

  CODEC                      the IMGCODEC descriptor (probe, decode, encode, caps, iom)
  dec::probe / dec::decode   tiff_probe / tiff_decode (classic + BigTIFF, strips / tiles,
                             none / LZW / Deflate / PackBits / JPEG / CCITT, predictors,
                             1..32-bit integers and floats, every colour model of the
                             assembly, pages, metadata; parallel for big images)
  enc::encode                tiff_encode (none / LZW / Deflate / PackBits, 32 / 24 / 8 bit)

Modules: dec (the reader; IFDs through img_core::exif::Tifr), lzw (tc_lzw), ccitt
(tiff_ccitt.s), enc (the writer).

img_tiff API#

  • static CODEC: Codec the codec descriptor [tiff_codec]

img_tiff modules#

The codec's building blocks (public for the codec test app codectest; see their source headers):

ModuleContent
img_tiff::decthe TIFF reader: directory, setup, strips / tiles (in parallel for big images), decompressors, predictors, sample conversion, YCbCr / CIELab, JPEG strips, ...
img_tiff::encthe TIFF writer

Source: docs/API.md in the JFLib repository.