Pergunta

I'm looking for an open source image generation script for Aztec (2D) barcodes:

Aztec Barcode

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.

Foi útil?

Solução

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.

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top