- numPixels default = 4,
I can’t seem to figure out how to set the numPixels value of pixelate. I have pixelate working just fine but no idea how to change the value.
local image = display.newImage(“images/pic.jpg”)
image.fill.numPixels = 8
image.fill.effect = “filter.pixelate”
I’ve tried that but that didn’t work. The documentation doesn’t give any insight on how to change the values.