印鑑画像 日付印 データネーム印 職印 スタンプ はんこ ただの画像
WPF/Blazor/MAUI/VSTO 画像ファイル 勉強用
netstandard2.0
- SkiaSharp
- StampImages.Core
netstandard2.0
system-drawing-common-windows-only
- System.Drawing.Common
- StampImages.Core
StampImageFactory stampImageFactory = new StampImageFactory(new StampImageFactoryConfig());
var stamp = new ThreeAreaCircularStamp
{
TopText = new StampText { Value = "所属部門", Size = 22 },
MiddleText = new StampText { Value = DateTime.Now.ToString("yyyy.MM.dd"), Size = 30 },
BottomText = new StampText { Value = "ユーザー名", Size = 25 }
};
using (stamp)
{
stampImageFactory.Save(stamp, "./stamp.png");
}
StampImageFactory stampImageFactory = new StampImageFactory(new StampImageFactoryConfig());
var stamp = new RectangleStamp
{
Color = Color.DarkCyan,
EdgeType = StampEdgeType.Double,
Text = new StampText { Value = "承認", Size = 60 },
};
stamp.EffectTypes.Add(StampEffectType.NOISE);
using (stamp)
using (var bitmap = stampImageFactory.Create(stamp))
{
bitmap.Save("./stamp_sq.png", ImageFormat.Png);
}
Stardos Stencil (OFL)
StampImageFactory stampImageFactory = new StampImageFactory();
var stamp = new RectangleStamp
{
Size = new Size(680, 140),
Color = ColorTranslator.FromHtml("#1f456e"),
IsFillColor = true,
EdgeType = StampEdgeType.Double,
EdgeWidth = 5,
EdgeRadius = 0,
Text = new StampText { Value = "Stamp Images", Size = 70, FontFamily = new FontFamily("Stardos Stencil") },
};
stamp.EffectTypes.Add(StampEffectType.Grunge);
using (stamp)
using (var bitmap = stampImageFactory.Create(stamp))
{
bitmap.Save("./stamp_images.png");
}
netcoreapp3.1
WPF
Prism
ReactiveProperty
MahApps.Metro
netcoreapp3.1
Blazor(Server-Side)