<commit_before>﻿using System;
using System.Drawing;
using System.Drawing.Imaging;
using System.IO;
using System.Linq;
using ImageTracerNet;
using ImageTracerNet.Extensions;
using ImageTracerNet.Palettes;

//using Options = System.Collections.Generic.Dictionary<string, float>; // HashMap<String, Float>()

namespace ImageTracerTester
{
    internal class Program
    {
        private static void Main(string[] args)
        {
            //SaveTracedImage(args);
            SaveTracedImage(new [] { @"..\..\Images\Chrono Trigger2.png", "outfilename", @"chronotrigger2-traced-new.svg", "ltres", "0.1", "qtres", "1", "scale", "44", "numberofcolors", "256", "pathomit", "0" });
            //ColorArrayTest(100, 200);
            //GaussianBlurTest(@"..\..\Images\Chrono Trigger2.png", @"chronotrigger2-blurred.png");
            //ColorPaletteTest(@"..\..\Images\Chrono Trigger2.png", @"chronotrigger2-palette.png", 8, 8);
        }

        private static void SaveTracedImage(string[] args)
        {<commit_msg>Adjusting some of the parameters for making the non-GUI image.<commit_after>﻿using System;
using System.Drawing;
using System.Drawing.Imaging;
using System.IO;
using System.Linq;
using ImageTracerNet;
using ImageTracerNet.Extensions;
using ImageTracerNet.Palettes;

//using Options = System.Collections.Generic.Dictionary<string, float>; // HashMap<String, Float>()

namespace ImageTracerTester
{
    internal class Program
    {
        private static void Main(string[] args)
        {
            //SaveTracedImage(args);
            SaveTracedImage(new []
            {
                @"..\..\Images\Chrono Trigger2.png",
                "outfilename", @"chronotrigger2-traced-new.svg",
                "ltres", ".22",
                "qtres", "20",
                "scale", "5",
                "numberofcolors", "256",
                "pathomit", "0"
            });
            //ColorArrayTest(100, 200);
            //GaussianBlurTest(@"..\..\Images\Chrono Trigger2.png", @"chronotrigger2-blurred.png");
            //ColorPaletteTest(@"..\..\Images\Chrono Trigger2.png", @"chronotrigger2-palette.png", 8, 8);
        }

        private static void SaveTracedImage(string[] args)
        {
{'fraction_non_alphanumeric': 0.1500225937641211, 'fraction_numerical': 0.02078626299141437, 'mean_word_length': 2.559485530546624, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3280886', 'n_tokens_mistral': 715, 'n_tokens_neox': 650, 'n_words': 135}