FileType class

FileType class

Represents the file type.

The FileType type exposes the following members:

Properties

Property Description
description Gets the file type description.
extension Gets the file extension.
file_format Gets the file format.
UNKNOWN Represents unknown file type.
TORRENT Represents TORRENT file type.
PDF Portable Document Format (PDF) is a type of document created by Adobe back in 1990s. The purpose of this
file format was to introduce a standard for representation of documents and other reference material in
a format that is independent of application software, hardware as well as Operating System. Learn more
about this file format here.
PPT A file with PPT extension represents PowerPoint file that consists of a collection of slides for
displaying as SlideShow. It specifies the Binary File Format used by Microsoft PowerPoint 97-2003.
Learn more about this file format here.
PPTX Files with PPTX extension are presentation files created with popular Microsoft PowerPoint application.
Unlike the previous version of presentation file format PPT which was binary, the PPTX format is based
on the Microsoft PowerPoint open XML presentation file format. Learn more about this file format
here.
POTX Files with .POTX extension represent Microsoft PowerPoint template presentations that are created with
Microsoft PowerPoint 2007 and above. Learn more about this file format
here.
PPTM Files with PPTM extension are Macro-enabled Presentation files that are created with
Microsoft PowerPoint 2007 or higher versions. Learn more about this file format
here.
POTM Files with POTM extension are Microsoft PowerPoint template files with support for Macros. POTM files
are created with PowerPoint 2007 or above and contains default settings that can be used to create
further presentation files. Learn more about this file format
here.
PPS PPS, PowerPoint Slide Show, files are created using Microsoft PowerPoint for Slide Show purpose.
PPS file reading and creation is supported by Microsoft PowerPoint 97-2003. Learn more about this file format
here.
PPSX PPSX, Power Point Slide Show, file are created using Microsoft PowerPoint 2007 and above for
Slide Show purpose. Learn more about this file format
here.
PPSM Files with PPSM extension represent Macro-enabled Slide Show file format created with Microsoft
PowerPoint 2007 or higher. Learn more about this file format
here.
POT Files with .POT extension represent Microsoft PowerPoint template files in binary format created by PowerPoint 97-2003 versions.
Learn more about this file format
here.
XLS Files with XLS extension represent Excel Binary File Format. Such files can be created by Microsoft Excel
as well as other similar spreadsheet programs such as OpenOffice Calc or Apple Numbers. Learn more about
this file format here.
XLSX XLSX is well-known format for Microsoft Excel documents that was introduced by Microsoft with the release
of Microsoft Office 2007. Learn more about this file format
here.
XLSM Files with XLSM extension is a type of Spreasheet files that support Macros. Learn more about this file format
here.
XLT Files with .XLT extension are template files created with Microsoft Excel which is a spreadsheet
application which comes as part of Microsoft Office suite. Learn more about this file format
here.
ODT ODT files are type of documents created with word processing applications that are based on OpenDocument
Text File format. These are created with word processor applications such as free OpenOffice Writer and
can hold content such as text, images, objects and styles. Learn more about this file format
here.
DOT Files with .DOT extension are template files created by Microsoft Word to have pre-formatted settings
for generation of further DOC or DOCX files. Learn more about this file format
here.
DOC Files with .doc extension represent documents generated by Microsoft Word or other word processing
documents in binary file format. Learn more about this file format
here.
DOCX DOCX is a well-known format for Microsoft Word documents. Introduced from 2007 with the release
of Microsoft Office 2007, the structure of this new Document format was changed from plain binary
to a combination of XML and binary files. Learn more about this file format
here.
XLTX Files with XLTX extension represent Microsoft Excel Template files that are based on the Office OpenXML
file format specifications. Learn more about this file format
here.
DOTX Files with DOTX extension are template files created by Microsoft Word to have pre-formatted settings
for generation of further DOCX files. Learn more about this file format
here.
ODS Files with ODS extension stand for OpenDocument Spreadsheet Document format that are editable by user.
Learn more about this file format
here.
XLTM The XLTM file extension represents files that are generated by Microsoft Excel as Macro-enabled
template files. Learn more about this file format
here.
XLSB XLSB file format specifies the Excel Binary File Format, which is a collection of records and
structures that specify Excel workbook content. Learn more about this file format
here.
DOTM A file with DOTM extension represents template file created with Microsoft Word 2007 or higher.
Learn more about this file format here.
DOCM DOCM files are Microsoft Word 2007 or higher generated documents with the ability to run macros.
Learn more about this file format here.
EPUB Files with .EPUB extension are an e-book file format that provide a standard digital publication format for publishers and consumers.
Learn more about this file format
here.
TTF TTF represents font files based on the TrueType specifications font technology.
TrueType fonts provide highest quality display on computer screens and printers without any dependency on resolution.
Learn more about this file format
here.
TTC TTC (TrueType Collection) is a TrueType font collection format.
A TTC file can combine the multiple font files into it.
Learn more about this file format
here.
OTF A file with .otf extension refers to OpenType font format.
OTF font format is more scalable and extends the existing features of TTF formats for digital typography.
Learn more about this file format
here.
OTC OTC (OpenType Collection) is a OpenType font collection format.
An OTC file can combine the multiple font files into it.
ONE File represented by .ONE extension are created by Microsoft OneNote application.
Learn more about this file format
here.
ZIP ZIP file extension represents archives that can hold one or more files or directories.
Learn more about this file format
here.
ZIPX ZIPX is a Zip file in which WinZip has used one or more of its available advanced compression methods.
JAR JAR is a Java Archive file that contains many different application related files as a single file.
This file format was created to reduce the speed of loading a downloaded Java Applet in browser via HTTP transaction,
Learn more about this file format
here.
VCF VCF (Virtual Card Format) or vCard is a digital file format for storing contact information.
The format is widely used for data interchange among popular information exchange applications.
Learn more about this file format
here.
VCR VCR (Virtual Card Format) or vCard is a digital file format for storing contact information.
The format is widely used for data interchange among popular information exchange applications.
EML EML file format represents email messages saved using Outlook and other relevant applications.
Learn more about this file format here.
MSG MSG is a file format used by Microsoft Outlook and Exchange to store email messages, contact,
appointment, or other tasks. Learn more about this file format
here.
MP3 Files with MP3 extension are digitally encoded file formats for audio files that are formally based
on the MPEG-1 Audio Layer III or MPEG-2 Audio Layer III.
Learn more about this file format
here.
WAV WAV, known for WAVE (Waveform Audio File Format), is a subset of Microsoft’s Resource Interchange File Format (RIFF)
specification for storing digital audio files.
Learn more about this file format
here.
BMP Files having extension .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.
DJVU 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.
DJV 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.
GIF A GIF or Graphical Interchange Format is a type of highly compressed image.
Learn more about this file format here.
JPG A JPEG is a type of image format that is saved using the method of lossy compression.
Learn more about this file format here.
JPE A JPEG is a type of image format that is saved using the method of lossy compression.
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.
Learn more about this file format
here.
JP2 JPEG 2000 (JP2) is an image coding system and state-of-the-art image compression standard.
Designed, using wavelet technology JPEG 2000 can code lossless content in any quality at once.
Learn more about this file format
here.
J2K JPEG 2000 (J2K) is an image coding system and state-of-the-art image compression standard.
Designed, using wavelet technology JPEG 2000 can code lossless content in any quality at once.
Learn more about this file format
here.
JPF JPEG 2000 (JPF) is an image coding system and state-of-the-art image compression standard.
Designed, using wavelet technology JPEG 2000 can code lossless content in any quality at once.
Learn more about this file format
here.
JPX JPEG 2000 (JPX) is an image coding system and state-of-the-art image compression standard.
Designed, using wavelet technology JPEG 2000 can code lossless content in any quality at once.
Learn more about this file format
here.
JPM JPEG 2000 (JPM) is an image coding system and state-of-the-art image compression standard.
Designed, using wavelet technology JPEG 2000 can code lossless content in any quality at once.
Learn more about this file format
here.
MJ2 Video format defined as Motion JPEG 2000 (Part 3); contains a motion sequence of JPEG 2000 images;
does not involve inter-frame coding, but instead encodes each frame independently using JPEG 2000 compression.
PNG PNG, Portable Network Graphics, refers to a type of raster image file format that use loseless compression.
Learn more about this file format here.
TIFF TIFF or 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. Learn more about this file format
here.
TIF TIFF or 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. 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.
EMF Enhanced metafile format (EMF) stores graphical images device-independently.
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.
PSD PSD, Photoshop Document, represents Adobe Photoshop’s native file format used for graphics designing and development.
Learn more about this file format
here.
MPP MPP is proprietary file format developed by Microsoft as file format for Microsoft Project (MSP) which is a project management application software.
Learn more about this file format
here.
MPT MPT is proprietary file format developed by Microsoft as file format for Microsoft Project (MSP) which is a project management application software.
Learn more about this file format
here.
VSD VSD files are drawings created with Microsoft Visio application to represent variety of graphical
objects and the interconnection between these. Learn more about this file format
here.
VDX Any drawing or chart created in Microsoft Visio, but saved in XML format have .VDX extension.
Learn more about this file format here.
VSDX Files with .VSDX extension represent Microsoft Visio file format introduced from Microsoft
Office 2013 onwards. Learn more about this file format
here.
VSS VSS are stencil files created with Microsoft Visio 2007 and earlier. Stencil files provide drawing
objects that can be included in a .VSD Visio drawing. Learn more about this file format
here.
VSX Files with .VSX extension refer to stencils that consist of drawings and shapes that are used for
creating diagrams in Microsoft Visio. Learn more about this file format
here.
VTX Files with .VTX extension refer to Microsoft Visio drawing template that is saved to disc in XML file format.
Learn more about this file format
here.
DICOM DICOM is the acronym for Digital Imaging and Communications in Medicine and pertains to the field of Medical Informatics.
DICOM is used for the integration of medical imaging devices like printers, servers,
scanners etc from various vendors and also contains identification data of each patient for uniqueness.
Learn more about this file format
here.
HEIF An HEIF file is a High-Efficiency Container Image file format that is capable of storing a single image or a sequence of images in a single file.
HEIF file format compresses the images using the High Efficiency Video Coding (HEVC) standard.
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.
HEIC, like HEIF, are compressed using the High Efficiency Video Coding (HEVC) standard and are smaller in size without compromising the quality.
Learn more about this file format
here.
DWG Files with DWG extension represent proprietary binary files used for containing 2D and 3D design data.
Learn more about this file format
here.
DXF DXF, Drawing Interchange Format, or Drawing Exchange Format, is a tagged data representation of AutoCAD drawing file.
Learn more about this file format
here.
AVI The AVI file format is an Audio Video multimedia container file format that was introduced by Microsoft.
Learn more about this file format
here.
MOV MOV or QuickTime File format is multimedia container which is developed by Apple: contains one or more tracks,
each track holds a particular type of data i.e. Video, Audio, text etc.
Learn more about this file format
here.
QT MOV or QuickTime File format is multimedia container which is developed by Apple: contains one or more tracks,
each track holds a particular type of data i.e. Video, Audio, text etc.
Learn more about this file format
here.
MKA MKA (Matroska Audio) is the Matroska multimedia container format used for Audio.
The MKA format supports several different kinds of audio compression algorithms such as MP3, AAC and Vobis.
Learn more about this file format
here.
MKV MKV (Matroska Video) is a multimedia container similar to MOV and AVI format
but it supports more than one audio and subtitle track in the same file.
Learn more about this file format
here.
MK3D MK3D is actually stereoscopic 3D video created using Matroska 3D format.
The MKV file container uses a StereoMode field’s value to define the type of stereoscopic 3D video stuff.
Learn more about this file format
here.
WEBM WEBM is a video file based on the open, royalty-free WebM file format.
It has been designed for sharing video on the web and defines the file container structure including video and audio formats.
Learn more about this file format
here.
FLV FLV (Flash Video) is a container file format
which is used to deliver audio/video content over the internet by using the Adobe Flash Player or Adobe Air.
Learn more about this file format
here.
ASF The Advanced Systems Format (ASF) is a digital multimedia container designed primarily for storing and transmitting media streams.
Microsoft Windows Media Video (WMV) is the compressed video format and Microsoft Windows Media Audio (WMA)
is the compressed audio format along with additional metadata in the ASF container developed by Microsoft.
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. DNG is an extension of TIFF/EP standard format and uses metadata significantly.
In order to manipulate raw data from digital cameras with the ease of flexibility and artistic control, photographers opt camera raw files.
JPEG and TIFF formats store images that are processed by the camera, therefore, not much room for alteration is available in such formats.
here.
CR2 The .CR2 file format (Canon RAW version 2) is a digital photography RAW format created by Canon.
here.
CRW The .CRW file format is a digital photography RAW format created by Canon.
here.
SEVENZIP 7z is a compressed archive file format that supports several different data compression,
encryption and pre-processing algorithms.
The 7z format initially appeared as implemented by the 7-Zip archiver.
The 7-Zip program is publicly available under the terms of the GNU Lesser General Public License.
here.
RAR RAR is a proprietary archive file format that supports data compression, error correction and file spanning.
here.
TAR In computing, tar is a computer software utility for collecting many files into one archive file, often referred to as a tarball, for distribution or backup purposes.
here.
THREEDS A file with .3ds extension represents 3D Sudio (DOS) mesh file format used by Autodesk 3D Studio. Autodesk 3D Studio has been in 3D file format market since 1990s and has now evolved to 3D Studio MAX for working with 3D modeling, animation and rendering.
here.
DAE A DAE file is a Digital Asset Exchange file format that is used for exchanging data between interactive 3D applications.
here.
FBX FBX (Filmbox) is a proprietary file format (.fbx) developed by Kaydara and owned by Autodesk since 2006. It is used to provide interoperability between digital content creation applications. FBX is also part of Autodesk Gameware, a series of video game middleware.
here.
STL STL is a file format native to the stereolithography CAD software created by 3D Systems. Chuck Hull, the inventor of stereolithography and 3D Systems’ founder, reports that the file extension is an abbreviation for stereolithography.
here.
SHP The shapefile format is a geospatial vector data format for geographic information system (GIS) software.
here.
GEOJSON GeoJSON is a JSON based format designed to represent the geographical features with their non-spatial attributes.
here.
TOPOJSON TopoJSON is an extension of GeoJSON that encodes topology.
here.
GML GML stands for Geography Markup Language that is based on XML specifications developed by the Open Geospatial Consortium (OGC).
here.
OSM OpenStreetMap (OSM) is a huge collection of volunteered geographic information stores in different types of files, using different encoding schemes to convert this data into bits and bytes.
here.
KML KML, Keyhole Markup Language) contains geospatial information in XML notation. Files saved as KML can be opened in Geographic Information System (GIS) applications provided they support it.
here.
GPX Files with GPX extension represent GPS Exchange format for interchange of GPS data between applications and web services on the internet. It is a light-weight XML file format that contains GPS data i.e. waypoints, routes and tracks to be imported and red by multiple programs.
here.
CBSEVEN A CB7 file refers to Comic Book 7-Zip Archive.
It is compressed file format commonly used for storing and distributing comic book collections digitally.
CB7 files are created using 7-Zip compression software, which is known for its high compression ratio.
here.
CBRAR A Comic Book Archive(CBA) file, also known as Comic Book Archive or Comic Book Reader file,
is a popular format used to store and distribute digital comic books.
It typically contains collection of individual comic book pages or images bundled together in single file for easy organization and reading.
here.
CBTAR A Comic Book Archive(CBA) file, also known as Comic Book Archive or Comic Book Reader file,
is a popular format used to store and distribute digital comic books.
It typically contains collection of individual comic book pages or images bundled together in single file for easy organization and reading.
here.
CBZIP A Comic Book Archive(CBA) file, also known as Comic Book Archive or Comic Book Reader file,
is a popular format used to store and distribute digital comic books.
It typically contains collection of individual comic book pages or images bundled together in single file for easy organization and reading.
here.
FB2 Files with .fb2 extension are FictionBook 2.0 eBook files that contains the structure of the eBook.
It is based on XML format and contains special tags for describing each element of the book.
It was developed primarily for fictional writings and literature, but is not limited to these only.
The format accommodates all the metadata as well as content in itself and allows flexibility for a number of operations such as automatic processing, indexing, and conversion to other formats.
In short, it focuses on describing the structure of the file instead of specifying its appearance.
Several applications as well as APIs are available to convert FB2 to several other formats on Windows, MacOS, and Linux.
Learn more about this file format here.
MOBI The MOBI file format is one of the most widely used ebook file formats. The format is an enhancement to the old OEB (Open Ebook Format) format and was used as the proprietary format for Mobipocket Reader. Like EPUB, it is supported by almost all modern e-readers specifically by mobile devices with low bandwidth. The format can be converted to several other formats such as PDF, EPUB, and several other formats using publicly available software applications such as the Kindle app. There are several companies that offer free MOBI books such as Project Gutenberg, Feedbooks, and Open Library.
Learn more about this file format here.
OGG OGG is an Ogg Vorbis Compressed Audio File that is saved with the .ogg extension. OGG files are used for storing audio data and can include artist and track information and metadata as well. OGG is a free and open container format that is maintained by Xiph.Org Foundation.
Learn more about this file format here.

Methods

Method Description
get_supported_file_types Retrieves supported file types.
from_extension Gets FileType for provided fileExtension

Remarks

Learn more | | | |

See Also