JVCL Help:ExtToMIMEType

From Project JEDI Wiki
Jump to navigationJump to search
JEDI Visual Component Library Help

Search in JVCL Help

 
Search in all projects
 

Summary

Converts a file extension to a MIME string.

run\JvID3v2Base.pas


Pascal

 run\JvID3v2Base.pas
 functionExtToMIMEType(constExt: string): string;


Parameters

Parameters Description
const Ext: string The file extension to convert.

run\JvID3v2Base.pas


Description

Call MIMETypeToExt to convert a file extension to a MIME string.
For example:

Ext Result
.jpg image/jpeg
.png image/png
.gif image/gif
.tif image/tiff
.pic image/x-pict
.bmp image/bitmap

run\JvID3v2Base.pas


See Also

MIMETypeToExt

run\JvID3v2Base.pas


About

Contribute to this help topic

This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page