views:

367

answers:

1

I know that there are already 2 relevant posts on that, but it's not clear...

So the case is this...:

I have a UIImage which consists of a png file requested from a url on the net. Is it possible to mask out the white color so it becomes transparent?

Everything I have tried so far with CGImageCreateWithMaskingColors, returns a white image...

Any help guys would be precious :)

A: 

It is not really possible, at least no easy way, certainly no API call. It is basically an image editing problem usually done with Photoshop. Most images that have a transparent background were created that way.

zaph