ImageExtensions.ToGdiImage

ImageExtensions.ToGdiImage method

Converts the Image to the Image.

[Obsolete("Please do not use this method as you may get OutOfMemoryException if image is too large for GDI to fit.")]
public static Image ToGdiImage(Image image)
ParameterTypeDescription
imageImageThe Image to convert.

Return Value

The converted Image.

Remarks

Warning, the GDI image may get lower bounds than image has. To get all parts of the image use more safe extension method ToGdiImageFull.

See Also