Problem using imagefilter() function

GD and GD2 are useful libraries for creating graphics on-the-fly. Discuss your PHP GD and GD2 scripts here.

Moderators: onion2k, General Moderators

Post Reply
stonerman
Forum Newbie
Posts: 1
Joined: Thu Feb 09, 2006 4:28 pm

Problem using imagefilter() function

Post by stonerman »

I've been using some of the GD functions to manipulate and save images.

Everything has been working fine....except now I want to apply a filter using the imagefilter() function and I get an error that states the function is not defined.

For the life of me I can't figure out why all the other functions I used work except this one. Is there an include I should be adding to make sure that function is available?

I'm developing it on a GoDaddy hosting account. Their Linux box is running version 2.0.28 of the GD lib.

Thanks for any ideas.

-- Stumped --
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

imagefilter() is a php 5 function.
Pierre.gd
Forum Newbie
Posts: 5
Joined: Wed Mar 15, 2006 9:23 am

Post by Pierre.gd »

See this post for examples, and yes it is only for PHP5:

http://blog.thepimp.net/index.php/2005/ ... n-gd-51x-2
Post Reply