mirror of
https://github.com/php/php-src.git
synced 2024-09-24 11:27:28 +00:00
- add image flip API support
This commit is contained in:
parent
e26ea9df42
commit
af5bf879aa
@ -682,6 +682,14 @@ int gdImageSmooth(gdImagePtr im, float weight);
|
||||
/* Image comparison definitions */
|
||||
int gdImageCompare(gdImagePtr im1, gdImagePtr im2);
|
||||
|
||||
void gdImageFlipHorizontal(gdImagePtr im);
|
||||
void gdImageFlipVertical(gdImagePtr im);
|
||||
void gdImageFlipBoth(gdImagePtr im);
|
||||
|
||||
#define GD_FLIP_HORINZONTAL 1
|
||||
#define GD_FLIP_VERTICAL 2
|
||||
#define GD_FLIP_BOTH 3
|
||||
|
||||
#define GD_CMP_IMAGE 1 /* Actual image IS different */
|
||||
#define GD_CMP_NUM_COLORS 2 /* Number of Colours in pallette differ */
|
||||
#define GD_CMP_COLOR 4 /* Image colours differ */
|
||||
|
Loading…
Reference in New Issue
Block a user