Skip to content

Instantly share code, notes, and snippets.

#include "dib_reader.hpp"
#include <cmath>
#include <cstddef>
#include <cstring>
#define NUM_CONVERT_TABLES 8
static bool convert_table_init = false;
#include <allegro5/allegro.h>
#include <allegro5/allegro_image.h>
#include <stdio.h>
#include <math.h>
#define PATH_PREFIX "bmpsuite2/"
static const char* FILE_ARRAY[] = {
PATH_PREFIX "g/rgb16.bmp",
PATH_PREFIX "g/rgb16-565.bmp",