POV-Ray : Newsgroups : povray.binaries.images : I think warp is right ... 3.7 gamma : Re: I think warp is right ... 3.7 gamma Server Time
31 Jul 2024 20:13:54 EDT (-0400)
  Re: I think warp is right ... 3.7 gamma  
From: Warp
Date: 3 Sep 2009 10:11:15
Message: <4a9fce83$1@news.povray.org>
clipka wrote:
> The fact that both look the same doesn't make any one of them right.

  So you are basically saying that all the other image file formats
except PNG are the broken ones.

  OTOH, the only way one can match POV-Ray-generated pixel colors with,
for example, the pixel color in an existing JPEG image or with HTML
colors is to use File_Gamma=1.0 and bypass the "correction" that POV-Ray
is doing, by either rendering to TGA, or removing the gamma information
from the generated PNG file.

  As it is now, there exists no official way of matching pixel colors in
such way. It only becomes possible by abusing side-effects (TGA not
having gamma information) or file format editing trickery (removing
gamma info from the PNG).

  Most importantly, there exists no official way of making POV-Ray 3.7
generate the exact same PNG image as POV-Ray 3.6 does for the exact same
scene. Even "#version 3.6" won't do that (because 3.7 still writes the
gamma information to the PNG file, making it look different).

  Even when the gamma correction of input image files is corrected, this
can still be a nuisance in certain situations.


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.