Hacker News new | ask | show | jobs
by justin_ 4829 days ago
Using Photoshop I tried to make my own image like this.

http://i.imgur.com/36EgeOF.png

It's a mix of Tux and the GNU logo. The strange thing is that Firefox shows Tux, and Chrome shows the GNU logo. Very strange considering both Firefox and Chrome show the pear. My understanding is that the GNU logo (the 'lighter' image) should be shown if the gamma correction is applied. Does anyone know what's going on here?

EDIT: By removing the iCCP color profile chunk, the image displays properly in Firefox.

For anyone interested in making one:

First, I put the two images on separate layers in photoshop. I changed the output levels on Tux to be from 0 to 210, darkening it slightly. I changed the output levels on the GNU logo to be from 215 to 255, making it very bright. Then I used a layer mask on the top layer with a grid pattern to mix the two images. The saved image was a mix of the relatively normal Tux pixels and the bright GNU pixels.

The final touch was editing the gAMA value in the PNG. Using the free program, TweakPNG, I set it to something very low, like in the pear image: 0.02. And that was it!

1 comments

Using Firefox, I see a very grainy Tux, and a faded GNU logo in the background. When I take a screenshot of it using Firefox, and view the screenshot in Chrome, I see the grainy Tux/faded GNU logo, identical to my viewing of it in Firefox. Is this how it's supposed to work?

http://i.imgur.com/hTauClg.jpg (screenshot of what I see in firefox)

I apologize if this is a dumb question.

Firefox SHOULD be showing the GNU logo. For some reason, when a color profile is included in the image, Firefox ignores the gamma correction information. Or at least, that's what seems to be happening. Viewing the original image in Chrome should correctly show the GNU logo.

The reason the screenshot doesn't appear different in Chrome is because no gamma correction is attached to it.

Anyway, check this new link: http://i.imgur.com/vYBIZ0R.png

This is the same image with the color profile removed. It should show the GNU logo in both Firefox in Chrome, but show Tux in browsers which ignore the gamma correction.

I apologize if my explanations are confusing... I'm very new to this stuff.