VintaSoft Barcode .NET SDK 16.0: Документация для Веб разработчика
Vintasoft.Imaging Namespace / PixelFormat Enumeration
Синтаксис Члены типа Иерархия Требования Смотрите также
В этом разделе
PixelFormat Перечисление
В этом разделе
Specifies available formats of the color data for each pixel in the image.
Синтаксис
'Declaration

Public Enum PixelFormat
   Inherits System.Enum

public enum PixelFormat : System.Enum

Члены типа
Член типаОписание
UndefinedUndefined pixel format.
Indexed1Указывает, что формат пикселя составляет 1 бит на пиксель и что он использует индексированный цвет. Таким образом, таблица цветов содержит два цвета.
BlackWhiteSpecifies that the pixel format is 1 bit per pixel and that it uses two colors: black and white.
Indexed4Specifies that the format is 4 bits per pixel, indexed.
Indexed8Specifies that the format is 8 bits per pixel, indexed. The color table therefore has 256 colors in it.
Gray8The pixel format is 8 bits per pixel. The color information specifies 256 shades of gray.
Bgr555Specifies that the format is 15 bits per pixel; 5 bits each are used for the blue, green, and red components.
Bgr565Specifies that the format is 16 bits per pixel; 5-6-5 bits each are used for the blue, green, and red components.
Gray16The pixel format is 16 bits per pixel. The color information specifies 65536 shades of gray.
Bgr24Указывает, что формат составляет 24 бита на пиксель; 8 бит используются для синей, зеленой и красной составляющих.
Bgr32Specifies that the format is 32 bits per pixel; 8 bits each are used for the blue, green and red components. The remaining 8 bits are not used.
Bgra32Указывает, что формат составляет 32 бита на пиксель; 8 бит используются для синего, зеленого, красного и альфа-компонентов.
Bgr48Specifies that the format is 48 bits per pixel; 16 bits each are used for the blue, green, and red components.
Bgra64Specifies that the format is 64 bits per pixel; 16 bits each are used for the blue, green, red and alpha components.
Иерархия наследования

System.Object
   System.ValueType
      System.Enum
         Vintasoft.Imaging.PixelFormat

Требования

Целевые платформы: .NET 10; .NET 9; .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

Смотрите также