Last modified: 2013-09-06 11:03:31 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 T33736, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 31736 - Use transparent images for hiero
Use transparent images for hiero
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
WikiHiero (Other open bugs)
unspecified
All All
: Low enhancement (vote)
: ---
Assigned To: Bartosz Dziewoński
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-10-15 19:02 UTC by Umherirrender
Modified: 2013-09-06 11:03 UTC (History)
7 users (show)

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


Attachments
Alternate wikihiero images with (more or less) transparent backgrounds (648.34 KB, application/octet-stream)
2013-03-16 11:39 UTC, Michael Billington
Details
an image of a hieroglyph on grey background (1.15 KB, image/png)
2013-05-12 12:18 UTC, Amir E. Aharoni
Details

Description Umherirrender 2011-10-15 19:02:50 UTC
Transparent images looks better, when using colored background.

It is possible to change the background of all images to transparent? Thanks.
Comment 1 Max Semenik 2011-10-15 19:59:34 UTC
Do we have existing use cases where existing articles rely on them to have white background?
Comment 2 Mark A. Hershberger 2011-10-18 13:17:50 UTC
(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.
Comment 3 Guillaume 2012-11-10 20:58:58 UTC
All hieroglyphs images are under wikihiero/img directory.
If someone can adding transparency using a script, you are welcome.
Comment 4 Michael Billington 2013-03-16 11:39:37 UTC
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
Comment 5 Umherirrender 2013-05-11 17:39:03 UTC
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.
Comment 6 Gerrit Notification Bot 2013-05-12 06:11:40 UTC
Related URL: https://gerrit.wikimedia.org/r/63363 (Gerrit Change Id70fa296d30210364ce9e307d5c51a3ab4875590)
Comment 7 Amir E. Aharoni 2013-05-12 12:18:37 UTC
Created attachment 12298 [details]
an image of a hieroglyph on grey background

This is how the suggested image looks on a grey background.
Comment 8 Michael Billington 2013-05-13 09:03:30 UTC
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.
Comment 9 Bartosz Dziewoński 2013-09-05 22:41:28 UTC
I've redone this doing the transparency properly; see https://gerrit.wikimedia.org/r/#/c/63363/ in gerrit.
Comment 10 Gerrit Notification Bot 2013-09-06 10:59:30 UTC
Change 63363 merged by jenkins-bot:
Change all glyphs to have a transparent background

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

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


Navigation
Links