Imagefilter() seems to do nothing

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
kevin7654
Forum Newbie
Posts: 19
Joined: Sat Feb 18, 2006 2:38 pm

Imagefilter() seems to do nothing

Post by kevin7654 »

Hello everyone,

I have php5 on my server and I am trying to use the imagefilter function found here:

http://us2.php.net/manual/en/function.imagefilter.php

to apply the IMG_FILTER_SMOOTH and the IMG_FILTER_GAUSSIAN_BLUR filters. However it seems that neither of these filters actually make a difference. My image is just as pixelated as it was previously. Am I doing something wrong? IMG_FILTER_SMOOTH requires a 'smoothness' argument, so I put in some ridiculous number like 10000000 because I couldn't find any information on the range required for this argument on the web.

Anyways, any suggestions would be appreciated.

Thanks,
Kevin
Post Reply