How to color an image?

I have a problem concerning an icon:

I have an icon (with transparency), which is black. For different uses I want to color it to blue (for example). Originally the icon was made to fit a UITabbar. There the color of the shape is colored to blue as well, when selected. This is what I want to reach. Has anyone a possible solution?

Thanks!

Answers


Sounds like you want to do a color blend. My fork of MGImageUtilities should provide what you want. It can take your black icon and color all the visible pixels blue without affecting the alpha channel.


Need Your Help

Backing beans (@ManagedBean) or CDI Beans (@Named)?

jsf java-ee jsf-2 cdi

I've just started reading through Core JavaServer Faces, 3rd Ed. and they say this (emphasis mine):

Start rails development environment on android

android ruby-on-rails ruby mobile

Is it possible to run the ruby on rails, development environment on android, like we do on mac/ubuntu/windows. If not then, please post comments to why isn't possible?

Metro App Callisto Framework extend CustomDialog - Add TitleBackground

c#-4.0 windows-runtime microsoft-metro winrt-xaml callisto

Does anyone know how to extend the CustomDialog control from Callisto metro app framework, to add a TitleBackground property?