Kāpēc Chrome un pārlūkprogramma Internet Explorer parāda šo attēlu pavisam savādāk?

Satura rādītājs:

Kāpēc Chrome un pārlūkprogramma Internet Explorer parāda šo attēlu pavisam savādāk?
Kāpēc Chrome un pārlūkprogramma Internet Explorer parāda šo attēlu pavisam savādāk?

Video: Kāpēc Chrome un pārlūkprogramma Internet Explorer parāda šo attēlu pavisam savādāk?

Video: Kāpēc Chrome un pārlūkprogramma Internet Explorer parāda šo attēlu pavisam savādāk?
Video: How to Continue Using Windows 7 Safely in 2022 - YouTube 2024, Aprīlis
Anonim
 Diezgan ziņkārīgs gadījumā, ja sajaucas, identificē augļa gabala fotoattēlu, kas mainās atkarībā no tā, kādā pārlūkā tas ir redzams. Kāda ir optiskā ilūzija noslēpums? Vai tas ir bumbieris, ābols vai abi?
Diezgan ziņkārīgs gadījumā, ja sajaucas, identificē augļa gabala fotoattēlu, kas mainās atkarībā no tā, kādā pārlūkā tas ir redzams. Kāda ir optiskā ilūzija noslēpums? Vai tas ir bumbieris, ābols vai abi?

Šodienas jautājumu un atbilžu sesija mums priecājas par SuperUser - Stack Exchange dalību, kas ir kopienas vadīta Q & A tīmekļa vietņu grupa.

Jautājums

SuperUser lasītājs Ethie raksta:

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

Kāpēc patiešām? Mēs to redzējām kā bumbieri pārlūkā Chrome un, protams, kad mēs to saglabājām mapē, kas tika lejupielādēta kā apple.

Atbilde

SuperUser atbalstītājs Matthew piedāvā ieskatu optiskajā ilūzijā:

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.

Citiem vārdiem sakot, Chrome ievēro gamma korekcijas vērtību, un pārlūkprogrammai Internet Explorer tā nav.

Vai kaut ko pievienot paskaidrojumam? Skatieties komentāros. Vēlaties lasīt citas atbildes no citiem tehnoloģiju savvy Stack Exchange lietotājiem? Šeit skatiet pilnu diskusiju pavedienu.

Ieteicams: