Hi, I have two questions:

1. How is this module different than using the "Custom Action" provided by imagecache itself?

2. I'm trying to do have a transparency mask subtracted from an image (see my post in the imagecache actions queue: http://drupal.org/node/861008 ). I was trying to see if I could use this module for that using the action mentioned here (http://www.imagemagick.org/Usage/channels/#masking) and then I came across this post here http://drupal.org/node/595712 which mentions that other images cannot be used, and I was wondering if I write the actions for the subtraction, could the previous items in the action be combined together in this action? I know it sound a bit confusing, but I think if you have a look at the image below that should describe it.

CommentFileSizeAuthor
alpha-channel.png62.12 KBpuya

Comments

adrinux’s picture

In answer:

1. This module predates the custom action feature in imagecache. I haven't yet looked at custom action so I can't say more than that.

2. Not sure what you mean by combining actions. If the mask you want to use is the same every time it might be possible put that mask image somewhere in your file system and refer to it in the command – I certainly said otherwise in the in the thread you linked to but I'm not sure why, so I'd suggest giving it a shot. I suspect I was talking about two images under the control of drupal, if you see what I mean, imagecache only knows about the one image it's processing (or did, it gets new features all the time).

You can certainly use parenthesis and to modify an image and combine it with itself, http://perlucida.com/blog/features/css-sprites-using-imagecache-and-imag... provides one example.

To be honest I'm a bit rusty on this stuff :)

puya’s picture

Thanks a lot Adrian, really appreciate the response.

pyrollo’s picture

1. How is this module different than using the "Custom Action" provided by imagecache itself?

I had a quick look at "Custom Action" and it seems that the difference is that "Custom Action" is using GD and IM Raw is using ImageMagick. They are equivalent but using different image toolkits.

adrinux’s picture

Status: Active » Closed (works as designed)

Closing this issue, since there doesn't seem to be anything actionable in it.