Last modified: 2013-09-06 11:03:31 UTC
Transparent images looks better, when using colored background. It is possible to change the background of all images to transparent? Thanks.
Do we have existing use cases where existing articles rely on them to have white background?
(In reply to comment #1) > Do we have existing use cases where existing articles rely on them to have > white background? Unknown. I don't think this is known. We could change it and wait for people to complain. Alternatively, I'm pinging Brandon in case he has some input.
All hieroglyphs images are under wikihiero/img directory. If someone can adding transparency using a script, you are welcome.
Created attachment 11944 [details] Alternate wikihiero images with (more or less) transparent backgrounds Script to remove white background from behind hieroglyphs: #!/bin/bash for f in img/* do echo "Editing $f .. " convert $f -background none -fuzz 10% -transparent white -flatten $f done -Michael Billington
Hello Michael Billington, can you provide your attachment as a gerrit patch set? See http://www.mediawiki.org/wiki/Gerrit/Getting_started for a how do. Thanks.
Related URL: https://gerrit.wikimedia.org/r/63363 (Gerrit Change Id70fa296d30210364ce9e307d5c51a3ab4875590)
Created attachment 12298 [details] an image of a hieroglyph on grey background This is how the suggested image looks on a grey background.
The images aren't great quality, so editing them is a bit of a hack to begin with. Some other ideas: * Just extracting the black-ness, then dropping it on a transparent background. There would be no artefacts, but the pixels would be even more visible than they are currently. * Re-generating them all from a free font (such as Aegyptus as found in Debian's ttf-ancient-fonts) on a transparent background. This is probably preferable in the long-run.
I've redone this doing the transparency properly; see https://gerrit.wikimedia.org/r/#/c/63363/ in gerrit.
Change 63363 merged by jenkins-bot: Change all glyphs to have a transparent background https://gerrit.wikimedia.org/r/63363