Click or drag to resize

ImageCommandProxySelectBestAlternatePixelFormat Method

Namespace:  Atalasoft.Imaging.ImageProcessing
Assembly:  Atalasoft.dotImage (in Atalasoft.dotImage.dll) Version: 11.4.0.9.0.377 (.NET 4.5.2, x86)
Syntax
protected static PixelFormat ProxySelectBestAlternatePixelFormat(
	ImageCommand command,
	AtalaImage sourceImage,
	PixelFormat sourceFormat,
	PixelFormat[] formats
)

Parameters

command
Type: Atalasoft.Imaging.ImageProcessingImageCommand
An ImageCommand that will be called.
sourceImage
Type: Atalasoft.ImagingAtalaImage
An AtalaImage to be passed to SelectBestAlternatePixelFormat.
sourceFormat
Type: Atalasoft.ImagingPixelFormat
The source image pixel format
formats
Type: Atalasoft.ImagingPixelFormat
A set of supported pixel formats for the command

Return Value

Type: PixelFormat
This method (and all the Proxy...() methods are meant for meta image commands, such as ThreadedCommand, which need to operate on existing ImageCommands by proxy.
See Also