diff options
Diffstat (limited to 'include/tinyff/image/generic.h')
| -rw-r--r-- | include/tinyff/image/generic.h | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/include/tinyff/image/generic.h b/include/tinyff/image/generic.h index a0bba62..60a05b8 100644 --- a/include/tinyff/image/generic.h +++ b/include/tinyff/image/generic.h @@ -1,6 +1,3 @@ -// This is the generics image header file for tinyff -// It contains generic image structures and definitions - #include <tinyff/common.h> #include <tinyff/result.h> @@ -8,16 +5,14 @@ #define GENERIC_IMAGE_H -// The image origin is **not** the origin point of the image -// But rather from what the image was loaded +// Tracks which format the image was decoded from typedef enum { FF_IMAGE_ORIGIN_PNG, FF_IMAGE_ORIGIN_BMP } ff_image_origin; -// Only the basic information about an image -// Warning: Data is RGBA8888 using scanlines going from top to bottom +// Warning: Data is RGBA8888, scanlines top to bottom typedef struct { uint32_t width; uint32_t height; |
