Page MenuHomePhabricator

Webp files with transparency get black background in MediaViewer
Closed, ResolvedPublicBUG REPORT

Description

Steps to replicate the issue (include links if applicable):

What happens?:

The background is black.

What should have happened instead?:

The background should have the checkered pattern such as https://commons.wikimedia.org/wiki/File:HTL_Rankweil_logo.png#/media/File:HTL_Rankweil_logo.png

Event Timeline

Change 879981 had a related patch set uploaded (by Gergő Tisza; author: Gergő Tisza):

[mediawiki/extensions/MultimediaViewer@master] Use checkered background for transparent WebP images

https://gerrit.wikimedia.org/r/879981

Change 879981 merged by jenkins-bot:

[mediawiki/extensions/MultimediaViewer@master] Use checkered background for transparent WebP images

https://gerrit.wikimedia.org/r/879981

Jdlrobson claimed this task.
Jdlrobson subscribed.

Looks like we fixed this already.

I reviewed Gergo's change back in January and LGTM:

Screen Shot 2023-01-17 at 2.00.59 PM.png (626×1 px, 84 KB)