TgaImage.BytesPerPixel
TgaImage.BytesPerPixel property
获取每像素字节数值,表示图像中每个像素占用的内存量。此属性是内存管理和优化的关键指标,帮助开发者高效分配资源并处理图像数据。
public int BytesPerPixel { get; }
另请参见
- class TgaImage
- namespace Aspose.Imaging.FileFormats.Tga
- assembly Aspose.Imaging
获取每像素字节数值,表示图像中每个像素占用的内存量。此属性是内存管理和优化的关键指标,帮助开发者高效分配资源并处理图像数据。
public int BytesPerPixel { get; }