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)); }
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)); }