tiff_viewer library

Optional Flutter viewer for TIFF/BigTIFF pages of any size.

Import this, from a Flutter app, for TiffImageView: a pannable, zoomable view that decodes only the tiles on screen, at the pyramid rung matching the zoom — so a multi-gigapixel page opens and moves as smoothly as a small one. TiffImageView(filePath: ...) decodes on background isolates (native platforms); TiffImageView.source(...) reads a TiffAsyncByteSource piece by piece and works on the web too.

Classes

TiffImageView
A pannable, zoomable view of one page of a TIFF/BigTIFF file of any size — the counterpart to package:svs's SvsImageView.
TiffImageViewState
State of a TiffImageView — reach it through a GlobalKey to call resetView or read imageSize.

Enums

TiffImageViewStart
Where a TiffImageView starts when it opens (and after its source changes).