shithub: cstory

ref: 1f88f7ffafd7c9fbc9ee54e4d8363c1c2dcc9b28
dir: /src/Bitmap.h/

View raw version
#pragma once

#include <stddef.h>

unsigned char* DecodeBitmap(const unsigned char *in_buffer, size_t in_buffer_size, size_t *width, size_t *height);
unsigned char* DecodeBitmapFromFile(const char *path, size_t *width, size_t *height);
void FreeBitmap(unsigned char *buffer);