public final class ImageFormat extends Object
Specifies the file format of the image. Not inheritable.
| Constructor and Description |
|---|
ImageFormat(UUID guid)
Initializes a new instance of the
ImageFormat class by using the specified UUID structure. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o)
Returns a value that indicates whether the specified object is an
ImageFormat object that is equivalent
to this ImageFormat object. |
static ImageFormat |
getBmp()
Gets the bitmap (BMP) image format.
|
static ImageFormat |
getEmf()
Gets the enhanced metafile (EMF) image format.
|
static ImageFormat |
getExif()
Gets the Exchangeable Image File (EXIF) format.
|
static ImageFormat |
getGif()
Gets the Graphics Interchange Format (GIF) image format.
|
UUID |
getGuid()
Gets a
UUID structure that represents this ImageFormat object. |
static ImageFormat |
getIcon()
Gets the Windows icon image format.
|
static ImageFormat |
getJpeg()
Gets the Joint Photographic Experts Group (JPEG) image format.
|
static ImageFormat |
getMemoryBmp()
Gets a memory bitmap image format.
|
static ImageFormat |
getPng()
Gets the W3C Portable Network Graphics (PNG) image format.
|
static ImageFormat |
getTiff()
Gets the Tagged Image File Format (TIFF) image format.
|
static ImageFormat |
getWmf()
Gets the Windows metafile (WMF) image format.
|
int |
hashCode()
Returns a hash code value that represents this object.
|
String |
toString()
Converts this
ImageFormat object to a human-readable string. |
public ImageFormat(UUID guid)
Initializes a new instance of the ImageFormat class by using the specified UUID structure.
guid - The UUID structure that specifies a particular image format.public static ImageFormat getMemoryBmp()
Gets a memory bitmap image format.
public static ImageFormat getBmp()
Gets the bitmap (BMP) image format.
public static ImageFormat getEmf()
Gets the enhanced metafile (EMF) image format.
public static ImageFormat getWmf()
Gets the Windows metafile (WMF) image format.
public static ImageFormat getGif()
Gets the Graphics Interchange Format (GIF) image format.
public static ImageFormat getJpeg()
Gets the Joint Photographic Experts Group (JPEG) image format.
public static ImageFormat getPng()
Gets the W3C Portable Network Graphics (PNG) image format.
public static ImageFormat getTiff()
Gets the Tagged Image File Format (TIFF) image format.
public static ImageFormat getExif()
Gets the Exchangeable Image File (EXIF) format.
public static ImageFormat getIcon()
Gets the Windows icon image format.
public UUID getGuid()
Gets a UUID structure that represents this ImageFormat object.
public boolean equals(Object o)
Returns a value that indicates whether the specified object is an ImageFormat object that is equivalent
to this ImageFormat object.
equals in class Objecto - The object to test.o is an ImageFormat object that is equivalent
to this ImageFormat object; otherwise, false.public int hashCode()
Returns a hash code value that represents this object.
public String toString()
Converts this ImageFormat object to a human-readable string.
toString in class ObjectImageFormat object.Copyright (c) 2008-2025 Aspose Pty Ltd. All Rights Reserved.