JVCL Help:MIMETypeToExt

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 MIME string to a file extension.

run\JvID3v2Base.pas


Pascal

 run\JvID3v2Base.pas
 functionMIMETypeToExt(constMIMEType: string): string;


Parameters

Parameters Description
const MIMEType: string The MIME string to convert.

run\JvID3v2Base.pas


Description

Call MIMETypeToExt to convert a MIME string to a file extension.
Examples are:

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

run\JvID3v2Base.pas


See Also

ExtToMIMEType

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