Description
New logo has sharp (jagged) edges.
Steps to reproduce
- Look at the title bar.
Example
N/A
Details
This wiki
Workaround
Do not use your glasses.
Discussion
I took james_moin_final.png and created two versions of the 64x64-pixel logo in Photoshop:
Bicubic
Bicubic Sharper
I like the sharper one the best. Feel free to use it instead of the current one.
Of course we know how to resample images Unfortunately, your images break on Internet Explorer, why we had to use index colors for it. Feel free to find another solution that works on IE.
And for a while I thought I'm the only person in the world who can resample images ... I admit I forgot about IE, but even indexed color image can look better. How about this one:
This time checked in Safari, Mozilla, and IE. -- PaulRoman 2005-12-07 22:29:40OK, thanks. I will replace the image in the arch. I think I did not use Gimp correctly or it was a Gimp bug (I did not have PSP or PS on that machine). -- AlexanderSchremmer 2005-12-07 22:50:50
It is IE's bug, it can't handle PNG files with alpha channel, unless you use non-standard and unportable way to load the images (which is itself funny, because it means the support is there, and it was a decission to make it this way). This means you can't have a logo that have nice edges on all backgrounds. It's best to pick your average background color and do a semi-flatten operation in GIMP, then save it as indexed PNG or just GIF (the latter might be smaller). Of course this way you need different images for different backgrounds. -- RadomirDopieralski 2005-12-07 23:08:22
In fact, indexed transparency works fine with IE, thats what the old and the new pictures used. Gimp just did not anti alias the edges for me correctly (for those pixels which were on the transparency edge). Some may call it more correct (maybe it is even configurable), other programs just assume the transparent color as white or do not respect the transparency info at all and then do normal anti aliasing. And I did not want to use the JS hack because we would have to ship it with the image to satisfy all users -- AlexanderSchremmer 2005-12-07 23:13:01
As I pointed out, you should have used the layer->transparency->semi-flatten option, after selecting the desired background color as your secondary color -- that'd do the trick. As for IE compatybility, you can always do a server-side browser detection and have different src attributes for IE and standard-compliant browsers. I have to do it for any moderately sophisticated style sheets anyways. Of course, you're never sure about the forward compatibility. Can't wait to see IE7... By the way, some versions (with certain hotfixes) of IE6 don't display PNG files at all. Better stick to GIFs. -- RadomirDopieralski 2005-12-08 23:32:44
I am not aware of that. Do you have sources for this non-png issue? -- AlexanderSchremmer 2005-12-08 23:35:03
I digged a little to find any sort of official bug report, hotfix or at least article about it, but couldn't find anything... It happened to us about 3 months ago, with almost 250 stations. It was automagically fixed a few days later, but the stations that didn't update still don't display PNG files as CSS background. Anyways, even without the info on this particular issue, there is enough offcially confirmed information (see libpng) to reconsider using PNG files, especially if you don't need the transparency. Not that I don't like PNGs. I save most of my work as PNG files. I use them everywhere, but not on the web - the support is too bad. Again, sorry for inaccurate info. -- RadomirDopieralski 2005-12-09 15:39:19
I think I found the patch causing this, altrough the description is not very clear... -- RadomirDopieralski 2005-12-09 15:50:51
Of course, both (alpha chan, 32 bit color depth and 256 indexed colors) images are shipped.
Plan
- Priority:
- Assigned to:
- Status: