Skip to content

Basic bitmap image manipulation features and BMP file I/O for Ada

License

Notifications You must be signed in to change notification settings

ellamosi/Ada_BMP_Library

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ada BMP Library

Build Status

This project aims to provide very basic bitmap image manipulation features and BMP file I/O to Ada programs. It's based on the bitmap handling capabilities of the Ada Drivers Library project.

BMP Output Sample

Features

  • Versatile buffer representation of bitmaps
  • BMP file reading (very limited support for now)
  • BMP file writing
  • Drawing primitives include
    • Variable thickness lines
    • Rectangle fill/outline
    • Rounded rectangle fill/outline
    • Circle fill/outline
    • Bezier curves

Getting started

Prerequisites

The software is written in Ada 2012 and can be used with a compiler like "GNAT GPL 2017" (Download it here).

Project setup

Clone the project into a directory of your choice. Add the dependency to your project, if you use a GPR based tool, just reference the bitmap project file like so:

with "../Ada_BMP_Library/bitmap";

Usage

To start using the Ada_Drivers_Library, please check out the tests, which illustrate file I/O, buffer allocation and bitmap manipulation.

License

All files are provided under a 3-clause Berkeley Software Distribution (BSD) license. As such, and within the conditions required by the license, the files are available both for proprietary ("commercial") and non-proprietary use.

For details, see the LICENSE file in the root directory.

About

Basic bitmap image manipulation features and BMP file I/O for Ada

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Ada 95.8%
  • Python 4.2%