位圖轉字串
IronDrawing還具有將AnyBitmap文件的特性。 對特定AnyBitmap文件將有類似的字串。 因此,透過比較兩個AnyBitmap文件的字串來檢查相似性是一種有用的方法。
要使用此功能,只需從文件路徑載入AnyBitmap文件的字串。
準備開始了嗎?
Nuget 下載 18,156,807 | 版本: 2025.3 剛剛發布
using IronSoftware.Drawing; AnyBitmap bitmap = AnyBitmap.FromFile(@"FILE_PATH"); // Convert AnyBitmap to a string that represents the object string bitmapString = bitmap.ToString();
Imports IronSoftware.Drawing
Private bitmap As AnyBitmap = AnyBitmap.FromFile("FILE_PATH")
' Convert AnyBitmap to a string that represents the object
Private bitmapString As String = bitmap.ToString()
Install-Package IronSoftware.System.Drawing
IronDrawing還具有將AnyBitmap文件的特性。 對特定AnyBitmap文件將有類似的字串。 因此,透過比較兩個AnyBitmap文件的字串來檢查相似性是一種有用的方法。
要使用此功能,只需從文件路徑載入AnyBitmap文件的字串。