Last modified: 2009-03-16 22:13:18 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T19714, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 17714 - Support TIFFs on WMF wikis
Support TIFFs on WMF wikis
Status: RESOLVED FIXED
Product: Wikimedia
Classification: Unclassified
General/Unknown (Other open bugs)
unspecified
All All
: Normal enhancement with 1 vote (vote)
: ---
Assigned To: Brion Vibber
http://meta.wikimedia.org/wiki/Restor...
: shell
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-02-28 07:05 UTC by MZMcBride
Modified: 2009-03-16 22:13 UTC (History)
6 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description MZMcBride 2009-02-28 07:05:28 UTC
From #mediawiki in January:

<GerardM-> Brion, why do we not support tiff files ?
<GerardM-> this would make a big difference for the image restoration projects
<brion> GerardM-: i think we haven't quite got round to it. tiffs are a bit complicated in that it's a meta-format with many possible actual encodings
<brion> check if there's an extension for it already in the works and plop it on my queue to look at :)
<GerardM-> it prevents the restorations to be taken seriously by people outside or WMF ... you can not repeat the work from compressed files
<GerardM-> Brion, at the start of the fundraiser, localisation software was written for the banner ..
<brion> yes, tiffs are great. :) i'm convinced -- just make sure that any existing extension or bug gets bumped and add me as CC

I can't find a bug filed regarding TIFF support, so I've filed this one and CC'd Brion.
Comment 1 ryan bushby 2009-02-28 07:21:22 UTC
This would be particularly useful as the Library of Congress keeps the high quality original scans in tiff format, it would be great to not have to convert them to jpg, or downsample them below 12.5 megapixel for png.
Comment 2 Brion Vibber 2009-03-05 01:29:00 UTC
Adding basic support for uploading TIFFs *without* inline rendering should be pretty easy, and sufficient for current needs (very large, high-quality source files, which will have smaller versions uploaded for online use).

Will want to test/confirm offline that file type verification is good before switching the config switch though.
Comment 3 Mike.lifeguard 2009-03-05 01:47:06 UTC
(In reply to comment #2)
> Adding basic support for uploading TIFFs *without* inline rendering should be
> pretty easy, and sufficient for current needs (very large, high-quality source
> files, which will have smaller versions uploaded for online use).

Yes, one would think that uploading smaller versions for viewing would be sensible. That is not a view shared by everyone, however: http://durova.blogspot.com/2009/02/failure-to-thumbnail.html
Comment 4 Michael Dale 2009-03-13 16:34:20 UTC
We could use something like VIPS http://www.vips.ecs.soton.ac.uk/ to render out thumbnails for very large images (including TIFFs) without loading the whole image into memory. 

Also I highly recommend we send out the http "attachment" header when passing links to those high res images. They crash most systems/browsers. So we should only let people "download" the image. ( Instead of linking for in-browser display. ) Not everyone intuitively will know to right click on the image to save target as. 
Comment 5 Michael Dale 2009-03-13 16:54:46 UTC
also see command line usage cpu / memory / speed comparisons: 
http://www.vips.ecs.soton.ac.uk/index.php?title=Speed_and_Memory_Use
Comment 6 Brion Vibber 2009-03-16 22:13:18 UTC
Set on test & commons with currently no native thumb support.

Threw together some quick experimental support in r48462 -- once synced this will allow the image width/height to be recorded properly and exif metadata shown, and optionally thumbnailing for images not exceeding the max image size for thumbing.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links