Initializes a new instance of the ColorResolutionCommand class with explicit parameters.
public ColorResolutionCommand(
ColorResolutionCommandMode mode,
int bitsPerPixel,
RasterByteOrder order,
RasterDitheringMethod ditheringMethod,
ColorResolutionCommandPaletteFlags paletteFlags,
RasterColor[] palette
)
Public Function New( _
ByVal mode As Leadtools.Imageprocessing.ColorResolutionCommandMode, _
ByVal bitsPerPixel As Integer, _
ByVal order As Leadtools.RasterByteOrder, _
ByVal ditheringMethod As Leadtools.RasterDitheringMethod, _
ByVal paletteFlags As Leadtools.Imageprocessing.ColorResolutionCommandPaletteFlags, _
ByVal palette() As Leadtools.RasterColor _
)
public ColorResolutionCommand(
Leadtools.Imageprocessing.ColorResolutionCommandMode mode,
int bitsPerPixel,
Leadtools.RasterByteOrder order,
Leadtools.RasterDitheringMethod ditheringMethod,
Leadtools.Imageprocessing.ColorResolutionCommandPaletteFlags paletteFlags,
Leadtools.RasterColor[] palette
)
- (instancetype)initWithMode:(LTColorResolutionCommandMode)mode
bitsPerPixel:(NSInteger)bitsPerPixel
order:(LTRasterByteOrder)order
ditheringMethod:(LTRasterDitheringMethod)ditheringMethod
paletteFlags:(LTColorResolutionCommandPaletteFlags)paletteFlags
palette:(nullable NSArray<LTRasterColor *> *)palette
public ColorResolutionCommand(
ColorResolutionCommandMode mode,
int bitsPerPixel,
RasterByteOrder order,
RasterDitheringMethod ditheringMethod,
int paletteFlags,
RasterColor[] palette
)
function ColorResolutionCommand(
mode ,
bitsPerPixel ,
order ,
ditheringMethod ,
paletteFlags ,
palette
)
public:
ColorResolutionCommand(
Leadtools.Imageprocessing.ColorResolutionCommandMode mode,
int bitsPerPixel,
Leadtools.RasterByteOrder order,
Leadtools.RasterDitheringMethod ditheringMethod,
Leadtools.Imageprocessing.ColorResolutionCommandPaletteFlags paletteFlags,
Leadtools.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.
For an example, refer to ColorResolutionCommand
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET
Your email has been sent to support! Someone should be in touch! If your matter is urgent please come back into chat.
Chat Hours:
Monday - Friday, 8:30am to 6pm ET
Thank you for your feedback!
Please fill out the form again to start a new chat.
All agents are currently offline.
Chat Hours:
Monday - Friday
8:30AM - 6PM EST
To contact us please fill out this form and we will contact you via email.