I am not sure if this is possible or not, but here is the goal:
- Mixed-transparency PNG image is grabbed from relative URL (to silverlight app)
- All pixels in image are then changed to a specified color without altering opacity (ie, transparent px will remain transparent, semi-transparent will be semi-transparent)
- Image will display in an image control.
Is there a way to do this kind of color overlay and image manipulation in silverlight?
Also, computing time is also an issue. This will have to happen many times, and if it is an intensive and time consuming operation that could be an issue.
There doesnt seem to be alot of information in Google, am I correct to assume a WritableBitmap
will have to be used?