RSS/Atom feed Twitter
Site is read-only, email is disabled

Can a Gradient start at pixel 2?

This discussion is connected to the gimp-user-list.gnome.org mailing list which is provided by the GIMP developers and not related to gimpusers.com.

This is a read-only list on gimpusers.com so this discussion thread is read-only, too.

2 of 2 messages available
Toggle history

Please log in to manage your subscriptions.

Can a Gradient start at pixel 2? DJ 27 Dec 01:19
  Can a Gradient start at pixel 2? saulgoode@flashingtwelve.brickfilms.com 27 Dec 05:38
DJ
2008-12-27 01:19:08 UTC (about 16 years ago)

Can a Gradient start at pixel 2?

Hi Gimp-user,

My goal is to understand tab-middle.png from Firefox chrome, and in the process understand alpha transparency better.

The image is 1x75. I'm not sure of the correct way of saying this, but from pixel 2 to 31 there is a decreasing amount of white visible, (or an increasing value for the alpha channel). I think pixel 1 is gray.

Using the Gradient tool, I set Opacity to 70. I click the second pixel in the image and hold the ctrl key while dragging. What I want to happen is for the gradient to start at pixel 2 (where I clicked), but it's starting at pixel 1. Is it possible to start a Gradient at pixel 2 (or where ever I click), or do I just need to redo pixel 1 after the Gradient.

I've gone to the Channels Dialog and clicked off R, G, B, so I could see the alpha channel. But some times it is so light that it is hard to tell. Is there a better way to inspect the alpha channel?

Thank you.

saulgoode@flashingtwelve.brickfilms.com
2008-12-27 05:38:09 UTC (about 16 years ago)

Can a Gradient start at pixel 2?

Quoting DJ :

I click the second pixel
in the image and hold the ctrl key while dragging. What I want to happen is for the gradient to start at pixel 2 (where I clicked), but it's starting at pixel 1. Is it possible to start a Gradient at pixel 2 (or where ever I click), or do I just need to redo pixel 1 after the Gradient.

Blending is in essence a FILL operation and the entire selection (or drawable, if no selection is present) will be filled as you draw your stroke.

When you click-drag your mouse to draw your gradient, the mouse button press and mouse button release specify the start and end points of the gradient, but they do not specify the start and end of the "painting". Regions between the start point and the edge of the selection are filled with gradients initial color and regions between the end point and the edge of the selection are filled with gradients final color (in the direction of your drag operation).

You probably want to make a selection from the second pixel onward before filling it with the gradient.