iphone Programming Glossary: blendmode
How would I tint an image programatically on the iPhone? http://stackoverflow.com/questions/1117211/how-would-i-tint-an-image-programatically-on-the-iphone make color too saturated CGContextFillRect context rect draw base UIImage imageNamed @ someImage.png drawInRect rect blendMode kCGBlendModeOverlay alpha 1.0 draw image iphone cocoa touch image processing share improve this question First you'll..
blend two uiimages http://stackoverflow.com/questions/1309757/blend-two-uiimages 0 0 newSize.width newSize.height Apply supplied opacity image drawInRect CGRectMake 0 0 newSize.width newSize.height blendMode kCGBlendModeNormal alpha 0.8 UIImage newImage UIGraphicsGetImageFromCurrentImageContext UIGraphicsEndImageContext If the..
iPhone: Blur UIImage http://stackoverflow.com/questions/1356250/iphone-blur-uiimage horizontally UIGraphicsBeginImageContext self.size self drawInRect CGRectMake 0 0 self.size.width self.size.height blendMode kCGBlendModePlusLighter alpha weight 0 for int x 1 x 5 x self drawInRect CGRectMake x 0 self.size.width self.size.height.. alpha weight 0 for int x 1 x 5 x self drawInRect CGRectMake x 0 self.size.width self.size.height blendMode kCGBlendModePlusLighter alpha weight x self drawInRect CGRectMake x 0 self.size.width self.size.height blendMode kCGBlendModePlusLighter.. blendMode kCGBlendModePlusLighter alpha weight x self drawInRect CGRectMake x 0 self.size.width self.size.height blendMode kCGBlendModePlusLighter alpha weight x UIImage horizBlurredImage UIGraphicsGetImageFromCurrentImageContext UIGraphicsEndImageContext..
Blur an image of specific part (rectangular, circular)? http://stackoverflow.com/questions/14107979/blur-an-image-of-specific-part-rectangular-circular self.size NO self.scale self drawInRect CGRectMake 0 0 self.size.width self.size.height blendMode kCGBlendModeNormal alpha weight 0 for int x 1 x 5 x self drawInRect CGRectMake x 0 self.size.width self.size.height blendMode.. kCGBlendModeNormal alpha weight 0 for int x 1 x 5 x self drawInRect CGRectMake x 0 self.size.width self.size.height blendMode kCGBlendModeNormal alpha weight x self drawInRect CGRectMake x 0 self.size.width self.size.height blendMode kCGBlendModeNormal.. blendMode kCGBlendModeNormal alpha weight x self drawInRect CGRectMake x 0 self.size.width self.size.height blendMode kCGBlendModeNormal alpha weight x UIImage horizBlurredImage UIGraphicsGetImageFromCurrentImageContext UIGraphicsEndImageContext..
UIImage color changing? http://stackoverflow.com/questions/1698971/uiimage-color-changing size FALSE 2 CGContextRef context UIGraphicsGetCurrentContext image drawAtPoint CGPointZero blendMode kCGBlendModeNormal alpha 1.0 CGContextSetFillColorWithColor context color.CGColor CGContextSetBlendMode context kCGBlendModeOverlay..
Resize UIImage with aspect ratio? http://stackoverflow.com/questions/1703100/resize-uiimage-with-aspect-ratio CGRect screenRect CGRectMake 0 0 320.0 480.0 UIGraphicsBeginImageContext screenRect.size value drawInRect screenRect blendMode kCGBlendModePlusDarker alpha 1 UIImage tmpValue UIGraphicsGetImageFromCurrentImageContext UIGraphicsEndImageContext Which..
Drawing a PNG Image Into a Graphics Context for Blending Mode Manipulation http://stackoverflow.com/questions/1936644/drawing-a-png-image-into-a-graphics-context-for-blending-mode-manipulation So I've tried replacing those with either of these with no luck UIImage imageNamed @ image name.png drawInRect rect blendMode kCGBlendModeOverlay alpha 1.0 and this one needs a CGImage which I'm not sure how to make with the PNGs CGContextDrawImage.. @ other image name.png CGSize size uiimage.size UIGraphicsBeginImageContext size uiimage drawAtPoint CGPointZero blendMode kCGBlendModeOverlay alpha 1.0 uiimage2 drawAtPoint CGPointZero blendMode kCGBlendModeOverlay alpha 1.0 UIImage blendedImage.. size uiimage drawAtPoint CGPointZero blendMode kCGBlendModeOverlay alpha 1.0 uiimage2 drawAtPoint CGPointZero blendMode kCGBlendModeOverlay alpha 1.0 UIImage blendedImage UIGraphicsGetImageFromCurrentImageContext UIGraphicsEndImageContext If..
Rounded Corners on UIImage http://stackoverflow.com/questions/205431/rounded-corners-on-uiimage 80 4 com.apple.CoreGraphics 0x30feca40 CGContextDrawImage 368 5 UIKit 0x30a6a708 UIImage drawInRect blendMode alpha 1460 6 UIKit 0x30a66904 UIImage drawInRect 72 7 MyApp 0x0003f8a8 UIImage PNAdditions borderedImageWithRect radius..
how to add watermark on a exist image http://stackoverflow.com/questions/4068035/how-to-add-watermark-on-a-exist-image 0 0 320 480 And add the watermark on top of it UIImage imageNamed @ Watermark.png drawAtPoint CGPointMake 0 0 blendMode kCGBlendModeNormal alpha WATERMARK_ALPHA Save the results directly to the image view property imageView.image UIGraphicsGetImageFromCurrentImageContext..
|