从AnyBitmap读取字节 Working with AnyBitmap Files Users have the option of manipulating AnyBitmap files in terms of bytes. The IronDrawing library provides methods to Get, Export, and Read bytes of an AnyBitmap file. The image file to be read can be loaded using a file path with AnyBitmap.FromFile(@"FILE_PATH") and stored in an AnyBitmap variable. This variable can then be manipulated to get bytes using the .GetBytes() method, export bytes with an option to change the image format and degree of image loss using the .ExportBytes(AnyBitmap.ImageFormat.Format, 10) method, and read all bytes of the file using the File.ReadAllBytes(@"FILE_PATH") method. 相关文档链接 在Github上查看 相关教程 相关操作指南 类文档 下载IronDrawing DLL 在此页面上报告问题 准备开始了吗? Nuget 下载 13,318,306 | 版本: 2025.3 刚刚发布 免费 NuGet 下载 总下载量:13,318,306 查看许可证