-2006-01-17 Kenichi Handa <handa@m17n.org>
-
- * mdump.c (main): Use gdImageCreateTrueColor only if HAVE_GD > 1.
- Use gdImageAlphaBlending only if HAVE_GD > 1.
-
2006-01-16 Kenichi Handa <handa@m17n.org>
* Version 1.3.1 released.
}
}
-#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
{
-2006-01-17 Kenichi Handa <handa@m17n.org>
-
- * m17n-gd.c (gd_render): If gdAlphaTransparent is not defined,
- define it as 127.
-
2006-01-16 Kenichi Handa <handa@m17n.org>
* Version 1.3.1 released.
if (bmp[j] > 0)
{
int pixel1 = pixel;
-#ifndef gdAlphaTransparent
-#define gdAlphaTransparent 127
-#endif
int alpha = gdAlphaTransparent * (255 - bmp[j]) / 255;
if (alpha > 0)