Skip to content
/ CBitmap Public

A C library for reading and writing bitmaps image files.

Notifications You must be signed in to change notification settings

jlcarr/CBitmap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CBitmap

A C library for reading and writing bitmaps image files.

Features

  • Uses ANSI C.
  • Defines a minimalist struct for holding image data.
  • Converts to RGBA format.
  • Easily integrated with OpenGL.
  • Simple design and usage.

Installation

None required; simply dowload the library, then include it in your main.c

#include "bmp.h"
$ gcc main.c

Usage

See the Duplicate Image example.

Further Work

  • Only really works with 32 bit pixels: those with an alpha channel.
  • A lot of formatting nuances that are not addressed.

About

A C library for reading and writing bitmaps image files.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages