Kodėl "Chrome" ir "Internet Explorer" rodo šį vaizdą visiškai skirtingai?

Turinys:

Kodėl "Chrome" ir "Internet Explorer" rodo šį vaizdą visiškai skirtingai?
Kodėl "Chrome" ir "Internet Explorer" rodo šį vaizdą visiškai skirtingai?

Video: Kodėl "Chrome" ir "Internet Explorer" rodo šį vaizdą visiškai skirtingai?

Video: Kodėl
Video: Why I still use Windows 7 in 2020... 2024, Gegužė
Anonim
 Gana įdomu supainioti atvejo atveju, vaisių nuotraukos nuotrauka keičiasi priklausomai nuo to, kokia naršyklė ji rodoma. Kas yra optinės iliuzijos paslaptis? Ar tai yra kriaušė, obuolys ar abu?
Gana įdomu supainioti atvejo atveju, vaisių nuotraukos nuotrauka keičiasi priklausomai nuo to, kokia naršyklė ji rodoma. Kas yra optinės iliuzijos paslaptis? Ar tai yra kriaušė, obuolys ar abu?

Šiandieninė klausimų ir atsakymų sesija pateikiama su "SuperUser" - "Stack Exchange", bendruomenės valdoma Q & A grupių asociacija.

Klausimas

SuperUser skaitytojas Ethie rašo:

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?”

Kodėl iš tikrųjų? Mes matėme tai kaip "Chrome" kriaušės ir, tikrai, kai ją išsaugojome savo atsisiuntimų aplanke, kuris rodomas kaip obuolys.

Atsakymas

"SuperUser" autorius Matthew siūlo suprasti optinę iliuziją:

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.

Kitaip tariant, "Chrome" gerbia gama korekcijos vertę, o "Internet Explorer" - ne.

Ar turite ką nors įtraukti į paaiškinimą? Garsas išjungtas komentaruose. Norite skaityti daugiau atsakymų iš kitų "Tech-savvy Stack Exchange" vartotojų? Patikrinkite visą diskusijų temą čia.

Rekomenduojamas: