Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/franciscohanna92/bmp_reader
A simple C program to read BMP files header
https://github.com/franciscohanna92/bmp_reader
Last synced: 7 days ago
JSON representation
A simple C program to read BMP files header
- Host: GitHub
- URL: https://github.com/franciscohanna92/bmp_reader
- Owner: franciscohanna92
- Created: 2018-09-09T22:05:54.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-09-19T05:19:20.000Z (over 6 years ago)
- Last Synced: 2024-11-09T13:38:52.346Z (2 months ago)
- Language: C
- Size: 248 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# BMP header reader
A simple C program to read BMP files header## How to use
Clone the repository. Build the project by `cd` into de `cmake-build-debug` folder and run `make`.
Execute the `bmp_reader` binary, passing as a argument a path to a BMP file. The content of the header will be printed in the standard output.## How it works
Checkout the methods in `lib/bmp_reader_methods.c`. They're pretty much self explanatory.
Here you have a diagram of the structure the BMP file format:![The Structure of the Bitmap Image File](https://upload.wikimedia.org/wikipedia/commons/c/c4/BMPfileFormat.png)