[cl-gd-devel] Re: Resizing Images

Volkan YAZICI yazicivo at ttnet.net.tr
Sun Sep 23 20:42:45 UTC 2007


Volkan YAZICI <yazicivo at ttnet.net.tr> writes:
>       ...
> 	dsth = (unsigned int) (scale * srch);
> 	dstip = gdImageCreate(dstw, dsth);

Replacing gdImageCreate() with gdImageCreateTrueColor() solved the
problem. (A similar approach is applicable for :TRUE-COLOR key of
WITH-IMAGE macro as well.)


Regards.



More information about the Cl-gd-devel mailing list