Last modified: 2007-03-20 22:32:59 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 9341 - Support transparent background on rendered LaTeX
Support transparent background on rendered LaTeX
Status: RESOLVED DUPLICATE of bug 8
Product: MediaWiki extensions
Classification: Unclassified
Math (Other open bugs)
unspecified
All All
: Normal enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  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: ---


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

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,

Christian
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/render.ml 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,

Christian
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.


Navigation
Links