Skip to content

A library for creating bi-level monochrome TIFF images

Notifications You must be signed in to change notification settings

jkillingsworth/bitonal-docs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

67 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

A library for creating bi-level monochrome TIFF images

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages