#bindings #reference #standard #idiomatic #barcode #jab

jabcode

Bindings for the JAB code reference implementation

3 releases (stable)

1.1.0 Jul 27, 2022
1.0.0 Jul 27, 2022
0.1.0 Jul 26, 2022

#877 in Images

LGPL-2.1-only

8MB
13K SLoC

C 9K SLoC // 0.2% comments JavaScript 2.5K SLoC // 0.0% comments Rust 1K SLoC // 0.0% comments

Contains (APK file, 2.5MB) jabcode/android_reader/JabCodeApp.apk, (static library, 2.5MB) jabcode/src/jabcode/lib/libtiff.a, (static library, 1.5MB) jabcode/src/jabcode/lib/libpng16.a, (static library, 1MB) jabcode/src/jabcode/lib/win64/libpng16.a, (static library, 2MB) jabcode/src/jabcode/lib/win64/libtiff.a, (static library, 145KB) jabcode/src/jabcode/lib/libz.a and 1 more.

jabcode-rs

Crate status Crate docs

Idiomatic Rust bindings to the JAB Code standard implementation.

Usage

let image = jabcode::write_jabcode(
	"Hello world".as_bytes(),
	&jabcode::WriteOptions::default()).unwrap();

let buf = jabcode::read_jabcode(&image).unwrap();
let output = String::from_utf8(buf).unwrap();
assert_eq!("Hello world", output);

Dependencies

~6MB
~82K SLoC