Пример #1
0
        public static bool ReplaceColor(Image image, byte red, byte green, byte blue, float tolerance)
        {
            if (image == null || !image.IsValid)
            {
                return(false);
            }

            IL.BindImage(image.ImageID);
            return(ILU.ReplaceColor(red, green, blue, tolerance));
        }