Class ImageExtensions

  • public final class ImageExtensions
    extends Object

    Contains extension methods for conversions based on Image and Image.

    • Method Detail

      • toGdiImage

        public static Image toGdiImage(Image image)
        Deprecated. Please do not use this method as you may get OutOfMemoryException if image is too large for GDI to fit.

        Converts the Image to the Image.

        image - The Image to convert.

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