Forum: 

GD Image Filtering and Image Rotation Libraries incompatible Drupal6 Appliance

Russ's picture
GD Image Filtering
Low Quality / Poor Performance
The installed version of PHP GD does not support image filtering(desaturate, blur, negate, etc). It was probably compiled using the official GD libraries from http://www.libgd.org instead of the GD library bundled with PHP. You should recompile PHP --with-gd using the bundled GD library. See http://www.php.net/manual/en/image.setup.php. An implementation of imagefilter in PHP will be used in the interim.
GD Image Rotation
Low Quality / Poor Performance
The installed version of PHP GD does not support image rotations. It was probably compiled using the official GD libraries from http://www.libgd.org instead of the GD library bundled with PHP. You should recompile PHP --with-gd using the bundled GD library. See: http://www.php.net/manual/en/image.setup.php. An implementation of imagerotate in PHP will used in the interim.

 

Suggestions?

Alon Swartz's picture

We use the php5-gd packaged by Ubuntu, which is inherited from Debian. We did not compile GD support ourselves. If this is a bug it should be reported upstream.

On the other hand, you mentioned that we should use the GD library bundled with PHP, so I guess you have come across this issue before. We should look into that as a work around, but the best solution would to get this fixed upstream in the official packages.
Gonzalo.Cifaldi's picture

Here is the solution.

http://drupal.org/node/465264#comment-3313220

Greetings.

Gonzalo.

Post new comment