Esempio n. 1
0
        public void Apply(long index, string source, string target, string filename)
        {
            using (var img = new ImageData(Path.Combine(source, filename), target, filename))
            {
                img.Params["num"] = index.ToString();
                foreach (var a in this.actions)
                {
                    a.Apply(img);
                }
            }

            GC.Collect(GC.MaxGeneration);
            GC.WaitForPendingFinalizers();
        }
Esempio n. 2
0
 public abstract void Apply(ImageData img);