Commit 250243bb authored by John Ellson's avatar John Ellson

make gd always generate indexed color pngs, responding to #2502

parent 68584a14
......@@ -136,7 +136,7 @@ static void gd_format(GVJ_t * job)
#ifdef HAVE_GD_PNG
case FORMAT_PNG:
gdImageSaveAlpha(im, TRUE);
gdImageTrueColorToPalette(im, 0, 256);
gdImagePngCtx(im, &ctx);
break;
#endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment