title: Xcode remove color from image programmatically?
body: <p>So I have an app where you move images around in certain positions and layer them. Its coming along well but an issue I keep running into is a lot of my images have white spaces around them (they use to be jpgs), the whitespace is always hexcode #FFFFFF pure whitespace, so I was wondering is there a way in objective-c to mask all of a hexcode in an image? I would manually edit the images but there are thousands of them from a third party. Any ideas?</p>