It is currently Fri Aug 28, 2026 7:36 am


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 18 posts ] 
Author Message
 Post subject: [solved] drop shadow around a selection
PostPosted: Mon Jul 01, 2019 11:33 pm  (#1) 
Offline
GimpChat Member

Joined: Apr 09, 2018
Posts: 1888
Location: France
GIMP Version: 2.10.11
Operating System: Windows
GIMP Experience: New User



:wvy
I'm not happy with the way I've tried to make a gradient drop shadow around a selection and there must be another way to do it for a better result ...
My method:
I make Selection / Border by choosing the size a little randomly
then I fill it with the color black (or other)
then I go back to the initial selection, I reverse it and Filters / Gaussian Blur

_________________
Les parfums, les couleurs et les sons se répondent.Baudelaire (Les fleurs du mal)
2.10.36/(Samj) Gimp 2.10.38 OS Windows 10 Home 64 bits


Last edited by level_0 on Thu Jul 04, 2019 2:11 am, edited 1 time in total.

Share on Facebook Share on Twitter Share on Orkut Share on Digg Share on MySpace Share on Delicious Share on Technorati
Top
 Post subject: Re: drop shadow around a selection
PostPosted: Tue Jul 02, 2019 2:01 am  (#2) 
Offline
GimpChat Member
User avatar

Joined: Nov 04, 2015
Posts: 1467
Something I tried was to use the actual object to make it's own shadow.
There is an example here:https://gfycat.com/grimenchantingamurratsnake

In this case I pasted the object (series of objects) to the right of where the object was going. Then used monochrome , Gaussian blur etc to turn it into a shadow.
Finally I pasted the series of objets to the left of the series of shadows.
Maybe this will give you some ideas :)


Top
 Post subject: Re: drop shadow around a selection
PostPosted: Tue Jul 02, 2019 2:53 am  (#3) 
Offline
GimpChat Member

Joined: Apr 09, 2018
Posts: 1888
Location: France
:wvy Tas_mania
thank you for this way of proceeding.I will test with what I think because it is not to apply to objects but to selections.

_________________
Les parfums, les couleurs et les sons se répondent.Baudelaire (Les fleurs du mal)
2.10.36/(Samj) Gimp 2.10.38 OS Windows 10 Home 64 bits


Top
 Post subject: Re: drop shadow around a selection
PostPosted: Tue Jul 02, 2019 4:09 am  (#4) 
Offline
GimpChat Member

Joined: Apr 09, 2018
Posts: 1888
Location: France
For what I want to do, it does not work or so I did not know how to do it.
I just smear a background to explain it better. I made a selection of the word "hello" (then I cut and pasted as a new layer):
Image
As we do not see well on the screenshot, I have dark (but I would like to make a gradient shadow without darken the word "hello")
Image

so how to make a gradient shadow that starts from the outline of this word?

_________________
Les parfums, les couleurs et les sons se répondent.Baudelaire (Les fleurs du mal)
2.10.36/(Samj) Gimp 2.10.38 OS Windows 10 Home 64 bits


Top
 Post subject: Re: drop shadow around a selection
PostPosted: Tue Jul 02, 2019 6:03 am  (#5) 
Offline
GimpChat Member

Joined: Sep 23, 2016
Posts: 317
Is this what you are looking for?

I used Drop Shadow (legacy) on the upper layer. The Drop Shadow layer can be moved to suit your needs.


Attachments:
DropShadow.xcf.gz [813.19 KiB]
Downloaded 119 times
DropShadow.jpg
DropShadow.jpg [ 70.17 KiB | Viewed 7996 times ]
Top
 Post subject: Re: drop shadow around a selection
PostPosted: Tue Jul 02, 2019 6:08 am  (#6) 
Offline
GimpChat Member

Joined: Mar 04, 2011
Posts: 2613
Quote:
..so how to make a gradient shadow that starts from the outline of this word?..


Not sure what you mean by gradient shadow. Is it something like this?

Attachment:
dropshadow.jpg
dropshadow.jpg [ 167.97 KiB | Viewed 7994 times ]


Just a note: Your downloaded images (png's) are in indexed mode. I hope you are working in RGB mode


Top
 Post subject: Re: drop shadow around a selection
PostPosted: Tue Jul 02, 2019 7:08 am  (#7) 
Offline
GimpChat Member
User avatar

Joined: Nov 04, 2015
Posts: 1467
I did this real quick.

Image

What I do is make a new image > Add Alpha Channel > Select by color > Edit -clear Then Paste your selection into it.
Go back to first image > Desaturate, Curves, Blur etc to make it look a shadow.
Then just 'copy visible' from the second image and place above the shadow.
That's how I make shadows using the original image :)

(make sure your image mode is RGB)


Top
 Post subject: Re: drop shadow around a selection
PostPosted: Tue Jul 02, 2019 8:00 am  (#8) 
Offline
GimpChat Member
User avatar

Joined: Apr 15, 2017
Posts: 1837
Made this one using LayerFX > bevel + dropshadow.

Attachment:
LFX.jpg
LFX.jpg [ 151.05 KiB | Viewed 7966 times ]


Top
 Post subject: Re: drop shadow around a selection
PostPosted: Tue Jul 02, 2019 9:38 am  (#9) 
Offline
Script Coder
User avatar

Joined: Oct 25, 2010
Posts: 4812
Tas_mania wrote:
I did this real quick.

[ Image ]

What I do is make a new image > Add Alpha Channel > Select by color > Edit -clear Then Paste your selection into it.
Go back to first image > Desaturate, Curves, Blur etc to make it look a shadow.
Then just 'copy visible' from the second image and place above the shadow.
That's how I make shadows using the original image :)

(make sure your image mode is RGB)


Looks like a bump map?

_________________
Image


Top
 Post subject: Re: drop shadow around a selection
PostPosted: Tue Jul 02, 2019 12:14 pm  (#10) 
Offline
GimpChat Member

Joined: Apr 09, 2018
Posts: 1888
Location: France
thank you to all of you
I'm still in RGB mode ... but my screenshots were made with Faststone Capture portable software.

BlightyII: Your shadow is in and gives an impression of hollow but I should have said that I wanted a shadow outside the word.
I was trying to get an intermediate effect between that of Tas_mania, that of rich2005 and that of racer_x, ie dark near the edge and becoming progressively clearer, ie an effect harder than tas_mania but softer than racer-x. :)

_________________
Les parfums, les couleurs et les sons se répondent.Baudelaire (Les fleurs du mal)
2.10.36/(Samj) Gimp 2.10.38 OS Windows 10 Home 64 bits


Top
 Post subject: Re: drop shadow around a selection
PostPosted: Tue Jul 02, 2019 1:24 pm  (#11) 
Offline
GimpChat Member

Joined: Sep 23, 2016
Posts: 317
How about this one?
Look at the layer names to see what I did. It can be varied to suit.


Attachments:
Shadow2.jpg
Shadow2.jpg [ 82.65 KiB | Viewed 5760 times ]
Shadow2.xcf.gz [536.69 KiB]
Downloaded 127 times
Top
 Post subject: Re: drop shadow around a selection
PostPosted: Tue Jul 02, 2019 1:53 pm  (#12) 
Offline
GimpChat Member

Joined: Apr 09, 2018
Posts: 1888
Location: France
Thank you BlightyII, I'll watch! :)

_________________
Les parfums, les couleurs et les sons se répondent.Baudelaire (Les fleurs du mal)
2.10.36/(Samj) Gimp 2.10.38 OS Windows 10 Home 64 bits


Top
 Post subject: Re: drop shadow around a selection
PostPosted: Tue Jul 02, 2019 1:55 pm  (#13) 
Offline
GimpChat Member

Joined: Mar 04, 2011
Posts: 2613
Maybe something like this. Not straight forward when the text shape is a cut-out. Too much blur and lose the edges.

Attachment:
shadow.jpg
shadow.jpg [ 179.33 KiB | Viewed 5757 times ]


2 minute video: https://youtu.be/kPBpjApAnZw


Top
 Post subject: Re: drop shadow around a selection
PostPosted: Tue Jul 02, 2019 2:09 pm  (#14) 
Offline
GimpChat Member

Joined: Apr 09, 2018
Posts: 1888
Location: France
Thanks rich2005,I'll watch! :)

_________________
Les parfums, les couleurs et les sons se répondent.Baudelaire (Les fleurs du mal)
2.10.36/(Samj) Gimp 2.10.38 OS Windows 10 Home 64 bits


Top
 Post subject: Re: drop shadow around a selection
PostPosted: Tue Jul 02, 2019 11:56 pm  (#15) 
Offline
GimpChat Member

Joined: Apr 09, 2018
Posts: 1888
Location: France
:wvy
With Blighyy's method:

Image

With rich2005 method:

Image

With racer-x method:
I have never used layerfx. So I just tried "bevel and emboss" with some random values and it created 2 empty layers (Visible # 2-highlight and Visible # 2-shadow) so I did not keep on going.

So unresolved problem ... :yell

_________________
Les parfums, les couleurs et les sons se répondent.Baudelaire (Les fleurs du mal)
2.10.36/(Samj) Gimp 2.10.38 OS Windows 10 Home 64 bits


Top
 Post subject: Re: drop shadow around a selection
PostPosted: Wed Jul 03, 2019 2:34 pm  (#16) 
Offline
GimpChat Member
User avatar

Joined: Mar 12, 2016
Posts: 198
Location: Illinois, USA
I had to give it a try.
Mine is pretty easy.
I made the text layer and then the text layer to image size.
I used Layer Effects > Bevel and Emboss and used the defaults on the text layer.
When it was done I made the text layer invisible.
Have you tried Filters > Long Shadows ?
Under Composition on the filter you can select Shadow minus image.
It might work for you.
Attachment:
Hello.jpg
Hello.jpg [ 190.47 KiB | Viewed 5715 times ]

Attachment:
Hello.7z [354.35 KiB]
Downloaded 109 times

Attachment:
Long Shadow.JPG
Long Shadow.JPG [ 113.43 KiB | Viewed 5707 times ]

_________________
Image


Top
 Post subject: Re: drop shadow around a selection
PostPosted: Wed Jul 03, 2019 6:48 pm  (#17) 
Offline
GimpChat Member
User avatar

Joined: Dec 09, 2018
Posts: 736
I was going to suggest making more than one shadow each on a separate layer with different amounts of blur and opacity. I used two here:

Image

but I prefer your long shadow tips SeriousTom and rich2005, I hadn't noticed that filter before.

Image


Top
 Post subject: Re: drop shadow around a selection
PostPosted: Thu Jul 04, 2019 1:56 am  (#18) 
Offline
GimpChat Member

Joined: Apr 09, 2018
Posts: 1888
Location: France
SeriousTom :wvy teapot :wvy

Thank you all, I really appreciated your help. :)

TomSerious, thanks for the xcf file and your screenshot because I did not see the option "fading (fixed lengh)Image

Image

one last thing, I do not remember how to give a name to the setting of the long shadow (or other) ...
edit: I found! :)

_________________
Les parfums, les couleurs et les sons se répondent.Baudelaire (Les fleurs du mal)
2.10.36/(Samj) Gimp 2.10.38 OS Windows 10 Home 64 bits


Top
Post new topic Reply to topic  [ 18 posts ] 

All times are UTC - 5 hours [ DST ]



* Login  



Powered by phpBB3 © phpBB Group