Open eiachh opened 2 months ago
It looks like there isn't enough white space on the right side.
I got the result with this code:
img2 := image.NewRGBA(image.Rect(0, 0, 600, 356))
draw.Draw(img2, img2.Bounds(), image.White, image.Pt(0, 0), draw.Over)
draw.Draw(img2, image.Rect(0, 0, 559, 356), img, image.Pt(0, 0), draw.Over)
// Prepare BinaryBitmap
bmp, err := gozxing.NewBinaryBitmapFromImage(img2)
Hi I am trying to use this lib, and it works great with QR codes and code128, but when I try to use UPCA/E or EAN8/13 it just does not work.
Could you tell me if this should work in theory? ` file, err := os.Open("image.png")
This is my image that other tools can parse easily