musicbrainz/picard — pull request #45 by voiceinsideyou (2012-05-19 17:14:11+00:00)
Title: PICARD-27 fix - Be less strict in determining JPEG mime type

Looking for some comment on this one.

In investigating http://tickets.musicbrainz.org/browse/PICARD-27 discovered we're being quite strict in determining mime type is image/jpeg. The current way excludes direct scans or digital camera photos which have EXIF. According to http://www.garykessler.net/library/file_sigs.html my change will open it up to non-pure-JFIF image types.

The example cover Time Dilation attached to the ticket is EXIF - it worked fine in the few programs I tried it with; tested embedding it to both an MP3 and a FLAC.

Is there further testing I should do on this? Is opening it up to them all OK do you think, or would it be better to just allow JFIF + EXIF?