예제 #1
0
		CIImage BlendWithMask ()
		{
			var blend_with_mask = new CIBlendWithMask () {
				Image = heron,
				BackgroundImage = clouds,
				Mask = RandomGenerator ()
			};

			return blend_with_mask.OutputImage;
		}
예제 #2
0
		/// <summary>
		/// Uses a grayscale mask to blends its foreground and background images.
		/// </summary>
		/// <returns>The altered image.</returns>
		CIImage BlendWithMask ()
		{
			var blend_with_mask = new CIBlendWithMask () {
				BackgroundImage = clouds,
				Image = flower,
				Mask = xamarin
			};

			return blend_with_mask.OutputImage;
		}