@dr_max well it is possible to transform RBG by using Bitmap:setColorTransform and providing R G and B multipliers (to which to multiply current RGB values)
@dr_max, if you are wanting to fade an image to black or white by shifting the colour palette or something like that, it would not be possible. If you want to recolour your bitmap, there is an API command setColorTransform on the sprite object (instance of that Bitmap)
Comments
You may try converting it to HSL to only modify hue and see if that works or not:
http://www.giderosmobile.com/forum/discussion/comment/5089#Comment_5089
But if you need gradients, you will have to use Mesh for that
Author of Learn Lua for iOS Game Development from Apress ( http://www.apress.com/9781430246626 )
Cool Vizify Profile at https://www.vizify.com/oz-apps