public ColorResolutionCommand(ColorResolutionCommandMode mode,int bitsPerPixel,RasterByteOrder order,RasterDitheringMethod ditheringMethod,ColorResolutionCommandPaletteFlags paletteFlags,RasterColor[] palette)
Public Function New( _ByVal mode As ColorResolutionCommandMode, _ByVal bitsPerPixel As Integer, _ByVal order As RasterByteOrder, _ByVal ditheringMethod As RasterDitheringMethod, _ByVal paletteFlags As ColorResolutionCommandPaletteFlags, _ByVal palette() As RasterColor _)
- (instancetype)initWithMode:(LTColorResolutionCommandMode)modebitsPerPixel:(NSInteger)bitsPerPixelorder:(LTRasterByteOrder)orderditheringMethod:(LTRasterDitheringMethod)ditheringMethodpaletteFlags:(LTColorResolutionCommandPaletteFlags)paletteFlagspalette:(nullable NSArray<LTRasterColor *> *)palette
public ColorResolutionCommand(ColorResolutionCommandMode mode,int bitsPerPixel,RasterByteOrder order,RasterDitheringMethod ditheringMethod,int paletteFlags,RasterColor[] palette)
public:ColorResolutionCommand(ColorResolutionCommandMode mode,int bitsPerPixel,RasterByteOrder order,RasterDitheringMethod ditheringMethod,ColorResolutionCommandPaletteFlags paletteFlags,array<RasterColor>^ palette)
mode
Flags which control the behavior of the command.
bitsPerPixel
The number of bits per pixel to for the conversion. Valid values are 1, 2, 3, 4, 5, 6, 7, 8, 12, 16, 24, 32, 48 and 64.
order
The desired color order for the conversion.
ditheringMethod
Dithering options, useful only when the resulting image requires a palette (when it is 8 bits per pixel or less).
paletteFlags
Palette options, useful only when the resulting image requires a palette (when it is 8 bits per pixel or less).
palette
The palette used when converting the image if paletteFlags includes the ColorResolutionCommandPaletteFlags.UsePalette flag.
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document
