Repository navigation

#

mimetype

A fast Golang library for media type and file extension detection, based on magic numbers

Go
1777
3 天前

🔥 涵盖了Android系统文件的创建/删除/复制/打开文件(目录)、获取文件(目录)大小、获取常用目录、获取文件名称及后缀、获取MimeType以及MediaStore和SAF的相关操作等常用功能,并且也处理了获取文件Uri/Path的兼容问题、图片压缩和文件选择等功能。

Kotlin
1441
1 年前

File format determination library for Python

Python
262
1 年前

🗂 Swift MIME type checking based on magic bytes

Swift
185
3 年前

This is a general purpose Swift library for a concept of typed treatment for Media Types. We use this library on clients and servers to speak the same dialect and to enjoy all the comfort strong types provide over raw strings.

Swift
79
3 年前

Find the mime type of files, examining file, filename and declared type

Elixir
38
1 年前

Detects file type by filename or content and generates correct mimetype.

PHP
34
1 年前

Library to work with MimeHeaders and other mime types. Library supports wildcards and parameters.

Go
25
1 年前

Pure python mimesniff implementation of https://mimesniff.spec.whatwg.org

Python
14
4 年前

React Native utility library around image and video files for getting metadata like MIME type, timestamp, duration, and dimensions. Works on iOS and Android using Java and Obj-C, instead of Node 🚀.

Objective-C
14
2 年前

PHP library to get MIME types from extensions

PHP
10
2 年前

MimeType, provides a convenient way to work with MIME types in C#. It defines a set of properties for each MIME type, allowing you to use properties instead of strings in your code.

C#
9
2 个月前

This is a Google Apps Script library for converting files from various MIME types to a specified target MIME type. The library accepts both file IDs and blobs as input values.

JavaScript
8
5 个月前

ffmpeg-media-type is a Python library that utilizes FFmpeg to detect various media file information, such as duration, width, and height. This library provides an easy-to-use interface for extracting essential details from media files by leveraging the powerful capabilities of FFmpeg.

HTML
6
6 天前

🚀 Site that provides mime type icons

JavaScript
5
6 年前

MIME content type registry & recognition

4
7 个月前

MimeType MimeTypes

Swift
3
1 年前

File format identification--文件类型识别

C
3
7 年前

Creates a base64-encoded data URL from a Buffer and a mimetype.

JavaScript
3
3 年前