Skip to content
This repository was archived by the owner on May 25, 2023. It is now read-only.

Use Exif Data to check the image type, Do not rely on extention #2788

Merged
merged 1 commit into from
Dec 5, 2013

Conversation

exussum12
Copy link
Contributor

Use the file signature where available rather than the file name. Sometimes images can be displayed with the wrong extension and may go unnoticed such as a jpg renamed to a gif or vise versa

This PR allows the image to resize these misnamed files.

blueimp added a commit that referenced this pull request Dec 5, 2013
Use Exif Data to check the image type, Do not rely on extention
@blueimp blueimp merged commit f8692e7 into blueimp:master Dec 5, 2013
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants