EMPTY-PAGE(1) | ExactImage Manual | EMPTY-PAGE(1) |
empty-page - empty page detector of the ExactImage toolkit
empty-page [option...] {-i | --input} input-file
empty-page {-h | --help}
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.
-i file, --input file
-m n, --margin n
-p x, --percentage x
-h, --help
$ empty-page -i test.tif The image has 75461 dark pixels from a total of 1060992 (7.11231%). non-empty
The exit status is 0 if the image is mostly white, 1 otherwise.
Jakub Wilk <jwilk@debian.org>
https://exactcode.com/opensource/exactimage/
This manual page was written for the Debian system (and may be used by others).
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU General Public License, Version 2 or (at your option) any later version published by the Free Software Foundation.
On Debian systems, the complete text of the GNU General Public License can be found in /usr/share/common-licenses/GPL-2.
04/11/2010 | empty-page |