SwapChannelsCommandVerifyProperties Method |
Namespace: Atalasoft.Imaging.ImageProcessing.Channels
Exception | Condition |
---|---|
ArgumentException | The channel values are invalid for this image. or The channel values are invalid for this image. or The channel values are invalid for this image. or The channel values are invalid for this image. or Region of interest cannot be used with 48-bit images. or The channel values are invalid for this image. or Region of interest cannot be used with 64-bit images. or The source image must be at least 16-bit. |
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.