Why won't MediaWiki apparently accept the transparency of uploaded .PNG images?
The transparency area is transformed to a solid grey or pinkish color :-(
- Can the transparency be maintained in such images, without installing additional server software? I am running the wiki without ImageMagick, as the wiki is hosted on a external server.
Best wishes,
Morten :-)
-- Crews Cut Production Morten Blaabjerg Danmarksgade 97 - DK-5000 Odense C Tlf. 65 90 60 88 / 51 80 91 55 morten@crewscut.com
What appeared to be a problem, was in fact not a problem, but it seems, a feature of MW that displays the transparent areas as grey. Apparently, once resized and in use the grey color disappears and the image transparency works completely as it should.
Sorry for the inconvenience.
Best wishes, Morten :-)
-- Crews Cut Production Morten Blaabjerg Danmarksgade 97 - DK-5000 Odense C Tlf. 65 90 60 88 / 51 80 91 55 morten@crewscut.com
----- Original Message ----- From: "Morten Blaabjerg" morten@crewscut.com To: "MediaWiki announcements and site admin list" mediawiki-l@Wikimedia.org Sent: Wednesday, August 17, 2005 11:45 PM Subject: [Mediawiki-l] Transparency of uploaded PNG images?
Why won't MediaWiki apparently accept the transparency of uploaded .PNG images?
The transparency area is transformed to a solid grey or pinkish color :-(
- Can the transparency be maintained in such images, without installing additional server software? I am running the wiki without ImageMagick, as the wiki is hosted on a external server.
Best wishes,
Morten :-)
-- Crews Cut Production Morten Blaabjerg Danmarksgade 97 - DK-5000 Odense C Tlf. 65 90 60 88 / 51 80 91 55 morten@crewscut.com
_______________________________________________ MediaWiki-l mailing list MediaWiki-l@Wikimedia.org http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
I believe this has something to do with the web server rather than the site; it happens on my system "occasionally", I have yet to notice a pattern.
If anyone know what might cause this on a windows apache system I would love to know.
Regards, Arthur Guy
arthur@astarsolutions.co.uk a star solutions www.astarsolutions.co.uk
Audio & Video Leads Adapters and Accessories -----Original Message----- From: mediawiki-l-bounces@Wikimedia.org [mailto:mediawiki-l-bounces@Wikimedia.org] On Behalf Of Morten Blaabjerg Sent: 17 August 2005 22:45 To: MediaWiki announcements and site admin list Subject: [Mediawiki-l] Transparency of uploaded PNG images?
Why won't MediaWiki apparently accept the transparency of uploaded .PNG images?
The transparency area is transformed to a solid grey or pinkish color :-(
- Can the transparency be maintained in such images, without installing additional server software? I am running the wiki without ImageMagick, as the wiki is hosted on a external server.
Best wishes,
Morten :-)
-- Crews Cut Production Morten Blaabjerg Danmarksgade 97 - DK-5000 Odense C Tlf. 65 90 60 88 / 51 80 91 55 morten@crewscut.com
_______________________________________________ MediaWiki-l mailing list MediaWiki-l@Wikimedia.org http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
'a star solutions' disclaimer The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. If you are not the intended recipient of this message you are hereby notified that any use, review, retransmission, dissemination, distribution, reproduction or any action taken in reliance upon this message is prohibited. If you received this in error, please contact the sender and delete the material from any computer. Any views expressed in this message are those of the individual sender and may not necessarily reflect the views of the company. We believe that this communication is free from viruses and other potentially dangerous programmes, but the recipient opens this communication at their own risk. We assume no responsibility for any loss or damage arising from the receipt or use of this communication
On 17/08/05, Morten Blaabjerg morten@crewscut.com wrote:
Why won't MediaWiki apparently accept the transparency of uploaded .PNG images?
The transparency area is transformed to a solid grey or pinkish color :-(
When is this transformation taking place? I can think of two places it might be: * when a thumbnail is generated (either for use on the description page of a large image, or when including an image in an article with |thumb| or |##px|); in which case, the problem is presumably with the GD library (since you say you're not using ImageMagick). I'm afraid I know nothing about this, so can go no further than this vague diagnosis.
* on display in Internet Explorer, which can't cope with alpha-layer transparency in PNGs, much to everyone's annoyance; this has nothing to do with the image being uploaded to MediaWiki, but if you didn't know this you might never have tested your PNGs in IE until you uploaded them. There's not a lot to be done about this - you can edit the PNGs to only have palette transparency (like a GIF; can be rather ugly) or you can try and use the ActiveX filter hack that's used in the logo (see skins/common/wikibits.js, I think; can annoy users with restrictive ActiveX permissions)
In that case, it seems to be an IE problem, since once thumbnailed and resized it behaves pretty much like a resized gif-file - except it works. With .gif's I get the pink color and no transparency, when resized or thumbnailed, but they work and get transparent when in their original size.
It doesn't look pretty, but it can be resized and transparency retained. A better solution than uploading several different'sized gif's, although they would probably be prettier.
Thanx for your replies, Morten :-)
-- Crews Cut Production Morten Blaabjerg Danmarksgade 97 - DK-5000 Odense C Tlf. 65 90 60 88 / 51 80 91 55 morten@crewscut.com
----- Original Message ----- From: "Rowan Collins" rowan.collins@gmail.com To: "MediaWiki announcements and site admin list" mediawiki-l@wikimedia.org Sent: Thursday, August 18, 2005 12:26 AM Subject: Re: [Mediawiki-l] Transparency of uploaded PNG images?
On 17/08/05, Morten Blaabjerg morten@crewscut.com wrote:
Why won't MediaWiki apparently accept the transparency of uploaded .PNG images?
The transparency area is transformed to a solid grey or pinkish color :-(
When is this transformation taking place? I can think of two places it might be: * when a thumbnail is generated (either for use on the description page of a large image, or when including an image in an article with |thumb| or |##px|); in which case, the problem is presumably with the GD library (since you say you're not using ImageMagick). I'm afraid I know nothing about this, so can go no further than this vague diagnosis.
* on display in Internet Explorer, which can't cope with alpha-layer transparency in PNGs, much to everyone's annoyance; this has nothing to do with the image being uploaded to MediaWiki, but if you didn't know this you might never have tested your PNGs in IE until you uploaded them. There's not a lot to be done about this - you can edit the PNGs to only have palette transparency (like a GIF; can be rather ugly) or you can try and use the ActiveX filter hack that's used in the logo (see skins/common/wikibits.js, I think; can annoy users with restrictive ActiveX permissions)
On 8/17/05, Morten Blaabjerg morten@crewscut.com wrote:
Why won't MediaWiki apparently accept the transparency of uploaded .PNG images?
The transparency area is transformed to a solid grey or pinkish color :-(
- Can the transparency be maintained in such images, without installing additional server software? I am running the wiki without ImageMagick, as the wiki is hosted on a external server.
On a related note, I found a bug with GD with it's alpha handling. I had a particular PNG that had 24-bit + Alpha color. MediaWiki+GD2 either (depending on whether or not MW was hacked): - Down-graded the color to shades of yellow and kept alpha - Kept the color and lost alpha
mediawiki-l@lists.wikimedia.org