Last modified: 2014-07-06 17:27:55 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 1316 - Allow image thumb output format to be specified
Allow image thumb output format to be specified
Status: NEW
Product: MediaWiki
Classification: Unclassified
File management (Other open bugs)
All All
: Lowest enhancement with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
Depends on:
  Show dependency treegraph
Reported: 2005-01-12 04:18 UTC by peter green
Modified: 2014-07-06 17:27 UTC (History)
5 users (show)

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


Description peter green 2005-01-12 04:18:19 UTC
When storing images a lossless format (png seems the best option for us) is
often advisable. However to keep load times down it is often advisable to
convert images to a lossy format for display.

mediawiki doesn't seem to offer this cabability atm (if im wrong please close
this bug report pelease point me to the right place).

i propose a simple extention to the image syntax just allow a section to be the
desired format (identified by its standard 3 letter extention). IE
[[image:bighiggqualityphoto.png|thumb|500px|jpg|this is a photo of something
really interesting.]]
Comment 1 Chad H. 2009-03-12 15:16:52 UTC
Don't see any reason to have users specifying it, this stuff should be handled automatically. WONTFIX?
Comment 2 peter green 2009-03-12 18:37:21 UTC
>Don't see any reason to have users specifying it, 
The optimum (as in best compromise between quality and size) format for a thumbnail is heavilly dependent on the type of image.

>this stuff should be handled automatically.
Do you have an algorithm that can make good descisions about what output format to use?

Either way the current situation of having no way to upload a lossless copy of a photo (to avoid generation loss) while producing lossy (to keep size down) thumbnails from it is pretty poor.
Comment 3 Bawolff (Brian Wolff) 2013-08-05 18:36:28 UTC
Note, this is possible for tiff images (lossy parameter)
Comment 4 Andre Klapper 2014-07-06 17:27:55 UTC
The original request to give the editor the burden of choosing an appropriate format sounds like a potential WONTFIX - how many people would know the advantages of which image file format?
Finding an algorithm to make that decision sounds like a separate request...

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