Has anyone got a handy script that utilises the ImageCreateTrueColor function to resize a JPG to a variable amunt, keeping the image in proportion?
Thanks,
Stefan
bobnew32
11:43 am on Nov 3, 2003 (gmt 0)
Or has anyone been able to do this any other method?
coopster
12:32 pm on Nov 3, 2003 (gmt 0)
You will probably end up using the PHP imagecopyresampled [us3.php.net] function. There are some good User Contributed notes in the PHP Image Manual pages [us3.php.net] that should help get you started.
coopster
12:35 pm on Nov 3, 2003 (gmt 0)
There is also a snippet offering in this post [webmasterworld.com...] that may get you started. I haven't tested the code myself, you'll have to do that.