VKSamplePicture A small class that can get the sample of an image quickly. Usage Step1. alloc and init the helper class. [[VKSamplePicture alloc]init]; Step2. Setup the image; @property(nonatomic,assign)UIImage* originalImage; Step3. Give the sample rate -(void)processSampleSize:(int)width AndHeight:(int)height; Step4. Now you can fetch the color for a specific position -(UIColor*)colorAtX:(int)x_axis andY:(int)y_axis; Notice If It will Lead To A Memory Leak Invoke This Mothod Might Help -(void)freeMemmory; Contribution If you find some bugs about it,please let me know, thank you More features will come Screenshot