Exemplo n.º 1
0
        public Image ModPicColor(Image img, int color)
        {
            String inPath = getUPath();

            img.Save(inPath);
            String outPath = getUPath();

            if (CAPI.ModifyPictureColor(inPath, outPath, color))
            {
                return(Image.FromFile(outPath));
            }
            else
            {
                return(null);
            }
        }