Frameright / Frameright/php-image-metadata-parser
Improve file format detection
- Dominant language
- PHP
- Stars
- 11
- Forks
- 1
- PR merge metrics
- No merged PRs in 30d
Description
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.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by locating the library's current extension-based format detection. Review how JPEG, PNG, and WebP content can be distinguished, then define coverage for files with missing or incorrect extensions. Done means the library identifies the format from file content rather than relying on the filename extension.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- backend
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100