摘要:
最近看这个比较多人用到,以前有使用过,现在,粘过来给大伙看看.注意:UIImageView的大小只能跟图片一样大.要不然取色不对.- (UIColor *) getPixelColorAtLocation:(CGPoint)point { UIColor* color = nil; CGImageRef inImage = self.image.CGImage; // Create off screen bitmap context to draw the image into. Format ARGB is 4 bytes for each pixe... 阅读全文
posted @ 2012-03-07 15:00
pengyingh
阅读(1216)
评论(0)
推荐(0)


浙公网安备 33010602011771号