Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/zertovitch/ada-bar-codes

Ada Bar Codes: bar code (1D and 2D) generator in pure Ada
https://github.com/zertovitch/ada-bar-codes

ada ada-language ada-library barcode barcode-generator datamatrix datamatrix-generator ean13 qr qr-code qr-code-generator qr-codes qr-generator qrcode qrcode-generator upc-a upca

Last synced: about 2 months ago
JSON representation

Ada Bar Codes: bar code (1D and 2D) generator in pure Ada

Awesome Lists containing this project

README

        

Ada Bar Codes
=============

The project Ada Bar Codes provides a package for generating
various types of bar codes, including 2D bar codes like the QR code,
on different output formats, such as PDF, SVG or bitmaps.

The creation of a bar code is as simple as this small procedure:

with Ada.Text_IO, Bar_Codes, Bar_Codes_Media;

procedure Small_Demo is
use Ada.Text_IO;
svg : File_Type;
begin
Create (svg, Out_File, "qr_code.svg");
Put_Line
(svg,
Bar_Codes_Media.SVG_Bar_Code
(Bar_Codes.Code_QR_Low, 100.0, 100.0, "mm", "Hello"));
Close (svg);
end Small_Demo;

====

Full description in: ada_bar_codes.txt