iDevTricks

SugarTin – iOS Dev Tricks

Main menu

Skip to primary content
Skip to secondary content
  • Home
  • iPhone Development
    • 3rd Party
      • GitHub
        • HMGLTransition
    • Animations
    • App-Store
    • Customizations
    • Free
    • Other Framework
      • AddressBook
      • MapKit
        • MKMapView
    • Snips
    • UI Controls
      • UIMenuController
      • UINavigationController
      • UISearchBar
      • UITabBarController
        • UITabBar
      • UITableView
        • UITableViewCell
      • UIWebView
    • Web-Parsing
    • Xcode
  • Mac OS X
    • Open Source Apps for iOS
  • Popular
  • Game Development
  • Contact Us

Tag Archives: kCGBlendModeNormal

Apply color to black-masked-image

Posted on November 25, 2013 by Nimit Parekh

In this post, I’ll illustrate how to apply color to specified black-masked-image. Please go through the code to understand implementation.

Posted in 3rd Party, Free, GitHub, Snips | Tagged __bridge, applyColor, arrayWithObjects, CFArray, CFArrayRef, CGColorSpaceCreateDeviceRGB, CGColorSpaceRef, CGColorSpaceRelease, CGContextClipToMask, CGContextDrawLinearGradient, CGContextRef, CGContextScaleCTM, CGContextSetBlendMode, CGContextTranslateCTM, CGGradientCreateWithColors, CGGradientRef, CGGradientRelease, CGImage, CGPointMake, CGRect, CGRectMake, color, coloredImage, context, kCGBlendModeNormal, NSArray, return, space, toImage, UIColor, UIGraphicsBeginImageContextWithOptions, UIGraphicsEndImageContext, UIGraphicsGetCurrentContext, UIGraphicsGetImageFromCurrentImageContext, UIImage | Leave a reply

Translate

Archives

Categories

Popular Posts

  • Creating MultiLevel UITab... 11 views
  • Calling GET and POST asyn... 6 views
  • NavigationController R... 4 views
  • IGNOU iPhone Application... 4 views
  • Remove UICollectionView t... 4 views
  • Image Sliding Page by Pag... 3 views
  • Vertically align text wit... 3 views
  • Regular Expression –... 3 views
  • Adding overlays on MKMapV... 3 views
  • Zoom in and Zoom out Pinc... 3 views

Tag Clour

01 Mac OS X addSubview Apple Basics Build code Custom Customization delegate Error framework Implementation iOS iPad iPhone iPhone Development iPod Leopard LION Mac MKMapView NSArray NSDictionary NSString Objective-c OSX Project release sample self super UIAlertView UIButton UILabel UITableView UITableViewCell UITableViewDataSource UITableViewDelegate UIView UIViewController XCode XCode3 XCode4 XCode 4.0.2 XCode4.2

Blogroll

  • Android App Pattrns
  • Cocoa with Love
  • Cocos2D – Forum
  • iCodeBlog
  • IOS Design Patterns
  • iPhone Developer Tips
  • RayWenderLich
  • TechnoPote
  • TechnoTalkative – One Stop for Android Tutorials
© 2019 iDevTricks
Admired Theme