Polyconseil / zbarlight

A simple wrapper for zbar
BSD 3-Clause "New" or "Revised" License
163 stars 37 forks source link

Add helper to add background color on image #15

Closed fbochu closed 7 years ago

fbochu commented 7 years ago

For some images with alpha channel, the background color and the foreground color are the same after grey scale conversion, this will no allow us to detect 1D or 2D code on the image.

The copy_image_on_background() allow to add a background color on a image to avoid this issue.

refs #13