Miért különböznek a Chrome és az Internet Explorer a képen?

Tartalomjegyzék:

Miért különböznek a Chrome és az Internet Explorer a képen?
Miért különböznek a Chrome és az Internet Explorer a képen?

Videó: Miért különböznek a Chrome és az Internet Explorer a képen?

Videó: Miért különböznek a Chrome és az Internet Explorer a képen?
Videó: PowerShell For Beginners Full Course | PowerShell Beginner tutorial Full Course - YouTube 2024, Lehet
Anonim
 A zavaros azonosítók meglehetősen furcsa eseteként egy gyümölcsdarab fényképe változik meg attól függően, hogy milyen böngészőn jelenik meg. Mi a titok az optikai illúzió mögött? Ez egy körte, egy alma vagy mindkettő?
A zavaros azonosítók meglehetősen furcsa eseteként egy gyümölcsdarab fényképe változik meg attól függően, hogy milyen böngészőn jelenik meg. Mi a titok az optikai illúzió mögött? Ez egy körte, egy alma vagy mindkettő?

A mai Kérdések és válaszok munkamenetét a SuperUser - a Stack Exchange, a Q & A weboldalak közösség által irányított csoportosulásának részlegével - köszönheti.

A kérdés

A SuperUser olvasó Ethree írja:

Check this image out:

On Chrome and Firefox it will show as a pear. Now, try to save it and look at it saved on your desktop. Also, try viewing in safari or IE. It will display as an apple!
On Chrome and Firefox it will show as a pear. Now, try to save it and look at it saved on your desktop. Also, try viewing in safari or IE. It will display as an apple!

Try clicking the image and moving it around, you will notice the apple appears.

I guess my question will be, “why does this happen?”

Miért valóban? Úgy láttuk, hogy körte van a Chrome-ban, és persze, amikor mentettük a letöltési mappába, almát jelenítettünk meg.

A válasz

A SuperUser munkatársa Matthew betekintést enged az optikai illúzióba:

The “white” pixels in the apple picture contain the picture of a pear, stored at a much higher intensity, i.e. very bright.

The “black” pixels in the pear picture contain the picture of an apple, stored at a fairly normal intensity, but scaled down to near black with the gamma correction.
The “black” pixels in the pear picture contain the picture of an apple, stored at a fairly normal intensity, but scaled down to near black with the gamma correction.
The image contains a gAMA chunk specifying a file gamma value of 0.02. When displayed without gamma correction, the viewer sees an apple with “white” pixels interspersed, which are actually the pear at its original (high) intensity.
The image contains a gAMA chunk specifying a file gamma value of 0.02. When displayed without gamma correction, the viewer sees an apple with “white” pixels interspersed, which are actually the pear at its original (high) intensity.

When displayed with gamma correction, the viewer sees a colour-corrected pear with “black” pixels which are actually the apple rendered at a much lower gamma value.

Browsers which display the pear are showing the image using the gamma information provided in it, while browsers which display the apple are not using this gamma information.

Más szóval, a Chrome tiszteletben tartja a gamma korrekció értékét, és az Internet Explorer nem.

Van valami a magyarázathoz? Hangzik ki a megjegyzésekben. Szeretne többet válaszolni a többi technikus-tudós Stack Exchange felhasználóiról? Nézze meg a teljes vitafonalat itt.

Ajánlott: