First, wonderful module, I found many uses for it in drupal 5. Now I hope to get it working in drupal 6 with rounded corners.

I set up an imagecache preset to scale, then round corners, then save as png. It scales it, but thats it. The message I am getting is



    * warning: imagecopyresampled(): supplied argument is not a valid Image resource in /home/ngreenup/www/site15/sites/all/modules/imageapi/imageapi_gd.module on line 135.
    * warning: imagesavealpha(): supplied argument is not a valid Image resource in /home/ngreenup/www/site15/sites/all/modules/imagecache_actions/canvasactions.inc on line 544.
    * warning: imagealphablending(): supplied argument is not a valid Image resource in /home/ngreenup/www/site15/sites/all/modules/imagecache_actions/canvasactions.inc on line 545.
    * warning: imagesx(): supplied argument is not a valid Image resource in /home/ngreenup/www/site15/sites/all/modules/imagecache_actions/canvasactions.inc on line 547.
    * warning: imagesy(): supplied argument is not a valid Image resource in /home/ngreenup/www/site15/sites/all/modules/imagecache_actions/canvasactions.inc on line 548.

ImageAPI 6.x-1.4
ImageAPI GD2 6.x-1.4

ImageCache 6.x-2.0-beta8
Imagecache Canvas Actions 6.x-1.x-dev

Comments

dman’s picture

Status: Active » Closed (duplicate)

Bugger, yeah. See http://drupal.org/node/399836
imageapi 1.4 pulled the rug out from under me here.

j0rd’s picture

Any status on the process on this issue. I'm trying to do a colorshift with the latest imageapi and latest imagecache_actions to witch I recieve this error.

If I'm not mistaken the solution is to update my imagecache_actions to -dev correct?

j0rd’s picture

latest dev appears to resolve my issue. but there's a file missing called 'textrender.inc' which is not included in CVS from what I can tell. I simply added a blank file to remove the warning, but I'm sure my text rendering will fail (not using, no problem)./home/www/oldgoldboutique.com/htdocs/sites/all/modules/imagecache_actions/

dman’s picture

textrender is a rewrite of textactions I'm working on in the background. Better text effects, creating a library for imageapi, convergence with signwriter & menuwriter.
But yeah, I guess having a mention of it in the dev may cause a little borken-ness.
The old textactions still works and is still there.
Commenting out the mention of it is a fine fix.

Actually, I think it was this rewrite that stopped me from putting out a version release on those last pesky ->res fixes.

dman’s picture

borken-ness

Best typo this week!

MatteNoob’s picture

Reserved, working on something which shall go here.