ImageFileType class

ImageFileType class

Represents image document file types.

Supported formats include:

Learn more about image formats here: https://wiki.fileformat.com/image.

The ImageFileType type exposes the following members:

Constructors

Constructor Description
init Initializes a new ImageFileType instance for serialization.

Methods

Method Description
compare_to Compares current object to other. (inherited from Enumeration)
compare_to_object (inherited from Enumeration)
equals Implements the equality comparison defined by Enumeration.equals. (inherited from FileType)
equals_enumeration (inherited from FileType)
equals_object (inherited from Enumeration)
from_display_name (inherited from Enumeration)
from_extension Gets the FileType for the provided file extension. (inherited from FileType)
from_filename Returns FileType for specified file_name. (inherited from FileType)
from_stream Returns FileType for provided document stream. (inherited from FileType)
from_value (inherited from Enumeration)
get_all (inherited from FileType)
get_hash_code Provides the default hash function. (inherited from Enumeration)
to_string String representation of file type. (inherited from FileType)

Properties

Property Description
is_raster The image is raster.
description The file type description. (inherited from FileType)
extension The file extension. (inherited from FileType)
family The file family. (inherited from FileType)
file_format The file format. (inherited from FileType)

Fields

Field Description
TIFF TIFF, Tagged Image File Format, represents raster images that are meant for usage on a variety of devices that comply with this file format standard. It is capable of describing bilevel, grayscale, palette-color and full-color image data in several color spaces. Learn more about this file format here.
TIF TIF, Tagged Image File Format, represents raster images that are meant for usage on a variety of devices that comply with this file format standard. It is capable of describing bilevel, grayscale, palette-color and full-color image data in several color spaces. Learn more about this file format here.
JPG A JPG is a type of image format that is saved using the method of lossy compression. The output image, as result of compression, is a trade-off between storage size and image quality. Learn more about this file format here.
JPEG A JPEG is a type of image format that is saved using the method of lossy compression. The output image, as result of compression, is a trade-off between storage size and image quality. Learn more about this file format here.
PNG PNG, Portable Network Graphics, refers to a type of raster image file format that use loseless compression. This file format was created as a replacement of Graphics Interchange Format (GIF) and has no copyright limitations. Learn more about this file format here.
GIF A GIF or Graphical Interchange Format is a type of highly compressed image. For each image GIF typically allow up to 8 bits per pixel and up to 256 colours are allowed across the image. Learn more about this file format here.
BMP BMP represent Bitmap Image files that are used to store bitmap digital images. These images are independent of graphics adapter and are also called device independent bitmap (DIB) file format. Learn more about this file format here.
ICO Files with ICO extension are image file types used as icon for representation of an application on Microsoft Windows. Learn more about this file format here.
PSD PSD, Photoshop Document, represents Adobe Photoshop’s native file format used for graphics designing and development. Learn more about this file format here.
WMF Files with WMF extension represent Microsoft Windows Metafile (WMF) for storing vector as well as bitmap-format images data. Learn more about this file format here.
EMF Enhanced metafile format (EMF) stores graphical images device-independently. Metafiles of EMF comprises of variable-length records in chronological order that can render the stored image after parsing on any output device. Learn more about this file format here.
DCM Files with .DCM extension represent digital image which stores medical information of patients such as MRIs, CT scans and ultrasound images. Learn more about this file format here.
DICOM Files with .DICOM extension represent digital image which stores medical information of patients such as MRIs, CT scans and ultrasound images. Learn more about this file format here.
WEBP WebP, introduced by Google, is a modern raster web image file format that is based on lossless and lossy compression. It provides same image quality while considerably reducing the image size. Learn more about this file format here.
DNG DNG is a digital camera image format used for the storage of raw files. It has been developed by Adobe in September 2004. It was basically developed for digital photography. Learn more about this file format here.
JP2 JPEG 2000 (JP2) is an image coding system and state-of-the-art image compression standard. Learn more about this file format here.
ODG The ODG file format is used by Apache OpenOffice’s Draw application to store drawing elements as a vector image. Learn more about this file format here.
J2C J2c document format
J2K J2K file is an image that is compressed using the wavelet compression instead of DCT compression. Learn more about this file format here.
JPX Jpx document format
JPF Jpf document format
JPM Jpm document format
CDR A CDR file is a vector drawing image file that is natively created with CorelDRAW for storing digital image encoded and compressed. Such a drawing file contains text, lines, shapes, images, colours and effects for vector representation of image contents. Learn more about this file format here.
CMX Files with CMX extension are Corel Exchange image file format that is used as presentation by CorelSuite applications. Learn more about this file format here.
DIB DIB (Device Independent Bitmap) file is a raster image file that is similar in structure to the standard Bitmap files (BMP) but has a different header. Learn more about this file format here.
JPC Jpc document format
JLS Jls document format
DJ_VU DjVu is a graphics file format intended for scanned documents and books especially those which contain the combination of text, drawings, images and photographs. Learn more about this file format here.
OTG An OTG file is a drawing template that is created using the OpenDocument standard that follows the OASIS Office Applications 1.0 specification. Learn more about this file format here.
AI AI, Adobe Illustrator Artwork, represents single-page vector-based drawings in either the EPS or PDF formats.
EMZ An EMZ file is actually a compressed version of a Microsoft EMF file. This allows for easier distribution of the file online. When an EMF file is compressed using the .GZIP compression algorithm, it is then given the .emz file extension.
WMZ An WMZ file is actually a compressed version of a Microsoft WMF file. This allows for easier distribution of the file online. When an EWMFMF file is compressed using the .GZIP compression algorithm, it is then given the .wmz file extension.
TGA A file with .tga extension is a raster graphic format and was created by Truevision Inc. Learn more about this file format here.
PSB Adobe photoshop saves files in two formats. Files having 30,000 by 30,000 pixels in size are saved with PSD extension and files larger than PSD upto 300,000 by 300,000 pixels are saved with PSB extension known as “Photoshop Big”. Learn more about this file format here.
FODG FODG is a uncompressed XML-format file used for storing OpenDocument text data. FODG extension is associated with open source office productivity suites Libre Office and OpenOffice.org.
JFIF JFIF (JPEG File Interchange Format (JFIF)) is an image format file that uses the .jfif extension. JFIF builds over JIF (JPEG Interchange Format) by reducing complexity and solving its limitations. Learn more about this file format here.
HEIC An HEIC file is a High-Efficiency Container Image file format that can store multiple images as a collection in a single file. The format was adopted by Apple as variant of the HEIF with the launch of iOS 11. Learn more about this file format here.
AVIF AVIF (AV1 Image File Format) is an image file format that stores images compressed with AV1 in HEIF file format. AVIF files are stored with the .avif extension. Version 1 of the AVIF was finalized in February 2019. It has features like High Dynamic Range (HDR), support for 8, 10, and 12 color depth, support for any color space(ISO/IEC CICP and ICC profiles, wide color gamut), etc. Learn more about this file format here.
UNKNOWN Unknown file type (inherited from FileType)

Guides

Task guides that use ImageFileType:

See Also