Beispiel #1
0
        GuidToStringMap()
        {
            System.Collections.Generic.Dictionary <System.Guid, string> dict2 =
                new Collections.Generic.Dictionary <System.Guid, string>();

            dict2.Add(new Guid("{b96b3ca9-0728-11d3-9d7b-0000f81ef32e}"), "undefined");
            dict2.Add(new Guid("{b96b3caa-0728-11d3-9d7b-0000f81ef32e}"), "memoryBMP");
            dict2.Add(new Guid("{b96b3cab-0728-11d3-9d7b-0000f81ef32e}"), "bmp");
            dict2.Add(new Guid("{b96b3cac-0728-11d3-9d7b-0000f81ef32e}"), "emf");
            dict2.Add(new Guid("{b96b3cad-0728-11d3-9d7b-0000f81ef32e}"), "wmf");
            dict2.Add(new Guid("{b96b3cae-0728-11d3-9d7b-0000f81ef32e}"), "jpeg");
            dict2.Add(new Guid("{b96b3caf-0728-11d3-9d7b-0000f81ef32e}"), "png");
            dict2.Add(new Guid("{b96b3cb0-0728-11d3-9d7b-0000f81ef32e}"), "gif");
            dict2.Add(new Guid("{b96b3cb1-0728-11d3-9d7b-0000f81ef32e}"), "tiff");
            dict2.Add(new Guid("{b96b3cb2-0728-11d3-9d7b-0000f81ef32e}"), "exif");
            dict2.Add(new Guid("{b96b3cb3-0728-11d3-9d7b-0000f81ef32e}"), "photoCD");
            dict2.Add(new Guid("{b96b3cb4-0728-11d3-9d7b-0000f81ef32e}"), "flashPIX");
            dict2.Add(new Guid("{b96b3cb5-0728-11d3-9d7b-0000f81ef32e}"), "icon");

            return(dict2);
        }
Beispiel #2
0
        GuidToEncoderMap()
        {
            System.Collections.Generic.Dictionary <System.Guid, System.Type> dict3 =
                new Collections.Generic.Dictionary <Guid, System.Type>();

            dict3.Add(new Guid("{b96b3ca9-0728-11d3-9d7b-0000f81ef32e}"), null);
            dict3.Add(new Guid("{b96b3caa-0728-11d3-9d7b-0000f81ef32e}"), typeof(SixLabors.ImageSharp.Formats.Bmp.BmpEncoder));
            dict3.Add(new Guid("{b96b3cab-0728-11d3-9d7b-0000f81ef32e}"), typeof(SixLabors.ImageSharp.Formats.Bmp.BmpEncoder));
            dict3.Add(new Guid("{b96b3cac-0728-11d3-9d7b-0000f81ef32e}"), null); // emf
            dict3.Add(new Guid("{b96b3cad-0728-11d3-9d7b-0000f81ef32e}"), null); // wmf
            dict3.Add(new Guid("{b96b3cae-0728-11d3-9d7b-0000f81ef32e}"), typeof(SixLabors.ImageSharp.Formats.Jpeg.JpegEncoder));
            dict3.Add(new Guid("{b96b3caf-0728-11d3-9d7b-0000f81ef32e}"), typeof(SixLabors.ImageSharp.Formats.Png.PngEncoder));
            dict3.Add(new Guid("{b96b3cb0-0728-11d3-9d7b-0000f81ef32e}"), typeof(SixLabors.ImageSharp.Formats.Gif.GifEncoder));
            dict3.Add(new Guid("{b96b3cb1-0728-11d3-9d7b-0000f81ef32e}"), null); // tiff
            dict3.Add(new Guid("{b96b3cb2-0728-11d3-9d7b-0000f81ef32e}"), null); // exif
            dict3.Add(new Guid("{b96b3cb3-0728-11d3-9d7b-0000f81ef32e}"), null); // photoCD
            dict3.Add(new Guid("{b96b3cb4-0728-11d3-9d7b-0000f81ef32e}"), null); // flashPIX
            dict3.Add(new Guid("{b96b3cb5-0728-11d3-9d7b-0000f81ef32e}"), null); // icon

            return(dict3);
        }
Beispiel #3
0
        StringToGuidMap()
        {
            System.Collections.Generic.Dictionary <string, System.Guid> dict =
                new Collections.Generic.Dictionary <string, System.Guid>
                    (System.StringComparer.OrdinalIgnoreCase)
            ;

            dict.Add("undefined", new Guid("{b96b3ca9-0728-11d3-9d7b-0000f81ef32e}"));
            dict.Add("memoryBMP", new Guid("{b96b3caa-0728-11d3-9d7b-0000f81ef32e}"));
            dict.Add("bmp", new Guid("{b96b3cab-0728-11d3-9d7b-0000f81ef32e}"));
            dict.Add("emf", new Guid("{b96b3cac-0728-11d3-9d7b-0000f81ef32e}"));
            dict.Add("wmf", new Guid("{b96b3cad-0728-11d3-9d7b-0000f81ef32e}"));
            dict.Add("jpeg", new Guid("{b96b3cae-0728-11d3-9d7b-0000f81ef32e}"));
            dict.Add("png", new Guid("{b96b3caf-0728-11d3-9d7b-0000f81ef32e}"));
            dict.Add("gif", new Guid("{b96b3cb0-0728-11d3-9d7b-0000f81ef32e}"));
            dict.Add("tiff", new Guid("{b96b3cb1-0728-11d3-9d7b-0000f81ef32e}"));
            dict.Add("exif", new Guid("{b96b3cb2-0728-11d3-9d7b-0000f81ef32e}"));
            dict.Add("photoCD", new Guid("{b96b3cb3-0728-11d3-9d7b-0000f81ef32e}"));
            dict.Add("flashPIX", new Guid("{b96b3cb4-0728-11d3-9d7b-0000f81ef32e}"));
            dict.Add("icon", new Guid("{b96b3cb5-0728-11d3-9d7b-0000f81ef32e}"));

            return(dict);
        }