Last modified: 2012-12-05 14:41:22 UTC
Image files with MIME-type image/jpeg2000 are not thumbnailed.
See also http://commons.wikimedia.org/wiki/Image:GT49.jpg
Both files can be read fine e.g. with Corel Photo-Paint 11.
This may be an imagemagick issue related to the jasper version installed on WMF sites, hence the shell keyword.
JPEG 2000 files should be uploaded as .jp2 or .j2k, not .jpg or .jpeg, as it's a different format from JPEG/JFIF.
Currently we don't support JPEG 2000 in MediaWiki, so functionality of such files will be hit-or-miss at best. (Nor do most browsers support it.)
Maybe we can render them as jpg using ImageMagick ?
Removed shell keyword as it seems there's nothing to do on shell.
If the software cannot support JPEG 2000 images, why is uploading them permitted? It just confuses users, they think it's their fault that it does not show up.
Also, the image/jp2 mime type is currently not recognized, thus [[MediaWiki:Mediawarning]] is shown on the description page, confusing users even further.
They're not permitted. They have a different file type extension which is not whitelisted, and should be recognized as a different file type which would not be uploadable on a wiki with default or Wikimedia's configuration.
The filtering appears to be a bit lax somewhere, though, since they apparently can get through if you mislabel the file extension.
I took the originally-referenced file and re-uploaded it to test for a sample: http://test.wikipedia.org/wiki/File:A_JPEG_2000_file.jpg
It's being correctly detected as image/jp2, but this shouldn't make it past upload...
I'm closing this in case we really do want to add JPEG 2000 support in the future it can be reopened. :)
Bug 18803 now covers the uploading bug where you can upload the files as .jpg (at which point of course they don't work).