Post Reply 

gradient to a selection or path

Nov 3, 2011, 04:30
Post: #1
gradient to a selection or path
I'm trying to do something similar to the shadowing shown around the border of the Instagram logo:
http://wpuploads.appadvice.com/wp-conten...mLarge.png

It's basically just a black-to-transparent gradient but I can't figure out any way to get it to follow a path like it does with the border here. I figured the gradient tool would have some setting to snap to a selection or follow a path, but it doesn't seem so.

I was able to achieve basically the identical effect by just duplicating the layer, making the lower layer black, and blurring the top layer so that the black layer showed through like a gradient, but that doesn't work if your top layer is anything other than a solid color since it blurs everything.

This seems really simple in concept but for the life of me I can't figure out a way to do it. Somebody please point out the obvious so that I can hang my head in shame.
Find all posts by this user
Quote this message in a reply
Nov 3, 2011, 09:06
Post: #2
RE: gradient to a selection or path
- Create a selection on your object (alpha-to-selection or whatever)
- Add new layer, put it in "multiply" mode
- Create "Shaped" gradient in selection
- Use the Curves or Levels tools to adjust shadow, likely by transforming most of the range to white.

[attachment=727]

Now answering your questions on
https://Gimp-Forum.net
Visit this user's website Find all posts by this user
Quote this message in a reply
Nov 3, 2011, 16:53
Post: #3
RE: gradient to a selection or path
(Nov 3, 2011 09:06)ofnuts Wrote:  - Create a selection on your object (alpha-to-selection or whatever)
- Add new layer, put it in "multiply" mode
- Create "Shaped" gradient in selection
- Use the Curves or Levels tools to adjust shadow, likely by transforming most of the range to white.

Ah, worked like a charm. I never use the curves tool, it didn't even 'occurve' to me. Hehe...anyone? No?

Thank you!
Find all posts by this user
Quote this message in a reply
Nov 3, 2011, 18:37
Post: #4
RE: gradient to a selection or path
Hmmmm

In fact, the day you understand that when you have a gradient, playing with the Curve or Levels tools is really defining the value as a function of some distance (from a line, a point, or the selection), you make a great step towards inventing your own techniques for a lot of things.

Now answering your questions on
https://Gimp-Forum.net
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  gradient alpha channel jeremyrutman 1 28 Yesterday 08:16
Last Post: paynekj
  Text along path help sturner84 15 641 Aug 12, 2014 01:45
Last Post: fluffybunny2
  A method for cleaning up selection borders intracube 3 2,707 Nov 8, 2012 14:05
Last Post: ofnuts
  Semi-transparency of floating selection poor mystic 2 2,485 Apr 23, 2011 01:57
Last Post: poor mystic

Forum Jump:


GIMP ForumPortalArchiveContactTermsRSS