Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

gd's imagefilter?

Posted on 2005-02-28
3
Medium Priority
?
395 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
  • 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

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

I imagine that there are some, like me, who require a way of getting currency exchange rates for implementation in web project from time to time, so I thought I would share a solution that I have developed for this purpose. It turns out that Yaho…
Originally, this post was published on Monitis Blog, you can check it here . In business circles, we sometimes hear that today is the “age of the customer.” And so it is. Thanks to the enormous advances over the past few years in consumer techno…
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.
Suggested Courses

580 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