Click or drag to resize

ImageCommandCanApplyToAnyPixelFormat Property

Returns true if the command can be applied to any PixelFormat.

Namespace:  Atalasoft.Imaging.ImageProcessing
Assembly:  Atalasoft.dotImage (in Atalasoft.dotImage.dll) Version: (.NET 4.5.2, x86)
public virtual bool CanApplyToAnyPixelFormat { get; }

Property Value

Type: Boolean
A boolean representing if this command can be applied to any PixelFormat.

Many commands have the ability to take advantage of automatic PixelFormat conversion so that they can operate on all the PixelFormats instead of a select few. This capability comes at the cost of time and memory.

If CanApplyToAnyPixelFormat is true, then it is possible to set the property ApplyToAnyPixelFormat to true, to cause automatic conversion. If CanApplyToAnyPixelFormat is false, then it is incorrect to set ApplyToAnyPixelFormat to true.

See Also