com.aspose.cells

Class ImageFormat

  • java.lang.Object
    • com.aspose.cells.ImageFormat
public class ImageFormat 
extends java.lang.Object

Specifies the file format of the image.

Method Summary
booleanequals(java.lang.Objectobj)
Returns a value that indicates whether the specified object is an ImageFormat object that is equivalent to this ImageFormat object.
staticImageFormatgetBmp()
Gets the bitmap (BMP) image format.
staticImageFormatgetEmf()
Gets the enhanced metafile (EMF) image format.
staticImageFormatgetExif()
Gets the Exchangeable Image File (Exif) format.
staticImageFormatgetGif()
Gets the Graphics Interchange Format (GIF) image format.
staticImageFormatgetIcon()
Gets the Windows icon image format.
staticImageFormatgetImageFormatFromSuffixName(java.lang.Stringname)
Get the image format according to suffix name
staticImageFormatgetJpeg()
Gets the Joint Photographic Experts Group (JPEG) image format.
staticImageFormatgetMemoryBmp()
Gets a memory bitmap image format.
java.lang.StringgetName()
Get the string name of this ImageFormat instance
staticImageFormatgetPng()
Gets the W3C Portable Network Graphics (PNG) image format.
staticImageFormatgetTiff()
Gets the Tagged Image File Format (TIFF) image format.
staticImageFormatgetWmf()
Gets the Windows metafile (WMF) image format.
 

    • Method Detail

      • getBmp

        public static ImageFormat getBmp()
        Gets the bitmap (BMP) image format.
        Returns:
        An ImageFormat object that indicates the bitmap image format.
      • getEmf

        public static ImageFormat getEmf()
        Gets the enhanced metafile (EMF) image format.
        Returns:
        An ImageFormat object that indicates the enhanced metafile image format.
      • getExif

        public static ImageFormat getExif()
        Gets the Exchangeable Image File (Exif) format.
        Returns:
        An ImageFormat object that indicates the Exif format.
      • getGif

        public static ImageFormat getGif()
        Gets the Graphics Interchange Format (GIF) image format.
        Returns:
        An ImageFormat object that indicates the GIF image format.
      • getIcon

        public static ImageFormat getIcon()
        Gets the Windows icon image format.
        Returns:
        An ImageFormat object that indicates the Windows icon image format.
      • getJpeg

        public static ImageFormat getJpeg()
        Gets the Joint Photographic Experts Group (JPEG) image format.
        Returns:
        An ImageFormat object that indicates the JPEG image format.
      • getMemoryBmp

        public static ImageFormat getMemoryBmp()
        Gets a memory bitmap image format.
        Returns:
        An ImageFormat object that indicates the memory bitmap image format.
      • getPng

        public static ImageFormat getPng()
        Gets the W3C Portable Network Graphics (PNG) image format.
        Returns:
        An ImageFormat object that indicates the PNG image format.
      • getTiff

        public static ImageFormat getTiff()
        Gets the Tagged Image File Format (TIFF) image format.
        Returns:
        An ImageFormat object that indicates the TIFF image format.
      • getWmf

        public static ImageFormat getWmf()
        Gets the Windows metafile (WMF) image format.
        Returns:
        An ImageFormat object that indicates the Windows metafile image format.
      • equals

        public boolean equals(java.lang.Object obj)
        Returns a value that indicates whether the specified object is an ImageFormat object that is equivalent to this ImageFormat object.
        Parameters:
        obj - The object to test.
        Returns:
        true if o is an ImageFormat object that is equivalent to this ImageFormat object; otherwise, false.
      • getName

        public java.lang.String getName()
        Get the string name of this ImageFormat instance
        Returns:
        The string name of this ImageFormat instance
      • getImageFormatFromSuffixName

        public static ImageFormat getImageFormatFromSuffixName(java.lang.String name)
        Get the image format according to suffix name
        Parameters:
        name - suffix name
        Returns:
        >An ImageFormat object according to the suffix name.