位图到字符串
using IronSoftware.Drawing;

AnyBitmap bitmap = AnyBitmap.FromFile(@"FILE_PATH");

// Convert AnyBitmap to a string that represents the object
string bitmapString = bitmap.ToString();

NuGet Download
PM > Install-Package IronSoftware.System.Drawing
位图到字符串

位图到字符串

IronDrawing还具有将AnyBitmap文件。 对特定AnyBitmap文件将具有相似的字符串。 因此,它作为通过比较两个AnyBitmap文件的字符串来检查相似性的一种方法是有用的。

要使用此功能,只需从文件路径加载一个AnyBitmap文件的字符串。

在 GitHub 上查看

准备开始了吗?

Nuget Downloads 21,568,779版本:2026.11刚刚发布