Happy !

TorstenBergmann / Barcode

Project infos

License MIT
Tags
Creation date 2013-06-14
Website

Monticello registration

About Barcode

To instantiate:

BarcodeEAN13 value: '2109876543210'

You can get the binarySequence of a barcode:

(BarcodeEAN13 value: '2109876543210') binarySequence

calcuate the checksum (last digit:

(BarcodeEAN13 value: '2109876543210') computeChecksum

or visualize the barcode:

BarcodeEAN13 example asForm asMorph openInWorld

or to write to a file:

PNGReadWriter putForm: BarcodeEAN13 example asForm onFileNamed: 'sample.png'