Index: temp/trunk/data/lib/gdthumb.php
===================================================================
--- temp/trunk/data/lib/gdthumb.php	(revision 9587)
+++ temp/trunk/data/lib/gdthumb.php	(revision 9588)
@@ -230,5 +230,5 @@
 					sfprintr(imagecolorstotal ($src_im));
 					
-					imagetruecolortopalette($dst_im, true);
+					imagetruecolortopalette($dst_im, true, 256);
 				}
 				
