Почему Chrome и Internet Explorer отображают это изображение полностью по-разному?

Оглавление:

Почему Chrome и Internet Explorer отображают это изображение полностью по-разному?
Почему Chrome и Internet Explorer отображают это изображение полностью по-разному?

Видео: Почему Chrome и Internet Explorer отображают это изображение полностью по-разному?

Видео: Почему Chrome и Internet Explorer отображают это изображение полностью по-разному?
Видео: Поддержка Windows 8.1 заканчивается! Вот что будет - YouTube 2024, Апрель
Anonim
 В довольно любопытном случае смущенной идентификации фотография кусочка фрукта меняется сама по себе, на каком браузере она отображается. В чем секрет оптической иллюзии? Это груша, яблоко или и то, и другое?
В довольно любопытном случае смущенной идентификации фотография кусочка фрукта меняется сама по себе, на каком браузере она отображается. В чем секрет оптической иллюзии? Это груша, яблоко или и то, и другое?

Сегодняшняя сессия вопросов и ответов приходит к нам благодаря SuperUser - подразделению Stack Exchange, основанной на сообществах сайтам Q & A.

Вопрос

Читатель SuperUser Этри пишет:

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

Почему? Мы видели его как грушу в Chrome и, конечно же, когда мы сохранили ее в нашей папке с загрузками, она отображалась как яблоко.

Ответ

Докладчик SuperUser Мэтью предлагает понять оптическую иллюзию:

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.

Другими словами, Chrome соблюдает значение коррекции гаммы, а Internet Explorer - нет.

Есть что добавить к объяснению? Звучит в комментариях. Хотите узнать больше ответов от других пользователей Windows? Посмотрите здесь полную дискуссионную тему.

Рекомендуемые: