Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Reproduce the old behavior of "color to alpha" (GIMP 2.6)
#5
(11-29-2022, 02:04 PM)leiopar Wrote: I use GIMP since the first version 2.

I noticed recently a change in the behavior of the "color to alpha" command from the 2.6 vertion. When I want to extract the white from a layer, the result is too pale when we put it over a white layer (which should however visually cancel the transparency effect)
See attached file : http://leiopar.free.fr/DISKETTE/gimp_cou..._alpha.zip
I asked the question [/url][url=https://forums.commentcamarche.net/forum/affich-35991037-couleur-vers-alpha-trop-pale]here, with no results.
Please, how to reproduce the behavior of GIMP 2.6 with GIMP 2.10 ? (it is now not found in portable vertion)

Bucket fill with the bucket tool in Color Erase mode (and with the color to erase of course). This is the best way in 2.10 to get the exact erasure (in other words if you put the result over a background of the erased color, you get back exactly the initial image).

In case you wonder, one thing that changes in 2.10 is that now all computations are done in "linear light". Up to Gimp 2.8, channel values where gamma-encoded and computations were done directly on these values (which is conceptually wrong). A well known result was the red-to-green gradient that goes through brown instead of going through orange but this had other implications such as computing the correct composition of semi-transparent pixels.
Reply


Messages In This Thread
RE: Reproduce the old behavior of "color to alpha" (GIMP 2.6) - by Ofnuts - 11-29-2022, 09:36 PM

Forum Jump: