Closed (fixed)
Project:
ImageAPI
Version:
6.x-1.x-dev
Component:
ImageAPI GD
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
9 Mar 2009 at 14:47 UTC
Updated:
13 Apr 2009 at 21:20 UTC
Jump to comment: Most recent file
Comments
Comment #1
SeanA commentedCheck your site's Status Report for extra information on the GD functions that are available on your setup. If there are problems, see http://drupal.org/node/134331. Hope this helps!
Comment #2
drewish commentedcould you try out this patch?
Comment #3
drewish commentedit looks like this exact code has been committed to the 7.x code so i'm going to go ahead and commit this.
Comment #4
drewish commentedforgot to put this into the correct queue.
Comment #5
drewish commentedmarked #400284: Warnings with latest upgrade as a duplicate
Comment #6
beasley commentedThe patch didn't work for me, I'm afraid. Just upgraded to ImageAPI 6.x-1.5 and that hasn't made a difference to the problem, either. As SeanA says, I think it's the GD install. Stupidly, I hadn't checked the Status report, which says:
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.
When I try the sharpen action the preview image disappears, and if I click the link I get:
Fatal error: Call to undefined function imageconvolution() in /var/www/drupal/sites/all/modules/imageapi/imageapi_gd.module on line 335
My colleague who looks after the server side of things isn't keen on recompiling php. Instead he's installed ImageMagick, so I'll see how that goes.
Thanks for the replies, and all the work on these Image modules!
POSTSCRIPT: 'Sharpen' works fine with ImageMagick. Hoorah!
Comment #7
SeanA commentedIf you use debian or ubuntu, you can avoid recompiling php and simply install the packages supplied by dotdeb, instructions are here: http://drupal.org/node/134331#comment-983886
Comment #8
beasley commentedSeanA: We are using Debian so we might look into the dotdeb option. Sounds interesting. Thanks for that!