JVCL Help:ExtToMIMEType
From Project JEDI Wiki
Jump to navigationJump to searchJVCL Help: ExtToMIMEType function
[+] JvID3v2Base.pas Functions
Search in JVCL Help
Search in all projectsSummary
Converts a file extension to a MIME string.
Pascal
run\JvID3v2Base.pas
functionExtToMIMEType(constExt: string): string;
Parameters
Parameters | Description |
const Ext: string | The file extension to convert. |
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 |
See Also
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