?
Solved

gd's imagefilter?

Posted on 2005-02-28
3
Medium Priority
?
390 Views
Last Modified: 2013-12-13
Fatal error: Call to undefined function: imagefilter() in c:\program files\easyphp1-7\www\image resize exercise\index.php on line 28


I got this line when i try to call the imagefilter function. what might happen? I was copying the example from the phpwebsite for this function.

I'm sure that i've got the gd library working fine because i tried to use the imagecopyresized() function and it works fine.
0
Comment
Question by:sutejok
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 32

Accepted Solution

by:
ldbkutty earned 2000 total points
ID: 13425735
imagefilter() function requires PHP version 5
Are you sure your version is >= 5.0 ?
0
 

Author Comment

by:sutejok
ID: 13436386
hmm. is there any way to make it work with php 4?
0
 
LVL 32

Expert Comment

by:ldbkutty
ID: 13445732
imagefilter() is not a simple function that can be made to work for lower versions. It supports many filtertypes, you have to write the function based on the filtertype you want to have.
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Nothing in an HTTP request can be trusted, including HTTP headers and form data.  A form token is a tool that can be used to guard against request forgeries (CSRF).  This article shows an improved approach to form tokens, making it more difficult to…
Many old projects have bad code, but the budget doesn't exist to rewrite the codebase. You can update this code to be safer by introducing contemporary input validation, sanitation, and safer database queries.
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
Suggested Courses

766 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question