Skip to content

zertovitch/ada-bar-codes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

3442351 · Feb 7, 2025

History

84 Commits
Sep 10, 2024
Feb 18, 2024
Sep 14, 2024
Feb 10, 2024
Jul 24, 2024
Sep 12, 2024
Sep 5, 2024
Feb 6, 2025
Sep 5, 2024
Feb 6, 2025
Sep 5, 2024
Sep 8, 2024
Sep 10, 2024
Sep 14, 2024
Aug 31, 2024
Aug 30, 2024
Jun 29, 2018
Feb 17, 2024
Sep 5, 2024
Jul 27, 2024

Repository files navigation

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