optimize2bw(1)

optimize2bw1

Automatic thresholder of the exactimage toolkit

Usage

optimize2bw [option ...] {-i | --input} input-file {-o | --output} output-file

optimize2bw --help

Overview

ExactImage is a fast C++ image processing library. Unlike many other library frameworks it allows operation in several color spaces and bit depths natively, resulting in low memory and computational requirements.

optimize2bw reads image files and performs automatic thresholding and optional scaling on the data. It is useful for long term archiving of documents that have to be stored in sub-byte black and white data to reduce storage requirements.

Options

-i file, --input file

Read image from the specified file.

-o file, --output file

Save output image to the specified file.

-n, --denoise

Remove (“denoise”) single bit pixel noise.

-d n, --dpi n

Scale the image to the specified resolution.

-h n, --high n

Set high normalization value.

-l n, --low n

Set low normalization value.

-r n, --radius n

Set “unsharp mask” radius. The default is 0.

-s n, --scale n

Set output scale factor. The default is 1.0.

-sd x, --standard-deviation x

Set standard deviation for Gaussian distribution. The default is 0.0.

-t n, --threshold n

Set threshold value. The default is 0.

--help

Display help text and exit.

Examples

$ optimize2bw -i logo.jpg -o logo.tif
Scale: 0

Releases

8 releases since Debian 6.0 (Squeeze); the text changed 4 times.

  1. 6.0
  2. 7
  3. 8
  4. 9–10
  5. 11–13

Authors

Jakub Wilk <[email protected]>

Wrote this manual page for the Debian system.

https://exactcode.com/opensource/exactimage/

This manual page incorporates texts found on the ExactImage homepage.

From exactimage 1.2.1-2 in Debian 13 (Trixie). Parsed by carta from the page's man source.