Latest 0.0.2
Homepage https://github.com/squarefrog/UIImage-ColorFromImage
License MIT
Platforms ios , requires ARC
Authors

UIImage+ColorFromImage is a category on UIImage which returns a UIColor based on the image this method is called from.

Using ColorFromImage

Add the category to your project using CocoaPods.

pod `UIImage+ColorFromImage`

Using the category

#import <UIImage+ColorFromImage/UIImage+ColorFromImage.h>

UIImage *image = [UIImage imageNamed:@"red"];
UIColor *redColor = [image sqf_colorFromImage];

Latest podspec

{
    "name": "UIImage+ColorFromImage",
    "version": "0.0.2",
    "summary": "Return a UIColor from a UIImage",
    "description": "                   `UIImage+ColorFromImage` is a category on `UIImage` which returns a `UIColor` based on the image this method is called from.n",
    "homepage": "https://github.com/squarefrog/UIImage-ColorFromImage",
    "license": "MIT",
    "authors": {
        "Paul Williamson": "[email protected]"
    },
    "social_media_url": "http://twitter.com/squarefrog",
    "platforms": {
        "ios": null
    },
    "source": {
        "git": "https://github.com/squarefrog/UIImage-ColorFromImage.git",
        "tag": "0.0.2"
    },
    "source_files": "UIImage+ColorFromImage.{h,m}",
    "requires_arc": true
}

Pin It on Pinterest

Share This