Skip to content

Allow megapixles to act as a code reader

Administrator requested to merge code-scan into master

This adds a commandline option to megapixel to allow it run as a code scanner (#41). It either prints the first code found

 $ megapixels -s
 $ megapixels -s auto
 $ megapixels --code_scanner

or the first one tapped

 $ megapixels -s man

The code is printed to stdout. Hence, all other printing to stdout was replace with g_message, g_warning, or g_error.

Closes #41

Edited by Administrator

Merge request reports

Loading