(main): Make the image tranparent.
authorhanda <handa>
Mon, 3 Oct 2005 13:33:19 +0000 (13:33 +0000)
committerhanda <handa>
Mon, 3 Oct 2005 13:33:19 +0000 (13:33 +0000)
example/mdump.c

index 76c8416..8ea34e4 100644 (file)
@@ -673,6 +673,7 @@ main (int argc, char **argv)
   from = 0;
   page_index = 1;
   white = gdImageColorAllocate (image, 255, 255, 255);
+  gdImageColorTransparent (image, white);
   while (from < len)
     {
       int to;