Début de la saeé
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
ifndef IMAGES_H
|
||||
|
||||
#define IMAGES_H
|
||||
|
||||
|
||||
typedef struct {
|
||||
|
||||
/* dépend de la bibliothèque de l’IUT */
|
||||
|
||||
int width;
|
||||
|
||||
int height;
|
||||
|
||||
void* data;
|
||||
|
||||
} Image;
|
||||
|
||||
|
||||
Image load_image(const char* path);
|
||||
|
||||
void slice_image_into_tiles(const Image img, int rows, int cols);
|
||||
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user