![]() |
libsxbp
v0.27
Experimental generation of 2D spiralling lines based on input binary data.
|
This compilation unit provides functionality to render a bitmap struct to a PNG image (stored in a buffer). More...

Go to the source code of this file.
Functions | |
| sxbp_status_t | sxbp_render_backend_png (sxbp_bitmap_t bitmap, sxbp_buffer_t *buffer) |
| Renders a bitmap image to a PNG image. More... | |
Variables | |
| const bool | SXBP_PNG_SUPPORT |
| Flag for whether PNG output support has been enabled. More... | |
This compilation unit provides functionality to render a bitmap struct to a PNG image (stored in a buffer).
| sxbp_status_t sxbp_render_backend_png | ( | sxbp_bitmap_t | bitmap, |
| sxbp_buffer_t * | buffer | ||
| ) |
Renders a bitmap image to a PNG image.
| bitmap | Bitmap containing the image to render. | |
| [out] | buffer | Buffer to write out the PBM image data to. |
| const bool SXBP_PNG_SUPPORT |
Flag for whether PNG output support has been enabled.
This is compiled into the library, based on a macro set at build time. The value of this constant is false if PNG support is not enabled and true if it is.
1.8.11