| Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
BufferedImageLuminanceSource (#2107)
The crop-bounds check was only in the else branch, so TYPE_BYTE_GRAY images
skipped it and an out-of-bounds crop was accepted, failing later with an
ArrayIndexOutOfBoundsException instead of IllegalArgumentException. Hoist the
check above the image-type branch so it applies to all images. Adds a test.
|
|
|
|
Fixes https://github.com/zxing/zxing/issues/1682
|
|
|
|
in case (#1482)
|
|
updates
|
|
|
|
* Add option to output raw bitstream from CommandLineRunner.
Useful for debugging barcodes. Same as the web decoder.
* Use StringBuilder. Fix indentation.
|
|
|
|
|
|
updates
|
|
Java 9 module for javase
|
|
|
|
|
|
|
|
code inspections
|
|
|
|
|
|
|
|
|
|
|
|
Remove old jetty plugin.
|
|
|
|
|
|
|
|
tightening visibility, removing unnecessary casts
|
|
|
|
javase, which doesn't exist by default in Java 9
|
|
|
|
|
|
|
|
|
|
|
|
|
|
RGB to gray, the weight of R is 0.299, not 0.229. The comment have a little error. And why add 0x200 ? It may be a error. 306/1024 = 0.2988. 601/1024=0.5869 and 117/1027 = 0.1143.
|
|
|
|
|
|
|
|
|
|
going forward
|
|
|
|
|
|
|
|
|
|
|
|
new notes
|
|
|
|
|
|
APIs more.
|