Hue color in formula

I’m trying to change the color of an animated image using a formula that changes the hue filter, then add to the formula a condition to only be activated at a specific time

You need to apply formulas to two fields. First, in Filter, set an if condition to toggle between HUE and NONE based on your time. Second, in Amount, set the numeric value (0-100) for the hue shift during that same time period.

1 Like

It did work, but I don’t think it works very well with animated images, because I tried it with a static image and it worked normally, but using the same formula on the animated image, The color only changed in the KLWP preview, while on the homepage it remained the same color

It’s not a formula problem; it’s a KLWP rendering …

Try this trick:

Add a simple ‘Loop’ animation to your animated image (the GIF). For example, set a ‘Fade In’ with Duration 0 and Amount 0 (or just very minimal values). This forces the KLWP to keep redrawing the layer on your homepage.

I wrote about this on the forums before basically, you need to ‘fake’ an active animation to keep the renderer awake. Let me know if that fixes it for you.

1 Like