GNOME Bugzilla – Bug 595170
brush - color from gradient works wrong in greyscale
Last modified: 2010-06-27 10:03:04 UTC
When image is in greyscale brush painting with color from gradient works unexpectedly. When in rgb mode color is going from black to white When in greyscale mode color is going from white to light grey to white
Confirming in 2.6.7 on WinXP. Here's the steps I used to reproduce if it helps. 1. Open a new image (white background) 2. Select the Paintbrush tool, select "use color from gradient" and select a gradient. (I found that the effect was more noticeable using a coloured gradient, I used the "Mexican Flag smooth") 3. Paint a line across the screen. 4. Select Image > Mode > Grayscale 5. Paint another line of equal length. Result: The two lines vary quite considerably.
Fixed in master and 2-6: commit 05f3a559b6e0c2b05f29e64800323d4327f4c6a0 Author: Michael Natterer <mitch@gimp.org> Date: Sun Jun 27 01:55:21 2010 +0200 Bug 595170 - brush - color from gradient works wrong in greyscale Convert the gradient color to the drawable's type before using it. (manually cherry-picked from 15fd08747de7bfac29dd13550109c58f484bdb7a)