Skip to content

Latest commit

 

History

History
154 lines (89 loc) · 4.58 KB

README.md

File metadata and controls

154 lines (89 loc) · 4.58 KB

Overview

This is a library for creating bi-level monochrome TIFF images.

Compression

The baseline image compression options are available:

  • No Compression
  • CCITT Group 3 1-Dimensional
  • PackBits

Dithering

The following dithering options are available:

Original Color Image

Threshold Dithering
  • Fixed (50%)

Threshold - Fixed (50%)

  • Dispersed 2x2

Threshold - Dispersed 2x2

  • Dispersed 4x4

Threshold - Dispersed 4x4

  • Dispersed 8x8

Threshold - Dispersed 8x8

  • Clustered 2x2

Threshold - Clustered 2x2

  • Clustered 4x4

Threshold - Clustered 4x4

  • Clustered 6x6

Threshold - Clustered 6x6

  • Clustered 8x8

Threshold - Clustered 8x8

Error Diffusion Dithering
  • Basic

Error Diffusion - Basic

  • False Floyd–Steinberg

Error Diffusion - False Floyd–Steinberg

  • Floyd–Steinberg

Error Diffusion - Floyd–Steinberg

  • Jarvis-Judice-Ninke

Error Diffusion - Jarvis-Judice-Ninke

  • Stucki

Error Diffusion - Stucki

  • Burkes

Error Diffusion - Burkes

  • Sierra 3-Row

Error Diffusion - Sierra 3-Row

  • Sierra 2-Row

Error Diffusion - Sierra 2-Row

  • Sierra Lite

Error Diffusion - Sierra Lite

  • Atkinson

Error Diffusion - Atkinson

  • Zhigang Fan

Error Diffusion - Zhigang Fan

  • Shiau-Fan 1

Error Diffusion - Shiau-Fan 1

  • Shiau-Fan 2

Error Diffusion - Shiau-Fan 2

Custom Dithering

Custom dithering options can also be applied by providing a user-defined threshold matrix or error diffusion filter definition.

References

TIFF

Compression

Dithering

Test Images

Notes

Here are some enhancements that can be made to this project:

  • Improve performance of the compression module
  • Parameterize the photometric interpretation
  • Parameterize the resolution unit
  • Parameterize the byte order
  • Support multi-strip images
  • Support multi-page documents
  • Support CCITT Group 3 two dimensional compression
  • Support CCITT Group 4 two dimensional compression
  • Create NuGet package