Koozali.org: home of the SME Server

Legacy Forums => Experienced User Forum => Topic started by: Matthias Redl on July 18, 2002, 07:25:33 PM

Title: PHP's imagecopyresampled()
Post by: Matthias Redl on July 18, 2002, 07:25:33 PM
Hi,

is anybody able to use PHP's imagecopyresampled() function with E-Smith. I just upgraded my SME 5.0 to PHP Version 4.2.1 and also installed the gd library and php-gd (version php-gd-4.2.1-9.arvin.rh7.1.i586.rpm) from rpms.arvin.dk. This version however requires a gd lib < 2 which afaik would be needed for imagecopyresampled() to work.

Does anybody have a solution to this?

Thanks,
Matthias
Title: Re: PHP's imagecopyresampled()
Post by: Paul T.C.Fung on July 20, 2002, 04:54:25 PM
I have try to use it in a SME 5.1.2 box, without any addition GD-Lib added, it work fine. (I have only try jpg only)

5.1.2 did come with a GD-lib but I forgot the version.

Best Regards,

Paul T.C.Fung