8000 GitHub - erenyesilyurt/bmprinter: Create and render to uncompressed BMP files
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

erenyesilyurt/bmprinter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BMPrinter

This is a header only C++ library that allows you to create an image, change individual pixels in this image and save it into an uncompressed RGB .bmp file.

Usage

Create an image with given width and height:

BMPImage image(512, 512);

Change the pixel in 4th row 3rd column to red:

image.put(1.0, 0, 0, 4, 3);

Save the image into a file:

image.save("redpixel.bmp");

See example.cpp for an example.

About

Create and render to uncompressed BMP files

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0