How can I retrieve the top-left/top-right/bottom-left/bottom-right non-transparent pixel of a transparent image?
Asked
Active
Viewed 148 times
1 Answers
0
You can extract the pixel data of the image and compare alpha values (either by iterating through the returned array or (more effectively) by changing the linked algorithm to compare the points in place, thus evading the need of the NSArray with colors).