Works perfectly in android's Barcode Scanner app. Seems that the problem is in the scanning software, not in the generated image.