Apply flip & rotation on all frames of a multi-frame image; fixes issue #121

This commit is contained in:
Bert Münnich
2014-01-09 00:01:57 +01:00
parent e82397db15
commit f795273b65
3 changed files with 30 additions and 11 deletions

View File

@@ -39,14 +39,16 @@ typedef enum {
} direction_t;
typedef enum {
DEGREE_0 = 0,
DEGREE_90 = 1,
DEGREE_180 = 2,
DEGREE_270 = 3
} degree_t;
typedef enum {
FLIP_HORIZONTAL,
FLIP_VERTICAL
FLIP_NONE = 0,
FLIP_HORIZONTAL = 1,
FLIP_VERTICAL = 2
} flipdir_t;
typedef enum {