ImageCommandProxySelectPreferredPixelFormat 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 ProxySelectPreferredPixelFormat(
ImageCommand command,
AtalaImage sourceImage,
PixelFormat sourceFormat,
PixelFormat[] formats
)
Protected Shared Function ProxySelectPreferredPixelFormat (
command As ImageCommand,
sourceImage As AtalaImage,
sourceFormat As PixelFormat,
formats As PixelFormat()
) As PixelFormat
Parameters
- command
- Type: Atalasoft.Imaging.ImageProcessingImageCommand
An ImageCommand that will be called. - sourceImage
- Type: Atalasoft.ImagingAtalaImage
An AtalaImage to be passed to SelectPreferredPixelFormat. - 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:
PixelFormatRemarks 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