Rechercher une page de manuel

Chercher une autre page de manuel:


Langue: en

Version: 2008-07-25 (ubuntu - 07/07/09)

Section: 1 (Commandes utilisateur)


zebraimg - scan and decode bar codes from image file(s)


zebraimg [-qv] [--quiet] [--verbose[=n]]
{-d | --display | -D | --nodisplay | image...}
zebraimg {-h | --help | --version}


For each specified image file zebraimg scans the image for bar codes and prints any decoded data to stdout. Images may optionally be displayed to the screen

The underlying library currently supports EAN-13 (including UPC-A and ISBN subsets), EAN-8, Code 128, Code 39, and Interleaved 2 of 5 symbologies. The specific type of each detected symbol is printed with the decoded data.


This program follows the usual GNU command line syntax. Single letter options may be bundled, long options start with two dashes (`-').

-h, --help

Print a short help message describing command line options to standard output and exit


Print program version information to standard output and exit

-v, --verbose[=n]

Increase debug output level. Multiple -v options create more spew. Alternatively specify n to set the debug level directly

-S[symbology.]config[=value], --set [symbology.]config[=value]

Set decoder configuration option config for symbology to value. value defaults to 1 if omitted. symbology is one of ean13, ean8, upca, isbn13, isbn10, i25, code39, code128 or the special value *. If symbology is omitted or *, the config will be set for all applicable symbologies. These are the currently recognized configs. Prefix a config with "no-" to negate it. Not all configs are appropriate for every symbology.
Control decoding/reporting of a symbology. For symbologies which are just subsets of ean13 (upca, isbn13, isbn10), this config controls whether the subsets are detected and reported as such. These special cases are disabled by default, all other symbologies default to enabled


Antonym for enable


Control whether check digits are included in the decoded output. Enabled by default. This config does not apply for code128, which never returns the check digit. It also not apply for cases where the check digit is disabled (see add-check). Check digits are currently not implemented for i25 or code39


Enable decode and verification of a check digit for symbologies where it is optional: this will include code39 and i25, neither of which implements the check digit yet


Enable escape sequences that encode the full ASCII character set. This would apply to code39, except that it's not implemented either...

-q, --quiet

Quiet operation; only output decoded symbol data. specifically this disables the statistics line printed (to stderr) before exiting, as well as the warning message printed (also to stderr) when no barcodes are found in an image

-D, --nodisplay

Disable display of subsequent image files, until --display is encountered. This option may appear multiple times to enable display of specific images. Image display is disabled by default


Scan a JPEG image of a UPC bar code symbol and pass resulting data to a script that searches for the code in a database and does something useful with it:

 zebraimg product.jpg |

The example script included in the examples/ subdirectory of the distribution will make an XMLRPC call to a popular internet UPC database and print the product description if found.




Jeff Brown <>

Copyright © 2007-2008 Jeff Brown

All Rights Reserved

- Puis-je vous poser une question stupide ?
- Vous venez de le faire.
-+- André Weil -+-