diff options
author | Christoph M. Becker <cmbecker69@gmx.de> | 2016-10-06 18:28:46 +0200 |
---|---|---|
committer | Christoph M. Becker <cmbecker69@gmx.de> | 2016-10-06 18:28:46 +0200 |
commit | 4ebdb483e4340bf7bdf7c74a5e62c0403c26af9d (patch) | |
tree | 1ff7c6466df54b4c46a49fec87c819d7fc0ebe4c /src/gd.c | |
parent | b697bf74dbdd0ba472e3d3ec5ee348b21f3984f2 (diff) | |
download | libgd-4ebdb483e4340bf7bdf7c74a5e62c0403c26af9d.tar.gz |
Document gdImageCompare()
Diffstat (limited to 'src/gd.c')
-rw-r--r-- | src/gd.c | 16 |
1 files changed, 13 insertions, 3 deletions
@@ -3941,9 +3941,19 @@ BGD_DECLARE(void) gdImageInterlace (gdImagePtr im, int interlaceArg) im->interlace = interlaceArg; } -/* - Function: gdImageCompare -*/ +/** + * Function: gdImageCompare + * + * Compare two images + * + * Parameters: + * im1 - An image. + * im2 - Another image. + * + * Returns: + * A bitmask of <Image Comparison> flags where each set flag signals + * which attributes of the images are different. + */ BGD_DECLARE(int) gdImageCompare (gdImagePtr im1, gdImagePtr im2) { int x, y; |