MIME Types
A MIME type (Multipurpose Internet Mail Extension) is a standard identifier used to indicate the type of data that a file contains. In STEP, they can only be assigned to asset object types.
Specifying a MIME type allows internet applications to recognize and read the content of an asset object type, and enables automatic assignment of imported assets as images, applications, or documents.
Additional MIME types exist and can be found by searching the internet. However, STEP does not support all file formats, even if there is a MIME type available for it.
The table below contains a list of most file types accepted by STEP, as well as the MIME types the file types are associated with. Those most commonly used are listed in the table below.
| File Type | Definition | MIME Type |
|---|---|---|
|
.ai |
Adobe Illustrator |
application/illustrator |
|
.doc |
Microsoft Word (pre-2007) |
application/msword |
|
.docx |
Microsoft Word (2007 and beyond) |
application/msword |
|
.arj |
ARJ archive |
application/octet-stream |
|
.cab |
Windows Cabinet Archive |
application/octet-stream |
|
.pack |
UNIX Pack Compressed Data |
application/octet-stream |
|
|
Adobe Acrobat PDF |
application/pdf |
|
.eps |
Encapsulated PostScript application |
application/postscript |
|
.ps |
Query PostScript application |
application/postscript |
|
.ps |
ExitServer PostScript application |
application/postscript |
|
.ps |
Resource PostScript application |
application/postscript |
|
.ps |
PostScript application |
application/postscript |
|
.xls |
Microsoft Excel (pre-2007) |
application/vnd.ms-excel |
|
.xlsx |
Microsoft Excel (2007 and beyond) |
application/vnd.ms-excel |
|
.ppt |
Microsoft PowerPoint |
application/vnd.ms-powerpoint |
|
.qxd |
Quark (QuarkXPress document) |
application/vnd.Quark.QuarkXPress |
|
.qxp |
Quark (QuarkXPress project) |
application/vnd.Quark.QuarkXPress |
|
.hqx |
BinHex (Macintosh BinHex archive) |
application/x-binhex |
|
.bz |
BZip (BZip compressed data) |
application/x-bzip |
|
.bz2 |
BZip2 (BZip2 compressed data) |
application/x-bzip |
|
.z |
Compress (UNIX compressed data) |
application/x-compress |
|
.ttf |
TTF (Windows TrueType Font) |
application/x-font-ttf |
|
.gz |
GZip (GNU Zip compressed data) |
application/x-gzip |
|
.indd |
InDesign file |
application/x-indesign |
|
.lzh |
LXH (LZH compressed data) |
application/x-lzh |
|
.wmf |
WMF (Windows Metafile image) |
application/x-msmetafile |
|
.rar |
RAR (Roshal archive) |
application/x-rar |
|
.swf |
Macromedia Flash File Format |
application/x-shockwave-flash |
|
.sit |
StuffIt (Macintosh StuffIt archive) |
application/x-sit |
|
.hlp |
Help (Windows Help document) |
application/x-winhelp |
|
.xml |
XML (Extensible Markup Language document) |
application/xml |
|
.zip |
ZIP |
application/zip |
|
.au |
AU (Sun Microsystems audio) |
audio/basic |
|
.mid |
MIDI (Musical Instrument Digital Interface audio) |
audio/x-midi |
|
.wma |
WMA (Windows Media Audio) |
audio/x-ms-wma |
|
.ra |
Real (Real Audio File) |
audio/x-pn-realaudio |
|
.wav |
WAV (Waveform Audio File Format) |
audio/x-wav |
|
.bmp |
BMP (OS/2 Bitmap image |
image/bmp |
|
.bmp |
Windows Bitmap image |
image/bmp |
|
.dib |
DIB (Device-Independent bitmap image) |
image/bmp |
|
.cgm |
CGM (Computer Graphics Metafile image) |
image/cgm |
|
.fax |
Fax (G3 Fax image) |
image/g3fax |
|
.gif |
GIF (Graphics Interchange Format 87a image) |
image/gif |
|
.gif |
GIF (Graphics Interchange Format 89a image) |
image/gif |
|
.gif |
GIF (Graphics Interchange Format image) |
image/gif |
|
.jpeg |
JPEG or JFIF image |
image/jpeg |
|
.jpg |
JPEG or JFIF image |
image/jpg |
|
.mpo |
Multi Picture Object |
image/mpo |
|
.png |
PNG (Portable Network Graphics Image) |
image/png |
|
.svg |
SVG (Scalable Vector Graphics image) |
image/svg+xml |
|
.tif |
TIF (Tag Image File Format image) |
image/tif |
|
.tiff |
TIF (Tag Image File Format image) |
image/tiff |
|
.webp |
WebP image; Google file format |
image/webp |
|
.ras |
RAS (Sun Raster image) |
image/x-cmu-raster |
|
.ico |
Icon (Windows Icon image) |
image/x-icon |
|
.pct |
PICT (Macintosh Icon image) |
image/x-pict |
|
.pam |
PAM (Portable Anymap image) |
image/x-portable-anymap |
|
.pbm |
PBM (Portable Bitmap image) |
image/x-portable-bitmap |
|
.pgm |
PGM (Portable Gray Map image) |
image/x-portable-grapmap |
|
.ppm |
PPM (Portable Pixmap image) |
image/x-portable-pixmap |
|
.psd |
PSD (Adobe Photoshop image) |
image/x-psd |
|
.html |
HTML (Hyper Text Markup Language) |
text/html |
|
.rtf |
RTF (Rich Text Format document) |
text/rtf |
|
NA |
Text (Western European character set) |
Text/ plain;charset=ISO-8859-1 |
|
NA |
Text (US ASCII character set) |
Text/plain;charset=us-ascii |
|
NA |
Textual data using the UTF-8 format |
Text/plain; charset=UTF-8 |
|
.avi |
AVI (Audio Visual Interleave video) Covers most Windows-compatible formats including .avi and .divx |
video/avi |
|
.mp4 |
MP4 |
video/mp4 |
|
.m2v |
MPEG (Moving Picture Experts Group video) |
video/mpeg |
|
.mpg |
MPEG (MPEG-1 video with multiplexed audio) |
video/mpeg |
|
.ogv |
OGV (OGV video media file |
video/ogg |
|
.mov |
MOV (QuickTime multimedia file format) |
video/quicktime |
|
.mov |
QuickTime (Apple QuickTime video) |
video/quicktime |
|
.qt |
QuickTime (Apple QuickTime video) |
video/quicktime |
|
.webm |
WEBM audiovisual media file |
video/webm |
|
.asf |
ASF (Advance Systems Format video) |
video/x-ms/asf |
|
.wmv |
WMV (Windows Media Video) |
video/x-ms-wmv |
When setting the MIME type for an asset object type, there may be use cases, dependent on the requirements, where all imported assets, regardless of file type, must be either a 'text,' 'image,' 'application,' or 'audio' asset object type. In those cases, when setting the MIME type, use the asterisk (*) MIME type as shown below.
|
Definition |
MIME Type |
|---|---|
|
All application assets |
application/* |
|
All image assets of unspecified type |
image/* |
|
All text documents |
text/* |
|
All audio assets |
audio/* |
Important: Caution should be used when importing SVG Image files as they can contain harmful scripts if images from unknown sources are loaded.
If imported assets of a specific file type have a MIME type that is not recognized in STEP, or for which STEP is auto-assigning an incorrect file extension, admin users can apply a property in the sharedconfig.properties file that instructs STEP which file extension to assign to the asset based on the MIME type of the imported asset. The property is:
DocumentContent.ExtensionToMimeType.[extension] = [mimetype]
For instance, if an imported Shockwave-Flash file must have the file extension '.flv' assigned to the end of it, the property would be written like this:
DocumentContent.ExtensionToMimeType.flv = application/x-shockwave-flash