-
Notifications
You must be signed in to change notification settings - Fork 24
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
Cannot process jpeg image #5
Comments
Following these same steps, I get:
Are you sure the |
I'm sure it is loading the right libzbar:
If I run |
It's may be a JPEG quality issue. I got a .png QR Code image cropped from a scanner generated image, and zbarimg can read it. While when I use imagemagick convert it to .jpg, then zbar failed to read it. Convert it to .pgm, zbar reads it. Finally, I convert it to .jpg via command: convert crop.png -quality 90 crop.jpg, then zbar can read the jpg file now.
|
I'm using the latest zbar from mercurial on sf.net. I can process a jpeg file using 'zbarimg bigstock-Barcode-18830351.jpg', but the following does not work:
z
is#<ZBar::Image:0x00000001c55778 @img=#<FFI::AutoPointer address=0x000000021b8710>>
,r
is[]
, and no errors are generated.I'm using http://www.geeknewscentral.com/wp-content/uploads/2012/12/bigstock-Barcode-18830351.jpg as the test image.
The text was updated successfully, but these errors were encountered: