This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
///read_bmp(filename) | |
// Reads 24 or 32 bit bitmap files | |
//returns a ds_grid of colors encoded as rgb hex | |
var handle; | |
handle = file_bin_open(argument0, 0); | |
var offset, width, height, bits, output; | |
offset = 29; | |
width = 0; | |
height = 0; | |
bits = 0; |