Dnešná relácia otázok a odpovedí sa k nám pridelí zdvorilosťou SuperUser - podskupiny Stack Exchange, skupín webových stránok týkajúcich sa otázok a odpovedí.
Otázka
Čítačka SuperUser Ethree píše:
Check this image out:
Try clicking the image and moving it around, you will notice the apple appears.
I guess my question will be, “why does this happen?”
Prečo skutočne? Videli sme to ako hrušku v prehliadači Chrome a určite sme ju uložili do priečinka na prevzatie, ktorý sa zobrazí ako jablko.
Odpoveď
Príspevok SuperUser Matthew ponúka pohľad na optickú ilúziu:
The “white” pixels in the apple picture contain the picture of a pear, stored at a much higher intensity, i.e. very bright.
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.
Inými slovami, Chrome rešpektuje hodnotu korekcie gama a program Internet Explorer nie je.
Máte niečo doplniť vysvetlenie? Zvuk vypnúť v komentároch. Chcete si prečítať viac odpovedí od iných používateľov technológie Stack Exchange? Pozrite sa na celý diskusný príspevok tu.