Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Imagick. Wrong mime-type/format detection #286

Closed
verdet23 opened this issue Feb 4, 2014 · 3 comments
Closed

Imagick. Wrong mime-type/format detection #286

verdet23 opened this issue Feb 4, 2014 · 3 comments

Comments

@verdet23
Copy link

verdet23 commented Feb 4, 2014

Problem with DNG file http://en.wikipedia.org/wiki/Digital_Negative
Imagine open file with Imagick::readImageFile. Imagick detect such images as 'image/tiff', not 'image/x-adobe-dng'.
When file opened with Imagick::readImage type detected correct.
When file opened with Imagick::__construct () type detected correct to.

I guess it's because Imagick use file extension to correctly detect 'image/x-adobe-dng' format.

Can you change Imagine\Imagick\Imagine::open function to avoid such problem?

@romainneutron
Copy link
Collaborator

I think we had the same issue with Gmagick (#128), I'll dig deeper and fix this

romainneutron added a commit that referenced this issue Apr 9, 2014
Fix #286: Some image files are not correctly handled by Imagick
@verdet23
Copy link
Author

It fixed only Gmagick, not Imagick

@romainneutron romainneutron reopened this Apr 10, 2014
@romainneutron
Copy link
Collaborator

It has been fixed in 0935c2e

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

2 participants