ImageFileType class

ImageFileType class

Defines image documents. Includes the following file types: ImageFileType.Ai, ImageFileType.Bmp, ImageFileType.Cdr, ImageFileType.Cmx, ImageFileType.Dcm, ImageFileType.Dib, ImageFileType.DjVu, ImageFileType.Dng, ImageFileType.Emf, ImageFileType.Emz, ImageFileType.Gif, ImageFileType.HeicImageFileType.Ico, ImageFileType.J2c, ImageFileType.J2k, ImageFileType.Jls, ImageFileType.Jp2, ImageFileType.Jpc, ImageFileType.Jfif. ImageFileType.Jpeg, ImageFileType.Jpf, ImageFileType.Jpg, ImageFileType.Jpm, ImageFileType.Jpx, ImageFileType.Odg, ImageFileType.Png, ImageFileType.Psd, ImageFileType.Svgz, ImageFileType.Tif, ImageFileType.Tiff, ImageFileType.Webp, ImageFileType.Wmf. ImageFileType.Wmz. Learn more about Image formats here.

Inheritance: ImageFileTypeFileTypeEnumeration

The ImageFileType type exposes the following members:

Constructors

Constructor Description
init Serialization constructor

Properties

Property Description
file_format The file format
extension The file extension
family The file family
description File type description
UNKNOWN Unknown file type
is_raster Defines if the image is raster
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.
SVGZ An SVGZ file is actually a compressed version of a SVG file. This allows for easier distribution of the file online. When an SVG file is compressed using the .GZIP compression algorithm, it is then given the .svgz 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.

Methods

Method Description
equals Implements Enumeration.equals
compare_to Compares current object to other.
from_filename Returns FileType for specified fileName
from_extension Gets FileType for provided fileExtension
from_stream Returns FileType for provided document stream

See Also