cvs: php4(PHP_4_3) /ext/gd/libgd gd_topal.c

From: Date: Sun, 06 Oct 2002 17:50:26 +0000
Subject: cvs: php4(PHP_4_3) /ext/gd/libgd gd_topal.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-14627@lists.php.net to get a copy of this message
rasmus Sun Oct 6 13:50:26 2002 EDT Modified files: (Branch: PHP_4_3) /php4/ext/gd/libgd gd_topal.c Log: MFH fixes 19704 and 19781 Index: php4/ext/gd/libgd/gd_topal.c diff -u php4/ext/gd/libgd/gd_topal.c:1.5 php4/ext/gd/libgd/gd_topal.c:1.5.4.1 --- php4/ext/gd/libgd/gd_topal.c:1.5 Thu Aug 22 12:21:32 2002 +++ php4/ext/gd/libgd/gd_topal.c Sun Oct 6 13:50:25 2002 @@ -1558,8 +1558,9 @@ /* Do the work! */ zeroHistogram (cquantize->histogram); prescan_quantize (im, cquantize); - select_colors (im, cquantize, 256); + select_colors (im, cquantize, colorsWanted); /* TBB HACK REMOVE */ +#if 0 { FILE *out = fopen ("palettemap.png", "wb"); int i; @@ -1575,6 +1576,7 @@ fclose (out); gdImageDestroy (im2); } +#endif zeroHistogram (cquantize->histogram); if (dither) {

« previous php.cvs (#14627) next »