gebiWangshushu / Hei.captcha
Licence: mit
一个跨平台的图形验证码生成工具包/.net core
Stars: ✭ 172
Projects that are alternatives of or similar to Hei.captcha
Imagesharp
📷 A modern, cross-platform, 2D Graphics library for .NET
Stars: ✭ 5,186 (+2915.12%)
Mutual labels: gif, netcore
Netcorecms
NetCoreCMS is a modular theme supported Content Management System developed using ASP.Net Core 2.0 MVC. Which is also usable as web application framework. This project is still under development. Please do not use before it's first release.
Stars: ✭ 165 (-4.07%)
Mutual labels: netcore
Safe Chat
IRC-style chat demo featuring full-stack F#, Akka.Streams, Akkling, Fable, Elmish, Websockets and .NET Core
Stars: ✭ 157 (-8.72%)
Mutual labels: netcore
Dockerize.net
.NET Cli Tool to package your .NET Core Application into a docker image: 'dotnet dockerize'
Stars: ✭ 162 (-5.81%)
Mutual labels: netcore
Mqttnet
MQTTnet is a high performance .NET library for MQTT based communication. It provides a MQTT client and a MQTT server (broker). The implementation is based on the documentation from http://mqtt.org/.
Stars: ✭ 2,486 (+1345.35%)
Mutual labels: netcore
Awesomeimagepicker
Awesome Image Picker library will pick images/gifs with beautiful interface. Supports image or gif, Single and Multiple Image selection.
Stars: ✭ 160 (-6.98%)
Mutual labels: gif
Omnixaml
The freakin' awesome Cross-platform XAML Framework
Stars: ✭ 163 (-5.23%)
Mutual labels: netcore
Essential Image Optimization
Essential Image Optimization - an eBook
Stars: ✭ 1,950 (+1033.72%)
Mutual labels: gif
Abot
Cross Platform C# web crawler framework built for speed and flexibility. Please star this project! +1.
Stars: ✭ 1,961 (+1040.12%)
Mutual labels: netcore
Ffmediatoolkit
FFMediaToolkit is a cross-platform video decoder/encoder library for .NET that uses FFmpeg native libraries. It supports video frames extraction, reading stream metadata and creating videos from bitmaps in any format supported by FFmpeg.
Stars: ✭ 156 (-9.3%)
Mutual labels: netcore
Aurora Api Project
Aurora is a project developed in .NET Core, where it aims to show how to create something using an architecture, in layers, simple and approaching, in a simplistic way, some concepts such as DDD.
Stars: ✭ 162 (-5.81%)
Mutual labels: netcore
Php Sorry Gif
[PHP版]在线制作 sorry 为所欲为等其他7种的gif,可能有 N 多 bug,欢迎 Issues
Stars: ✭ 172 (+0%)
Mutual labels: gif
Hei.Captcha
.net core,跨平台的验证码生成工具包,支持动态gif验证码。基于ImageSharp。
使用.NET Standard 2.0,目前仅测试过.net core的支持,.net frameword 4.6.1 及以上请自行测试~
中文泡泡验证码
字母数字组合验证码
动态gif中文泡泡验证码
动态gif字母数字组合验证码
表单示例
使用
开始之前先把字体文件https://github.com/gebiWangshushu/Hei.Captcha/tree/master/Demo/fonts整个fonts目录下载放到程序根目录(如果只想下载一个文件夹可以使用chrome插件:GitZip for github)
Install-Package Hei.Captcha
//StartUp.cs,Method ConfigureServices()
services.AddHeiCaptcha();
private readonly SecurityCodeHelper _securityCode;
public HomeController(SecurityCodeHelper securityCode)
{
this._securityCode = securityCode;
}
/// <summary>
/// 泡泡中文验证码
/// </summary>
/// <returns></returns>
public IActionResult BubbleCode()
{
var code = _securityCode.GetRandomCnText(2);
var imgbyte = _securityCode.GetBubbleCodeByte(code);
return File(imgbyte, "image/png");
}
/// <summary>
/// 数字字母组合验证码
/// </summary>
/// <returns></returns>
public IActionResult HybridCode()
{
var code = _securityCode.GetRandomEnDigitalText(4);
var imgbyte = _securityCode.GetEnDigitalCodeByte(code);
return File(imgbyte, "image/png");
}
/// <summary>
/// gif泡泡中文验证码
/// </summary>
/// <returns></returns>
public IActionResult GifBubbleCode()
{
var code = _securityCode.GetRandomCnText(2);
var imgbyte = _securityCode.GetGifBubbleCodeByte(code);
return File(imgbyte, "image/gif");
}
/// <summary>
/// gif数字字母组合验证码
/// </summary>
/// <returns></returns>
public IActionResult GifHybridCode()
{
var code = _securityCode.GetRandomEnDigitalText(4);
var imgbyte = _securityCode.GetGifEnDigitalCodeByte(code);
return File(imgbyte, "image/gif");
}
高级
参照Demo, 通过修改/丰富应用程序运行目录./fonts
目录下的字体文件,生成更多不同字体组合的验证码。
公众号
欢迎关注我的公众号。虽然有点懒,不过偶尔打打鸡血还是会写点东西的,你的关注就是我的动力,谢谢支持~~
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].