Commit: 22aeb976e0a42c82cec594e8ca7b38846758c9b7 Author: Pierre Joye <pierre....@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 -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php