Exemplo n.º 1
0
        public static void TransformImagePerPixelAdvanced(Image sourceImage, PixelFormat targetFormat, List <Color> palette, out Image targetImage, IList <Point> path = null, Int32 parallelTaskCount = 4, params TransformPixelAdvancedFunction[] passes)
        {
            // checks parameters
            Guard.CheckNull(sourceImage, "sourceImage");

            // wraps source image to a buffer
            using (ImageBuffer source = new ImageBuffer(sourceImage, ImageLockMode.ReadWrite))
            {
                source.TransformPerPixelAdvanced(targetFormat, palette, out targetImage, path, parallelTaskCount, passes);
            }
        }
Exemplo n.º 2
0
        public static void TransformImagePerPixelAdvanced(Image sourceImage, PixelFormat targetFormat, List<Color> palette, out  Image targetImage, IList<Point> path = null, Int32 parallelTaskCount = 4, params TransformPixelAdvancedFunction[] passes)
        {
            // checks parameters
            Guard.CheckNull(sourceImage, "sourceImage");

            // wraps source image to a buffer
            using (ImageBuffer source = new ImageBuffer(sourceImage, ImageLockMode.ReadWrite))
            {
                source.TransformPerPixelAdvanced(targetFormat, palette, out targetImage, path, parallelTaskCount, passes);
            }
        }
Exemplo n.º 3
0
 public static void TransformImagePerPixelAdvanced(ImageBuffer source, PixelFormat targetFormat, List<Color> palette, out  Image targetImage, IList<Point> path = null, Int32 parallelTaskCount = 4, params TransformPixelAdvancedFunction[] passes)
 {
     source.TransformPerPixelAdvanced(targetFormat, palette, out targetImage, path, parallelTaskCount, passes);
 }
Exemplo n.º 4
0
 public static void TransformImagePerPixelAdvanced(ImageBuffer source, ImageBuffer target, IList<Point> path = null, Int32 parallelTaskCount = 4, params TransformPixelAdvancedFunction[] passes)
 {
     source.TransformPerPixelAdvanced(target, path, parallelTaskCount, passes);
 }
Exemplo n.º 5
0
 public static void TransformImagePerPixelAdvanced(ImageBuffer source, PixelFormat targetFormat, List <Color> palette, out Image targetImage, IList <Point> path = null, Int32 parallelTaskCount = 4, params TransformPixelAdvancedFunction[] passes)
 {
     source.TransformPerPixelAdvanced(targetFormat, palette, out targetImage, path, parallelTaskCount, passes);
 }
Exemplo n.º 6
0
 public static void TransformImagePerPixelAdvanced(ImageBuffer source, ImageBuffer target, IList <Point> path = null, Int32 parallelTaskCount = 4, params TransformPixelAdvancedFunction[] passes)
 {
     source.TransformPerPixelAdvanced(target, path, parallelTaskCount, passes);
 }