Click or drag to resize

ResampleColormappedToRgbCommandVerifyProperties Method

Verify the integrity of properties in the command before processing an image.

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 override void VerifyProperties(
	AtalaImage image
)

Parameters

image
Type: Atalasoft.ImagingAtalaImage
The image to be processed.
Exceptions
ExceptionCondition
ArgumentException Cannot perform AreaAverage resize method when increasing the size of the image, use default instead or The requested MaxSize cannot be used because it would result in a zero length width or height.;MaxSize or AreaAverage requires the destination image to be the same size or smaller than the source image. or Invalid resize method;method
Remarks

This method does not check the integrity of the source image itself. That is already done by the time VerifyProperties is called.

Errors should be indicated by throwing an appropriate exception.

See Also