Simple replication of imageconvolution 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
Mgccl
Forum Newbie
Posts: 2
Joined: Sun Feb 11, 2007 9:16 pm

Simple replication of imageconvolution function

Post by Mgccl »

imageconvolution() does not appear in PHP with non-bundled GD libraries or a PHP version lower than 5.1. It is a rare situation(if PHP developers are smart and use a PHP5 hosting), but it still happens. That’s why I wrote a replication of imageconvolution() in PHP, because it’s written in PHP, it is 50 times slower than the bundled version. But compare to the one listed on PHP.net’s comment by interghost at crovortex dot com, this is 30% faster and supports offset.
http://www.webdevlogs.com/2007/03/02/si ... -function/
Post Reply