Beispiel #1
0
        public void GenerateIcon()
        {
            ILemureIcon lemureIcon = new LemureIdentIcon().CreateLemure(IdentIconType.DarkBlockIcon);
            var         Bitmap     = lemureIcon.Draw("lemureteste");

            Bitmap.Save("./lemure-dark-block-md5.jpg", ImageFormat.Jpeg);
            Assert.NotNull(Bitmap);
        }
Beispiel #2
0
        public void GenerateIcon()
        {
            ILemureIcon lemureIcon = new LemureIdentIcon().CreateLemure();
            var         Bitmap     = lemureIcon.Draw("lemureteste");

            Bitmap.Save("./lemure-white-block.jpg", ImageFormat.Jpeg);
            Assert.NotNull(Bitmap);
        }
Beispiel #3
0
        public void GenerateIconSHA512()
        {
            ILemureIcon lemureIcon = new LemureIdentIcon().CreateLemure();

            lemureIcon.UseHash(Hashs.HashType.SHA512);

            var Bitmap = lemureIcon.Draw("lemureteste");

            Bitmap.Save("./lemure-white-block-sha512.jpg", ImageFormat.Jpeg);
            Assert.NotNull(Bitmap);
        }
Beispiel #4
0
        public void GenerateIconOtherSize()
        {
            ILemureIcon lemureIcon = new LemureIdentIcon().CreateLemure();

            lemureIcon.SetSizeIcon(500, 500).SetSizeOfBlock(6);

            var Bitmap = lemureIcon.Draw("lemureteste");

            Bitmap.Save("./lemure-white-500-500-8-block.jpg", ImageFormat.Jpeg);

            Assert.NotNull(Bitmap);
        }