New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can not read QRCode Image grap from some old Andriod phone #185
Comments
This just means that a particular frame does not decode. It's not a bug. |
Sorry, the "particular frame" is the image I upload, right? |
Yes, that's right. No you can read JPEG files in general just fine. It maybe that this image does not decode, but a similar one does. |
I write the test code, BufferedImage im = ImageIO.read(new File("/home/zozoh/invalid.jpg"));
System.out.printf("image width:%d, height:%d\n",
im.getWidth(),
im.getHeight()); it will output
Does it mean that the image I uploaded is readable and decodable? |
There you are just reading an image. Yes it sounds readable. I am saying that the particular image reprsented by your file is not decodable as a barcode. |
I am very curious that why it can not be decoded as a barcode? |
It is almost certainly because the finder patterns were not found. |
This Image can not be read.
I review the image attached, there are many light grep stripe accrossing whole image.
and the color value around RGB(177,188,194), seems should be ignore by zxing.
The text was updated successfully, but these errors were encountered: