Page MenuHomePhabricator

Feature request: Lossless image optimization upon upload
Open, LowestPublic

Description

It would be wonderful to have a setting/extension that allows any uploaded PNGs and/or SVGs (or other formats) to be optimized as is already suggested at https://www.mediawiki.org/wiki/Manual:Assets . This would help optimize page load times and lessen disk space usage.

(I'd also love a similar extension that automatically converts CMYK images to RGB, but I figure these two ideas are similar enough for the same base extension)

Event Timeline

Immewnity renamed this task from Lossless image optimization upon upload to Feature request: Lossless image optimization upon upload.Jan 22 2020, 4:34 AM
Immewnity triaged this task as Low priority.

I'd also love a similar extension that automatically converts CMYK images to RGB

As I understand it, this isn't possible to do losslessly, so it wouldn't be a good idea to do so automatically for all CMYK-colorspace images.

Aklapper lowered the priority of this task from Low to Lowest.Jan 23 2020, 12:46 PM

automatically converts CMYK images to RGB

LOL, please note ffmpeg does it wrong. It should be converted to sRGB, but neither sRGB, nor CMYK's most common colorspaces are in each other. Yeah. So green will look too green... and all other colors will be wrong too. I am not even talking about FOGRA ICC profiles, that are hard as hell.