#include <stdlib.h>
#include <string.h>
#include "mr_error.h"
#include "mr_image.h"
Functions | |
MrImage * | mr_image_new (unsigned int w, unsigned int h) |
MrImage * | mr_image_new_from_data (unsigned int w, unsigned int h, unsigned char *data) |
void | mr_image_free (void *p) |
|
Destroys an image. |
|
Creates a new image with a specified size. |
|
Creates a new image with the specified size and data. !! COPY THE DATA !! |