Last modified: 2007-03-20 22:32:59 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 T11341, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 9341 - Support transparent background on rendered LaTeX
Support transparent background on rendered LaTeX
Product: MediaWiki extensions
Classification: Unclassified
Math (Other open bugs)
All All
: Normal enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
Depends on:
  Show dependency treegraph
Reported: 2007-03-19 17:51 UTC by Christian Mertes
Modified: 2007-03-20 22:32 UTC (History)
0 users

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

Patch for dvipng transparency support (1.17 KB, patch)
2007-03-20 10:00 UTC, Christian Mertes

Description Christian Mertes 2007-03-19 17:51:49 UTC
I just wrote a mail to Jan-Åke Larsson, who seems to be the author of dvipng and asked him to add support for png 
alpha channel. Would there be any interest in adding this feature to MediaWiki? The reason I'm asking this 
is because I encountered several LaTeX formulas with a white opaque background that found themselves on top of some 
coloured table. Didn't look very pretty. I asked Jan-Åke to add the option as a command line switch so it wouldn't be 
very difficult to use.

If Jan-Åke thinks adding this feature to be possible and is willing to do it, would someone add support for it to 
texvc? That'd be great!

Many thanks in advance,

Comment 1 Christian Mertes 2007-03-20 09:59:20 UTC
Good news from Jan-Åke. He wrote me this email:

>Christian Mertes wrote:
>>Would it be difficult to add support for the
>>alpha channel for png images?
>Yes. But I have already done that. It is there from version 1.6 released
> one and a half years ago.
> All that is needed is to activate this in phase3/math/ in
> mediawiki. Patch included.
> I thought there would be problems since IE has not supported PNG alpha
> but it seems that IE7 does support it. (IE6 and below needs an
> additional, now deprecated, javascript snippet.)
> Feel free to try it out.

I'll attach the patch he sent me so it seems there will be no problem adding this feature to MediaWiki :) Will 
someone do it?

Many thanks in advance,

Comment 2 Christian Mertes 2007-03-20 10:00:52 UTC
Created attachment 3369 [details]
Patch for dvipng transparency support

Thanks to Jan-Åke Larsson for this patch and his quick answer.
Comment 3 Christian Mertes 2007-03-20 10:04:15 UTC
Oh BTW, as far as I know there won't be too much of a problem with older versions of IE as they just don't 
display the alpha channel. So the formulas will be no uglier than they are now :)
Comment 4 Aryeh Gregor (not reading bugmail, please e-mail directly) 2007-03-20 22:32:59 UTC

*** This bug has been marked as a duplicate of 8 ***

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