Comments (2)
sigh
I would like to keep the PGM parser as small as possible. I'll settle for ignoring that single comment in that single place. (Sure it doesn't catch all comments, but that change makes it slightly less wrong than it is now, and it fixes things for you.) I'd happily merge a PR with that regex change and a test covering a comment-bearing PGM file in spec/zbar/image_spec.rb
.
from ruby-zbar.
I found it when I manually converted screen shots, which are png files, to pgm, using Graphics Converter. I was testing that I was generating pgm correctly. The goal was to generate Y800, using Chunky-png, so a screen shot of a qrcode could be processed by zbar (which now works).
https://gist.github.com/rbur004/f3615da42dc163de83d7e9e1f386892d
from ruby-zbar.
Related Issues (13)
- Ruby 1.9 v 1.8? HOT 2
- JPEG datastream contains no image HOT 24
- LoadError: no library specified HOT 2
- only search for specific symbology? HOT 6
- Cannot process jpeg image HOT 4
- Implementing HOT 1
- Decoding PNG images HOT 15
- Q:Heroku Zbar Didn't find libzbar on your system (LoadError) HOT 23
- Can't read code with some noise. iOS app using zbar scans it fine. HOT 3
- ruby-zbar with EPEL zbar doesn't work correctly on CentOS7. HOT 1
- from_jpeg - Segmentation fault at 0x0000000000000000 HOT 1
- ZBAR ON MAC BROKEN? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ruby-zbar.