Ejemplo n.º 1
0
        public static void WriteImageOfTiff(this HImage image, string fileName, double background = 0)
        {
            string finalFileName = fileName;

            if (!fileName.EndsWith(".tif"))
            {
                finalFileName += ".tif";
            }

            var count = image.CountObj();

            image.WriteImage("tiff", background, finalFileName);
        }