Gamma in PNG
Moderators: XnTriq, helmut, xnview
Gamma in PNG
It does not work PNG gamma correction
Re: Gamma in PNG
You means that gamma in PNG are not used?Solovei95 wrote:It does not work PNG gamma correction
Pierre.
Re: Gamma in PNG
XnView does not work native gamma correction in PNG.
The simplest formula is:
pow (channel/255, 1 / (gamma * 2.2));
gamma - gamma from PNG gAMA chunk
channel - RGB channel
The simplest formula is:
pow (channel/255, 1 / (gamma * 2.2));
gamma - gamma from PNG gAMA chunk
channel - RGB channel
Re: Gamma in PNG
The preferred colorspace is sRGB anyway, not pow(unpredictable random value).Solovei95 wrote:XnView does not work native gamma correction in PNG.
http://libpng.org/pub/png/book/chapter1 ... ch10.div.6
http://libpng.org/pub/png/spec/1.2/PNG- ... tml#C.sRGB
http://en.wikipedia.org/wiki/SRGB
There is indeed no WinZIP under my rock.
Re: Gamma in PNG
- Willem van Schaik: PngSuite » Gamma values
- Henri Sivonen: The Sad Story of PNG Gamma “Correction”
- Trevor Morris: The PNG Gamma Dilemma