How can I compose two images in additive blending mode with Core Graphics?
The listing does not have something like kCGBlendModeAdd : http://developer.apple.com/library/ios/documentation/GraphicsImaging/Reference/CGContext/Reference/reference.html#//apple_ref/doc/c_ref/CGBlendMode
kCGBlendModeAdd
Any solution?
What is wrong with kCGBlendModePlusLighter ?
kCGBlendModePlusLighter
From a linked document:
R = MIN(1, S + D)
So this is additive mixing limited to 1.0.
Source: https://habr.com/ru/post/1382354/More articles:Increase Prolog Number - incrementgets () does not read user input - cCSS3 gradient doesn't scroll properly - cssAdobe AIR -.air -.exe / .dmg / .rpm - flexupdating .NET project links (in configuration file) - .netForce system properties in JAR - javaDifference between @property (nonatomic, readonly) and @property extension inside a class? - propertieswith a conditional ?: expression, at what point do postfix operations occur? - cA concrete use case for algebraic data types - haskellPassing VARBINARY to a stored procedure - parametersAll Articles