开发者

Pixel data of an image [duplicate]

开发者 https://www.devze.com 2023-02-28 12:48 出处:网络
Thi开发者_Python百科s question already has answers here: Closed 11 years ago. Possible Duplicate: How to get pixel data from a UIImage (Cocoa Touch) or CGImage (Core Graphics)?
Thi开发者_Python百科s question already has answers here: Closed 11 years ago.

Possible Duplicate:

How to get pixel data from a UIImage (Cocoa Touch) or CGImage (Core Graphics)?

I want to get a UIImage's pixel values as an array. I am really searching for a predefined function like getallPixel(theImage). How can I figure this out? Any help is appreciated.


Check the SO post

How to get pixel data from a UIImage (Cocoa Touch) or CGImage (Core Graphics)?

Here is the blog post for image manipulation retrieving and updating pixel values for a UIImage

http://brandontreb.com/image-manipulation-retrieving-and-updating-pixel-values-for-a-uiimage/

0

精彩评论

暂无评论...
验证码 换一张
取 消