Hallo, Besucher der Thread wurde 108 mal aufgerufen und enthält 0 Antworten

letzter Beitrag von Newsy am

MIME-Utils

  • MIME-Utils


    Dieses Paket stellt Entwicklern die Möglichkeit zur Verfügung, Dateien unabhängig von ihrer Endung anhand von sog. "Magic Numbers" zu erkennen. Als Basis für diese Erweiterung verwenden wir eine hauseigene Bibliothek, deren Code auf Github zugänglich ist: GitHub - SoftCreatR/php-mime-detector: Detect a file's mime type using magic numbers.


    Derzeit können mit diesem Paket die folgenden Datei- bzw. Mime-Typen zuverlässig identifiziert werden:


    Erweiterung Mime-Typ Datei-Typ Entwickler Kategorie
    3GP video/3gpp 3GPP Multimedia File Third Generation Partnership Project Video Files
    7Z application/x-7z-compressed 7-Zip Compressed File Igor Pavlov Compressed Files
    Z application/x-compress Unix Compressed File N/A Compressed Files
    AIF audio/aiff Audio Interchange File Format Apple Audio Files
    AMR audio/amr Adaptive Multi-Rate Codec File N/A Audio Files
    APE audio/ape AVS Plugin Effects File Nullsoft Plugin Files
    AR application/x-unix-archive Midtown Madness Data File Microsoft Game Files
    AVI video/vnd.avi Audio Video Interleave File Microsoft Video Files
    BLEND application/x-blender Blender 3D Data File The Blender Foundation 3D Image Files
    BMP image/bmp Bitmap Image File N/A Raster Image Files
    BPG image/bpg BPG Image N/A Raster Image Files
    BZ2 application/x-bzip2 Bzip2 Compressed File Julian Seward Compressed Files
    CAB application/vnd.ms-cab-compressed Windows Cabinet File Microsoft System Files
    CR2 image/x-canon-cr2 Canon Raw Image File Canon Camera Raw Files
    CRX application/x-google-chrome-extension Chrome Extension Google Plugin Files
    CUR image/x-icon Windows Cursor N/A System Files
    DCM application/dicom DICOM Image NEMA Raster Image Files
    DEB application/x-deb Debian Software Package N/A Compressed Files
    DMG application/x-apple-diskimage Mac OS X Disk Image Apple Disk Image Files
    EOT application/vnd.ms-fontobject Embedded OpenType Font N/A Font Files
    EPUB application/epub+zip Open eBook File IDPF eBook Files
    EXE application/x-msdownload Windows Executable File Microsoft Executable Files
    FLAC audio/x-flac Free Lossless Audio Codec File Xiph.Org Foundation Audio Files
    FLIF image/flif Free Lossless Image Format File N/A Raster Image Files
    FLV video/x-flv Animate Video File Adobe Systems Video Files
    GIF image/gif Graphical Interchange Format File CompuServe Raster Image Files
    GZ application/gzip Gnu Zipped Archive The GNU Project Compressed Files
    HEIC image/heif High Efficiency Image Format Moving Picture Experts Group Raster Image Files
    HEIC image/heif-sequence High Efficiency Image Format Moving Picture Experts Group Raster Image Files
    HEIC image/heic High Efficiency Image Format Moving Picture Experts Group Raster Image Files
    HEIC image/heic-sequence High Efficiency Image Format Moving Picture Experts Group Raster Image Files
    ICO image/x-icon Icon File N/A System Files
    JP2 image/jp2 JPEG 2000 Core Image File Joint Photographic Experts Group Raster Image Files
    JPG image/jpeg JPEG Image Joint Photographic Experts Group Raster Image Files
    JPM image/jpm N/A N/A N/A
    JPX image/jpx JPEG 2000 Image File Joint Photographic Experts Group Raster Image Files
    JXR image/vnd.ms-photo JPEG XR Image Microsoft Raster Image Files
    KTX image/ktx N/A N/A N/A
    LUAC application/x-lua-bytecode N/A N/A N/A
    LZ application/x-lzip Lzip Compressed File Lzip Compressed Files
    MID audio/midi MIDI File N/A Audio Files
    MJ2 image/mj2 Motion JPEG 2000 Video Clip N/A Video Files
    MKV video/x-matroska Matroska Video File Matroska Video Files
    MOBI application/x-mobipocket-ebook Mobipocket eBook Amazon eBook Files
    MOV video/quicktime Apple QuickTime Movie Apple Video Files
    MP2 audio/mpeg Heroes of Might and Magic II Map File New World Computing Game Files
    MP2 audio/mpeg Heroes of Might and Magic II Map File New World Computing Game Files
    MP3 audio/mpeg MP3 Audio File Moving Picture Experts Group Audio Files
    MP4 audio/mpeg MPEG-4 Video File Moving Picture Experts Group Video Files
    MP4 video/mp4 MPEG-4 Video File Moving Picture Experts Group Video Files
    MPG video/mpeg MPEG Video File N/A Video Files
    MSI application/x-msi Windows Installer Package Microsoft Misc Files
    MTS video/mp2t AVCHD Video File N/A Video Files
    MXF application/mxf Material Exchange Format File SMPTE Video Files
    NES application/x-nintendo-nes-rom Nintendo (NES) ROM File N/A Game Files
    ODP application/vnd.oasis.opendocument.presentation OpenDocument Presentation Oracle Data Files
    ODS application/vnd.oasis.opendocument.spreadsheet OpenDocument Spreadsheet Oracle Spreadsheet Files
    ODT application/vnd.oasis.opendocument.text OpenDocument Text Document Oracle Text Files
    OGA audio/ogg Ogg Vorbis Audio File Xiph.Org Audio Files
    OGG audio/ogg Ogg Vorbis Audio File Xiph.Org Audio Files
    OGM video/ogg Ogg Media File N/A Video Files
    OGV video/ogg Ogg Video File Xiph.Org Video Files
    OGX application/ogg Ogg Vorbis Multiplexed Media File Xiph.Org Video Files
    OPUS audio/opus Opus Audio File Xiph.Org Audio Files
    OTF font/otf OpenType Font N/A Font Files
    PDF application/pdf Portable Document Format File Adobe Systems Page Layout Files
    PNG image/png Portable Network Graphic N/A Raster Image Files
    PS application/postscript PostScript File Adobe Systems Vector Image Files
    PSD image/vnd.adobe.photoshop Adobe Photoshop Document Adobe Systems Raster Image Files
    QCP audio/qcelp PureVoice Audio File QUALCOMM Audio Files
    RAR application/x-rar-compressed WinRAR Compressed Archive Eugene Roshal Compressed Files
    RPM application/x-rpm Red Hat Package Manager File Red Hat Compressed Files
    RTF application/rtf Rich Text Format File Microsoft Text Files
    SPX audio/ogg Ogg Vorbis Speex File Xiph.Org Audio Files
    SQLITE application/x-sqlite3 SQLite Database File SQLite Database Files
    SVG image/svg+xml Scalable Vector Graphics File Adobe Systems Vector Image Files
    SWF application/x-shockwave-flash Shockwave Flash Movie Adobe Systems Video Files
    TAR application/x-tar Consolidated Unix File Archive Jean-loup Gailly Data Files
    TIF image/tiff Tagged Image File N/A Raster Image Files
    TTF font/ttf TrueType Font Apple Font Files
    WASM application/wasm WebAssembly Binary File W3C Developer Files
    WAV audio/vnd.wave WAVE Audio File Microsoft Audio Files
    WEBM video/webm WebM Video File Google Video Files
    WEBP image/webp WebP Image Google Raster Image Files
    WMV video/x-ms-wmv Windows Media Video File Microsoft Video Files
    WOFF font/woff Web Open Font Format File WebFonts Working Group Font Files
    WOFF2 font/woff2 Web Open Font Format 2.0 File WebFonts Working Group Font Files
    WV audio/wavpack WavPack Audio File WavPack Audio Files
    XML application/xml XML File N/A Data Files
    XPI application/x-xpinstall Cross-platform Installer Package Mozilla Plugin Files
    XZ application/x-xz XZ Compressed Archive Tukaani Compressed Files
    ZIP application/zip Zipped File N/A Compressed Files

    Quelle: https://pluginstore.woltlab.com/file/2982-mime-utils/

    • Gäste Informationen


    Hallo Gast,
    gefällt dir der Thread, willst du was dazu schreiben,
    dann melde dich bitte an.
    Hast du noch kein Benutzerkonto, dann bitte registriere dich, nach der Freischaltung kannst du das Forum uneingeschränkt nutzen.