|
|
Fredrik Eriksson <fe79}--at--{yahoo}--dot--{com> wrote:
> When used as input, the pixel with the (gamma-corrected) value <0.73,
> 0.73, 0.73> will be converted back to <0.5, 0.5, 0.5> *if you use a
> gamma-aware image format*.
If you are creating an image which will later be used to generate a
heightfield, why would you want the pixels to be gamma-corrected? That
will only destroy some of the information.
For example, if you have a linear gradient 0, 1, 2, 3, ..., 255, and
then you gamma-correct them, write them to a file, then later read the
file and gamma-uncorrect them, the resulting values will not be the same
as originally. Some of the values will have been changed. There will be
some repeated values and gaps.
--
- Warp
Post a reply to this message
|
|