I'm looking for an open source image generation script for Aztec (2D) barcodes:
I can't seem to find any available scripts out there.
There is an Active-X control here that can be used only in IE and an image generator URL here, but these are not useful as it should be a pure javascript solution running under webkit-based browsers that can run in disconnected mode for mobile apps.
Anyone have some old code for this hanging around either written in javascript or that can be ported to javascript?
Thanks.
The essential difference between the more common QR code and Aztec is that QR codes are better for being read by consumers' phones. Aztec, however, is better for being displayed on consumers' phones – essential for high-speed scanning in a busy transport environment.
An Aztec Barcode format is centered around the central square, with a pattern of different layers. The pattern features square pixel layers of different sizes, such as 9 x 9 pixels, 13 x 13 pixels, 23 x 23 pixels, and so on. When combined, these squares are then encoded with the data the Aztec Barcode holds.
bwip-js runs in any browser that supports <canvas>
– IE 9+, FF 2+, Chrome, Safari 3+, Opera 9+, and Android 2.1+. It also runs server-side in Node. (If you wanted downlevel IE support, try using a <canvas>
emulation layer.)
Aztec is among the 83 barcode formats it can draw. Here's a demo of it in action.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With