¡@

Home 

2014/10/15 ¤U¤È 10:13:29

iphone Programming Glossary: rgbapixel

UIImage color changing?

http://stackoverflow.com/questions/1698971/uiimage-color-changing

context CGRectMake 0 0 width height image CGImage for int y 0 y height y for int x 0 x width x uint8_t rgbaPixel uint8_t pixels y width x uint32_t gray 0.3 rgbaPixel RED 0.59 rgbaPixel GREEN 0.11 rgbaPixel BLUE rgbaPixel RED gray rgbaPixel.. CGImage for int y 0 y height y for int x 0 x width x uint8_t rgbaPixel uint8_t pixels y width x uint32_t gray 0.3 rgbaPixel RED 0.59 rgbaPixel GREEN 0.11 rgbaPixel BLUE rgbaPixel RED gray rgbaPixel GREEN gray rgbaPixel BLUE gray CGImageRef newImage.. y 0 y height y for int x 0 x width x uint8_t rgbaPixel uint8_t pixels y width x uint32_t gray 0.3 rgbaPixel RED 0.59 rgbaPixel GREEN 0.11 rgbaPixel BLUE rgbaPixel RED gray rgbaPixel GREEN gray rgbaPixel BLUE gray CGImageRef newImage CGBitmapContextCreateImage..