private CheckSourceFormat ( PixelFormat pixelFormat ) : void | ||
pixelFormat | PixelFormat | |
return | void |
private void CheckSourceFormat(PixelFormat pixelFormat)
{
if (!FormatTranslations.ContainsKey(pixelFormat))
throw new UnsupportedImageFormatException("Source pixel format is not supported by the filter.");
}
}