com php-src: - add todo for threshold: ext/gd/libgd/gd_crop .c
| From: | Pierre Joye | Date: | Thu, 28 Feb 2013 18:34:14 +0000 |
| Subject: | com php-src: - add todo for threshold: ext/gd/libgd/gd_crop .c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-71394@lists.php.net to get a copy of this message | ||
Commit: 22aeb976e0a42c82cec594e8ca7b38846758c9b7
Author: Pierre Joye <pierre.php@gmail.com> Thu, 28 Feb 2013 19:34:14 +0100
Parents: 0c32a18d4c9995fe101484eef46e292a51543b68
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=22aeb976e0a42c82cec594e8ca7b38846758c9b7
Log:
- add todo for threshold
Changed paths:
M ext/gd/libgd/gd_crop.c
Diff:
diff --git a/ext/gd/libgd/gd_crop.c b/ext/gd/libgd/gd_crop.c
index 274e719..562098f 100644
--- a/ext/gd/libgd/gd_crop.c
+++ b/ext/gd/libgd/gd_crop.c
@@ -193,7 +193,7 @@ gdImagePtr gdImageCropAuto(gdImagePtr im, const unsigned int mode)
}
return gdImageCrop(im, &crop);
}
-
+/*TODOs: Implement DeltaE instead, way better perceptual differences */
/**
* Function: gdImageThresholdCrop
* Crop an image using a given color. The threshold argument defines