摘要:
-(UIImage*) convertToGreyscale:(UIImage*)i {int kRed =1;int kGreen =2;int kBlue =4;int colors = kGreen;int m_width = i.size.width;int m_height = i.size.height;uint32_t*rgbImage =(uint32_t*) malloc(m_width * m_height *sizeof(uint32_t));CGColorSpaceRef colorSpace =CGColorSpaceCreateDeviceRGB();CGConte 阅读全文
posted @ 2013-09-03 11:51
高笑228
阅读(390)
评论(0)
推荐(0)

浙公网安备 33010602011771号