Example #1
0
        bool WriteFileImage(HeightData source, string filename, FileFormat ff)
        {
            float[,] grid = source.GetDataGrid();
            IExporter exporter = new ImageGenerator(grid, source.cellSize, ff.GetImageType(), source.lowPoint, source.highPoint);

            ExportUtility.WriteFile(exporter, filename, ff);
            return(true);
        }