Skip to content

Improve file format detection #5

@lourot

Description

@lourot

For now the library detects the format of a file (JPEG, PNG, ...) based on its extension. What if a file has no extension? The file could even have the wrong extension, for example some CDNs cache and deliver in the WebP format files that are originally JPEG or PNG.

The library should detect the format of a file by looking at its content instead.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions