Closed (fixed)
Project:
ImageCache Actions
Version:
7.x-1.x-dev
Component:
Color Actions Module
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
15 Mar 2011 at 13:09 UTC
Updated:
3 Jun 2011 at 15:40 UTC
It would be a great addition a color action that does the same as the colorize tool from Gimp. That's what I first expected from the color shift action, but I think that's not the same effect.
The action should be able to tune the hue, saturation and lightness of the image to achieve an effect like if I'm seeing the image through a colorized plastic plate.
I think this can also be achieved by placing a flat image with the overlay action, but maybe is less-than-optimal?
I might work on this feature if dman not interested.
Comments
Comment #1
dman commentedThe colorize you get is the one provided by GD image toolkit.
It's core compiled PHP.
Anything else, you have to do pixel-by-pixel, and it's pretty inefficient, but feel free to come up with your own effects.
If I understand what you are saying, I guess you could place a solid block of color image over top with a transparent overlay effect. More efficient (for the processor) is to place an already-mostly transparent png. I don't know how different the effect would be from the built-in colorize version.
Try it out
Comment #2
sydneyshan commentedjorge.suarez, is this the effect you are looking for? http://drupal.org/node/1154970
Comment #3
jorge.suarez commentedThat's exactly what I've been looking for, sydneyshan :) I really don't need it now, but it can come in handy for a near future.
Thank you by your efforts :) Looking for your contribution to be merged.
Comment #4
sydneyshan commentedThis has now been written and applied to the 7.x-1.x dev branch. :-)
Comment #5
sydneyshan commentedComment #6
jorge.suarez commentedGreat, thank you! I'll take a look by this weekend =D
Comment #7
dman commentedTracking, but I'm really busy with a (actually a couple of) full project right now. Really hoping for a breather so I can spend some time on these threads of interesting development