gdImageAlphaBlending only if HAVE_GD is 2 or the greater.
}
}
+#if HAVE_GD > 1
image = gdImageCreateTrueColor (paper_width, paper_height);
+#else
+ image = gdImageCreate (paper_width, paper_height);
+#endif
from = 0;
page_index = 1;
else
bg_rgb = gdImageColorAllocate (image, 255, 255, 255);
gdImageColorTransparent (image, bg_rgb);
+#if HAVE_GD > 1
gdImageAlphaBlending (image, 0);
+#endif
}
else
{