ImageFormat
Source: aspose.
Specifies the file format of the image.
Methods
equals(obj) → boolean
Returns a value that indicates whether the specified object is an ImageFormat object that is equivalent to this ImageFormat object.
Parameter
Name | Type | Optional | Description |
---|---|---|---|
obj |
Object |
|
The object to test. |
- Returns
-
boolean
true if o is an ImageFormat object that is equivalent to this ImageFormat object; otherwise, false.
getName() → String
Get the string name of this ImageFormat instance
- Returns
-
String
The string name of this ImageFormat instance
getBmp() → ImageFormat
Gets the bitmap (BMP) image format.
- Returns
-
ImageFormat
An ImageFormat object that indicates the bitmap image format.
getEmf() → ImageFormat
Gets the enhanced metafile (EMF) image format.
- Returns
-
ImageFormat
An ImageFormat object that indicates the enhanced metafile image format.
getExif() → ImageFormat
Gets the Exchangeable Image File (Exif) format.
- Returns
-
ImageFormat
An ImageFormat object that indicates the Exif format.
getGif() → ImageFormat
Gets the Graphics Interchange Format (GIF) image format.
- Returns
-
ImageFormat
An ImageFormat object that indicates the GIF image format.
getIcon() → ImageFormat
Gets the Windows icon image format.
- Returns
-
ImageFormat
An ImageFormat object that indicates the Windows icon image format.
getImageFormatFromSuffixName(name) → ImageFormat
Get the image format according to suffix name
Parameter
Name | Type | Optional | Description |
---|---|---|---|
name |
String |
|
suffix name |
- Returns
-
ImageFormat
>An ImageFormat object according to the suffix name.
getJpeg() → ImageFormat
Gets the Joint Photographic Experts Group (JPEG) image format.
- Returns
-
ImageFormat
An ImageFormat object that indicates the JPEG image format.
getMemoryBmp() → ImageFormat
Gets a memory bitmap image format.
- Returns
-
ImageFormat
An ImageFormat object that indicates the memory bitmap image format.
getPng() → ImageFormat
Gets the W3C Portable Network Graphics (PNG) image format.
- Returns
-
ImageFormat
An ImageFormat object that indicates the PNG image format.
getTiff() → ImageFormat
Gets the Tagged Image File Format (TIFF) image format.
- Returns
-
ImageFormat
An ImageFormat object that indicates the TIFF image format.
getWmf() → ImageFormat
Gets the Windows metafile (WMF) image format.
- Returns
-
ImageFormat
An ImageFormat object that indicates the Windows metafile image format.