Sunday, 15 February 2015

ios - Blending Two Images by edge with CI or GPUImage -


Is it possible to mix 2 images with GPUImage or core image from such edges?

From the edges I need "connect" pictures, but want to mix them :) Is it possible? I was searching for both the filters for the correct filter, but nothing was found suitable

core image For, this CilinearGradient and CIBlendWithMask . If you look at the core image programming guide or WWDC video then there is an inclination change example which shows how to do it.

I apply the gradient only in the top step, as opposed to both in the tutorial (in this way I also see it in Photoshop; when you do it in both layers, then it Air is easy, with some unwanted transparency in the middle)

When you make your linear shield, do not just set your digit in the opposite direction, instead you want to start it on one side And finally it shore :

Set the inputpoint 0 to (1, 0) - Set the input caller to (0,1,0,1)> Inputpoint 1 (.9 * width) , 0) Set> InputColor 1 set (0,1), 0,0)

No comments:

Post a Comment