Code: Select all
MagickSetImageFormat($wnd, "PNG32");
error_log("MagickSetImageFormat", 0);
MagickSetImageAlphaChannel($wnd, MW_ActivateAlphaChannel);
error_log("MagickSetImageAlphaChannel", 0);
MagickEvaluateImage($wnd, MW_DivideEvaluateOperator, (100/$alpha), MW_AlphaChannel);
error_log("MagickEvaluateImage", 0);
Code: Select all
[Tue Feb 19 16:57:17 2008] [error] [client 208.42.140.15] MagickCropImage
[Tue Feb 19 16:57:17 2008] [error] [client 208.42.140.15] MagickSetImageFormat
Thanks,
Dave