Skip to content

Creating one Pixel in a BMP in C

This code was just a challenge, I wanted to create a simple image file with BMP headers.  The following code simply generate pink pixel .

There is actually a pixel on this post somewhere there —>

The code is pretty simple, however has not been commented, for more information have a look to the BMP header on wikipedia.

Post a Comment

Your email is never published nor shared. Required fields are marked *