shithub: cstory

ref: bdcb1f3a3ec75a473d495b8e39afbcb6edbf821f
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, unsigned int *width, unsigned int *height);
unsigned char* DecodeBitmapFromFile(const char *path, unsigned int *width, unsigned int *height);
void FreeBitmap(unsigned char *buffer);