Example #1
0
        public void GenerateIconSHA512()
        {
            ILemureIcon lemureIcon = new LemureIdentIcon().CreateLemure(IdentIconType.DarkBlockIcon);

            lemureIcon.UseHash(Hashs.HashType.SHA512);

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

            Bitmap.Save("./lemure-dark-block-sha512.jpg", ImageFormat.Jpeg);
            Assert.NotNull(Bitmap);
        }
Example #2
0
        public void GenerateIconSHA256()
        {
            ILemureIcon lemureIcon = new LemureIdentIcon().CreateLemure();

            lemureIcon.UseHash(Hashs.HashType.SHA256);

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

            Bitmap.Save("./lemure-white-block-sha256.jpg", ImageFormat.Jpeg);
            Assert.NotNull(Bitmap);
        }