logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

empty-page - empty page detector of the ExactImage toolkit

Authors

JakubWilk <jwilk@debian.org>
           Wrote this manual page for the Debian system.

       https://exactcode.com/opensource/exactimage/
           This manual page incorporates texts found on the ExactImage homepage.

Description

       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.

       empty-page counts dark pixels of a black and white image and decides with a threshold whether the page is
       most probably empty, and thus can be removed from the image processing stream.

Examples

           $ empty-page -i test.tif
           The image has 75461 dark pixels from a total of 1060992 (7.11231%).
           non-empty

Exit Status

       The exit status is 0 if the image is mostly white, 1 otherwise.

Name

       empty-page - empty page detector of the ExactImage toolkit

Options

-ifile, --inputfile
           Read image from the specified file.

       -mn, --marginn
           Set width of border margin to skip. For speed reasons, the margin has to be a multiple of 8. The
           default is 16.

       -px, --percentagex
           Set fraction of permissible dark pixels. The default is 0.05 (5%).

       -h, --help
           Display help text and exit.

See Also

exactimage(7)

Synopsis

empty-page [option...] {-i | --input} input-fileempty-page {-h | --help}

See Also