TurnKey Linux Virtual Appliance Library

GD Image Filtering and Image Rotation Libraries incompatible Drupal6 Appliance

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 Ubuntu package

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.

About GD library and Drupal

Here is the solution.

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

Greetings.

Gonzalo.

Post new comment

The content of this field is kept private and will not be shown publicly. If you have a Gravatar account, used to display your avatar.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <p> <span> <div> <h1> <h2> <h3> <h4> <h5> <h6> <img> <map> <area> <hr> <br> <br /> <ul> <ol> <li> <dl> <dt> <dd> <table> <tr> <td> <em> <b> <u> <i> <strong> <font> <del> <ins> <sub> <sup> <quote> <blockquote> <pre> <address> <code> <cite> <strike> <caption>

More information about formatting options

Leave this field empty. It's part of a security mechanism.
(Dear spammers: moderators are notified of all new posts. Spam is deleted immediately)