I wanted to add rounded corners by using watermark, so I installed Imagecache Actions. And it works good until I want use 'Sharpen' action from Imagecache.

I have been using 'Sharpen' till now and it worked perfectly. But if I want to use canvas / watermark feature I have to disable 'Sharpen' to make it work. So they don't work together.

CommentFileSizeAuthor
#2 imagecache-actions-sharpen.png14.54 KBanantagati

Comments

dman’s picture

In what way does it not work good?
Are you sharpening before or after the overlays?

anantagati’s picture

StatusFileSize
new14.54 KB

It writes this error:

* warning: imagesavealpha(): supplied argument is not a valid Image resource in /drupal-path/sites/all/modules/imagecache_actions/canvasactions.inc on line 179.
* warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, 'imageapi_imagemagick_image_overlay' was given in /drupal-path/sites/all/modules/imagecache_actions/imagecache_canvasactions.module on line 109.

I attached picture with my Imagecache configuration. If delete Sharpen from that configuration it works.

anantagati’s picture

Title: Error when using canvas together with 'sharpen' » Imagecache doesn't generate images when using Canvas/Watermark and Imagemagick

So I found that i needed to remove Sharpen and change to GD2 from Imagemagick to generate pictures. So problem is making Imagemagick with canvas.

dman’s picture

Status: Active » Closed (duplicate)

I guess that's all understandable.

imagemagick support for canvas overlay is in the dev release and apparently works OK.
As it stands, only half the processes in imagecache actions have got imagemagick versions available.
This is partly because producing toolkit-specific processes is really a job that should be contributed to imageapi :-/ And mostly because I don't use imagemagick.

http://drupal.org/node/342241