IRONSOFTWAREHOME
AnyBitmap からバイトを読み取る
using IronSoftware.Drawing;
using System.IO;

// Get, export, and read bytes
AnyBitmap bitmap = AnyBitmap.FromFile(@"FILE_PATH");
byte[] bit = bitmap.GetBytes(); // Get
byte[] export = bitmap.ExportBytes(AnyBitmap.ImageFormat.Tiff, 10);  // Export
byte[] bat = File.ReadAllBytes("file_path"); // Read


Imports IronSoftware.Drawing
Imports System.IO

' Get, export, and read bytes
Dim bitmap As AnyBitmap = AnyBitmap.FromFile("FILE_PATH")
Dim bit As Byte() = bitmap.GetBytes() ' Get
Dim export As Byte() = bitmap.ExportBytes(AnyBitmap.ImageFormat.Tiff, 10) ' Export
Dim bat As Byte() = File.ReadAllBytes("file_path") ' Read
NuGet Download
PM > Install-Package IronSoftware.System.Drawing
AnyBitmap からバイトを読み取る

AnyBitmap からバイトを読み取る

AnyBitmapファイルを操作する

ユーザーはバイト単位でAnyBitmapファイルを操作するオプションがあります。 Readする方法を提供します。

AnyBitmap変数に保存します。 この変数は、その後、File.ReadAllBytes(@"FILE_PATH")メソッドを使用してファイルのすべてのバイトを読み取ることができます。

GitHubで見る

準備はできましたか?

Nuget Downloads 20,274,271バージョン:2026.11リリースされたばかり

Key in blue circle

無料の30日間トライアルキーをすぐに入手してください。

Your trial license will be sent to your email address

制限なし。100% ロック解除済み。クレジットカード不要。

bullet_checkedクレジットカードやアカウントの作成は不要です。制限なし。100% ロック解除済み。クレジットカード不要。
  • Logo Aetna
  • Logo NASA
  • Logo GE
  • Logo Porsche
  • Logo USDA
  • Logo Qatar
Join Millions of Engineers who’ve tried IronDrawing
義務のない相談を受ける
あなたの詳細は常に守秘されます。
  • Logo Aetna
  • Logo NASA
  • Logo GE
  • Logo Porsche
  • Logo USDA
  • Logo Qatar
世界中の数百万人のエンジニアから信頼されています。
あなたの無料30日間の試用キーをすぐに入手。
クレジットカードやアカウントの作成は不要です。