Last modified: 2014-09-01 13:45:27 UTC
It appears that TIFs are slightly less focused (more blurred) than their JPG equivalent. My bot uploaded these two files: https://commons.wikimedia.org/wiki/File:071017_NRCS_Sterling_003_-_Ohio_%28717110%29%28NRCS_Photo_Gallery%29.tif https://commons.wikimedia.org/wiki/File:071017_NRCS_Sterling_003_-_Ohio_%28717110%29%28NRCS_Photo_Gallery%29.jpg The JPG one was converted from the tif with imagemagick (python): call(['convert', 'currentfile.tif','-quality', '97', 'currentfile.jpg']) Although the jpg is 97% of the tif quality, it appears to have better quality. Am I mistaken or is there a reason for this?
In the thumbnails of those images?
(In reply to comment #1) > In the thumbnails of those images? And do you mean the png or the jpg thumbnail of the tiff (we support both. Jpg is the default). Its possible that different sharpening is applied to tiffs than to jpgs (not sure off the top of my head. I would be surprised though). Its also possible that different scaling algorithms may be used for the different formats or something like that.
@Bawolff It's the thumbnails of those images so the (.jpg version): https://upload.wikimedia.org/wikipedia/commons/thumb/4/41/071017_NRCS_Sterling_003_-_Ohio_%28717110%29%28NRCS_Photo_Gallery%29.tif/lossy-page1-800px-071017_NRCS_Sterling_003_-_Ohio_%28717110%29%28NRCS_Photo_Gallery%29.tif.jpg https://upload.wikimedia.org/wikipedia/commons/thumb/7/75/071017_NRCS_Sterling_003_-_Ohio_%28717110%29%28NRCS_Photo_Gallery%29.jpg/800px-071017_NRCS_Sterling_003_-_Ohio_%28717110%29%28NRCS_Photo_Gallery%29.jpg However, it also looks like the .jpg is still better than the the .png thumbnail the .tif for these two images: https://commons.wikimedia.org/wiki/File:NRCSAZ02025_-_Arizona_%28333%29%28NRCS_Photo_Gallery%29.tif https://commons.wikimedia.org/wiki/File:NRCSAZ02025_-_Arizona_%28333%29%28NRCS_Photo_Gallery%29.jpg (thumbnails) https://upload.wikimedia.org/wikipedia/commons/thumb/4/47/NRCSAZ02025_-_Arizona_%28333%29%28NRCS_Photo_Gallery%29.tif/lossless-page1-800px-NRCSAZ02025_-_Arizona_%28333%29%28NRCS_Photo_Gallery%29.tif.png https://upload.wikimedia.org/wikipedia/commons/thumb/8/8d/NRCSAZ02025_-_Arizona_%28333%29%28NRCS_Photo_Gallery%29.jpg/800px-NRCSAZ02025_-_Arizona_%28333%29%28NRCS_Photo_Gallery%29.jpg
*** Bug 18014 has been marked as a duplicate of this bug. ***
This is also true of .jpg thumbnails of PNG uploads, I assume for the same reason (see duplicate bug report).
(In reply to Dominic from comment #5) > This is also true of .jpg thumbnails of PNG uploads, I assume for the same > reason (see duplicate bug report). We dont do jpg thumbs of png files (png files get png thumbs), but yes, pngs are not sharpened. Only jpgs get sharpened. I believe comment 2 is incorrect...
(In reply to Bawolff (Brian Wolff) from comment #6) > (In reply to Dominic from comment #5) > > This is also true of .jpg thumbnails of PNG uploads, I assume for the same > > reason (see duplicate bug report). > > We dont do jpg thumbs of png files (png files get png thumbs), but yes, pngs > are not sharpened. Only jpgs get sharpened. > Yeah, I misspoke. I should have said JPG versions of PNGs.
The current tiff thumbnails are of such poor quality that Commons users are uploading duplicate jpegs. This is a lot of extra work and puts and extra strain on the Commons community because everything needs to be done twice. Raising the priority of this bug.
I would like to fix this bug at the same time as bug 52045, since we're be changing the rendering config with that bug, so might as well do it all at once.