ImageInfo
概述
ImageInfo 是 Aspose.Imaging FOSS 中用于 .NET 的类。
ImageInfo 属性 Format、Width、Height、BitDepth 和 FrameCount 暴露已解析的头部值;当头部不完整时,Width、Height 和 BitDepth 为可空。
此类为 .NET 程序中的 ImageInfo 对象声明了 1 个方法。可用的方法包括:ImageInfo。在安装了 Aspose.Imaging FOSS for .NET 包后,公共成员对任何 .NET 应用程序均可访问。属性:BitDepth、Format、FrameCount、Height、Width。
属性
| 名称 | 类型 | 访问 | 描述 |
|---|---|---|---|
Format | ImageFormat | 读取 | 获取格式。 |
Width | int? | 读取 | 获取宽度。 |
Height | int? | 读取 | 获取高度。 |
BitDepth | int? | 读取 | 获取位深度。 |
FrameCount | int? | 读取 | 获取帧计数。 |
方法
| 签名 | 描述 |
|---|---|
ImageInfo(format: ImageFormat, width: int?, height: int?, bitDepth: int?, frameCount: int?) | 在此 ImageInfo 实例上调用 ImageInfo(format, width, height, bitDepth, frameCount)。 |