Original Post
SDL_LoadBMP can be used to create an SDL surface from a BMP file. But can SDL_LoadBMP also be used to load a BMP in another type or array? Basicly I'd like to load a BMP into an array of the form char picture[width][height][3] (the [3] is for the RGB color components) and do some stuff with it, and since I'm using SDL it would be no more than normal to use SDL_LoadBMP. But I don't know how to find the width and height of the surface it creates with that BMP, and how to get the pixel values from it.