Hi Brent,
So I saw that there was a note in release 2522 about this being enabled for hue only.
Tested on Nexus 7 1st gen and another low end android tab that it didn’t work on before. And if you set hue angle to 0 it does indeed match the original image.
BUT! If I try to adjust the hue after that (for instance on a slider as the basic example code below shows), then it doesn’t update. Tried same build on a Nexus 2nd gen and it updates correctly on changing the hue angle.
So we are close, but not quite there. Could you ask engineering to try adjusting the hue value after creation and see if they can repro the issue?
local widget = require( "widget" ) local snapshot1 = display.newSnapshot(400,400) snapshot1.x = 200 local base = display.newImageRect ("Icon@2x.png",200,200) base.x = 50 base.y = 50 local test = display.newImageRect ("Icon@2x.png",200,200) test.y = 100 snapshot1.group:insert(test) test.fill.effect = "filter.hue" test.fill.effect.angle = 0 local myText = display.newText( "0", 100, 350, native.systemFont, 16 ) -- Slider listener local function sliderListener( event ) print( "Slider at " .. event.value .. "%" ) test.fill.effect.angle = event.value myText.text = event.value snapshot1:invalidate() end -- Create the widget local slider = widget.newSlider { top = 400, left = 50, width = 400, value = 0, -- Start slider at 10% (optional) listener = sliderListener }
David