It is currently Sat Sep 26, 2026 5:00 pm


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 17 posts ] 
Author Message
 Post subject: Coffee Stain filter not working [Solved]
PostPosted: Wed Nov 21, 2018 11:54 pm  (#1) 
Offline
Global Moderator
User avatar

Joined: Apr 01, 2012
Posts: 8471
Location: On the other side of your screen
GIMP Version: 2.10.6 par
Operating System: Windows
OS Version: 10 home 64 bit
GIMP Experience: New User

List any relevant plug-ins or scripts:
coffee stain filter

List any ERROR messages you received:
Just stops. Not completing



My 'coffee stain' isn't working. Was wondering if there was anything like it in GMIC or if someone can tell me how I can create the same effect?
Tried this on a small canvas. I tried to do 6 splotches but it stopped after doing one. I cancelled out and tried again and it wouldn't do anything then.
Just had the idea today that it might make for a good addition to a background.
EDIT: I just tried on a new canvas. Started but didn't complete

EDIT again: After further looking, I think 'shadow patch' in GMIC does similar. Not the same, but I did this with it
Image

_________________
Image
Free Fun Photo Editing & resources
Poems from the Lord
Gimp Newby
Gimp version 3.2.4 and GMIC-Qt 4.0.2 OS :- Windows 10 Home 64


Last edited by sallyanne on Sat Nov 24, 2018 11:57 pm, 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: Coffee Stain filter not working
PostPosted: Thu Nov 22, 2018 10:06 am  (#2) 
Offline
GimpChat Member
User avatar

Joined: Sep 27, 2016
Posts: 345
Location: Germany, BW
Mine here seems to finish, but the result looks a bit 'weird'.
Attachment:
GIMP-2.10 -[Unbenannt]-2.0 (RGB-Farben 8-Bit-Gamma-Ganzzahl, GIMP built-in sRGB, 7 Ebenen) 600x450 – GIMP (als Systemverwalter)_007.jpg


Going to investigate what it's doing wrong.

_________________
Regards
nelo

(Gimp 2.10 on Linux Mint MATE 20.1)


Top
 Post subject: Re: Coffee Stain filter not working
PostPosted: Thu Nov 22, 2018 1:47 pm  (#3) 
Mine does the same as you nelo. When it it finished, I get this visible brown layers in between. Weird! :shock:


Top
 Post subject: Re: Coffee Stain filter not working
PostPosted: Fri Nov 23, 2018 6:31 am  (#4) 
Offline
Global Moderator
User avatar

Joined: Apr 01, 2012
Posts: 8471
Location: On the other side of your screen
Sooooo. Is it broken in 2:10 or what?

_________________
Image
Free Fun Photo Editing & resources
Poems from the Lord
Gimp Newby
Gimp version 3.2.4 and GMIC-Qt 4.0.2 OS :- Windows 10 Home 64


Top
 Post subject: Re: Coffee Stain filter not working
PostPosted: Fri Nov 23, 2018 7:15 am  (#5) 
Offline
GimpChat Member
User avatar

Joined: Jul 06, 2013
Posts: 2663
Location: California
I get the same thing in gimp 2.10.8. The version I downloaded was from gimp.org.


Top
 Post subject: Re: Coffee Stain filter not working
PostPosted: Fri Nov 23, 2018 7:49 am  (#6) 
Offline
GimpChat Member

Joined: Mar 04, 2011
Posts: 2615
It is similar to that vignette script. One of the functions (I think distress-selection) calls threshold-alpha. In Gimp 2.8 that was open ended but in Gimp 2.10 it has a maximum value (255) that gets exceeded.

Personally I think it is a hopeless case. Tweaked a few values but you still might get a big solid square, well - it is on its own layer, so delete it.

Attached to go in your C:\Users\your-name\AppData\Roaming\GIMP\2.10\scripts folder and now registers in the Tools menu so it does not clash with the original coffee.scm Remember to unzip it ;)

A thought to consider, make a few of these splodges and create an animated brush. Then paint with a dynamic.


Attachments:
coffee.scm.zip [1.37 KiB]
Downloaded 149 times


Last edited by rich2005 on Fri Nov 23, 2018 3:32 pm, edited 1 time in total.
Top
 Post subject: Re: Coffee Stain filter not working
PostPosted: Fri Nov 23, 2018 10:12 am  (#7) 
Offline
Global Moderator
User avatar

Joined: Apr 01, 2012
Posts: 8471
Location: On the other side of your screen
Thanks for the script rich.
I may download that when I have finished downloading gimp 2.10.8 again (did it twice already and both times The download did not complete) May stick to portable as I already have one on a stick, if it doesn't work this time.
My whole reason for downloading 2.10.8 was to see if it worked in that version and I see mackenzieh already answered that it doesn't :(

_________________
Image
Free Fun Photo Editing & resources
Poems from the Lord
Gimp Newby
Gimp version 3.2.4 and GMIC-Qt 4.0.2 OS :- Windows 10 Home 64


Top
 Post subject: Re: Coffee Stain filter not working
PostPosted: Sat Nov 24, 2018 10:41 pm  (#8) 
Offline
Global Moderator
User avatar

Joined: Apr 01, 2012
Posts: 8471
Location: On the other side of your screen
Just installed and tried it out in 2.10.8. Completes but not fully. Is not doing all the stains, so no joy there. May have to see if I can make a coffee stain brush. Have never made animated brushes. a single will do. It can be distorted to make look different if I need more than one.
Thanks again for going to the effort of doing the script :)

EDIT: Aha, I think I've worked it out.They both work if the 'darken only' is unchecked/NOT checked. :yes

I made a brush out of one splotch and found you don't need an animated one 'I' think. Confetti dynamic does it for you. - They are the 'oval' shape ones. I did a couple of different sizes in different angles and also a path stroked with a brush
Image

_________________
Image
Free Fun Photo Editing & resources
Poems from the Lord
Gimp Newby
Gimp version 3.2.4 and GMIC-Qt 4.0.2 OS :- Windows 10 Home 64


Last edited by sallyanne on Sun Nov 25, 2018 9:51 am, edited 1 time in total.

Top
 Post subject: Re: Coffee Stain filter not working [Solved]
PostPosted: Sun Nov 25, 2018 4:31 am  (#9) 
Offline
GimpChat Member
User avatar

Joined: Sep 27, 2016
Posts: 345
Location: Germany, BW
I've watched that script working. Many times.
Looks that the distress isn't working when the selection is too small.
Couldn't quite make it to find out how big it must be to work. I guess something between 20px to 25 px. Then ... if the selection is that small and the distress is very big ... it's not good either.
And then of course as Rich already mentioned there are maximum values, which weren't there in GIMP 2.8.

Tried to tweak the script and it 'mostly' works. Can do 10 runs with 10 stains ... and it works well, but can as well happen there are one or two layers that are not ok.
I can attach mine ... no guarantee it is fully ok.
Doesn't interfere with other versions, shows as 'Coffee Stain 210...' in Filters>Decor

_________________
Regards
nelo

(Gimp 2.10 on Linux Mint MATE 20.1)


Top
 Post subject: Re: Coffee Stain filter not working [Solved]
PostPosted: Sun Nov 25, 2018 4:50 am  (#10) 
Offline
GimpChat Member
User avatar

Joined: Apr 15, 2017
Posts: 1837
The original coffee stain filter works fine if you add a temporary white layer over your image before you apply the filter. Then delete that white layer when finished. Somehow the colors in the image effect the script operation. Perhaps a script writer can edit the script to automate this?


Top
 Post subject: Re: Coffee Stain filter not working [Solved]
PostPosted: Sun Nov 25, 2018 5:52 am  (#11) 
Offline
GimpChat Member
User avatar

Joined: Sep 27, 2016
Posts: 345
Location: Germany, BW
Doesn't help here ...

_________________
Regards
nelo

(Gimp 2.10 on Linux Mint MATE 20.1)


Top
 Post subject: Re: Coffee Stain filter not working [Solved]
PostPosted: Sun Nov 25, 2018 7:02 am  (#12) 
Offline
GimpChat Member

Joined: Mar 04, 2011
Posts: 2615
sallyanne wrote

Quote:
May have to see if I can make a coffee stain brush. Have never made animated brushes


...I am shocked. (well not really ;) )

A single brush and a dynamic is as good as anything but for the sake of completeness a demo of making a coffee stain animated brush.

www.youtube.com Video from : www.youtube.com



A long one for me, 5 minutes. Direct link https://youtu.be/qMIyrD1yTac


Top
 Post subject: Re: Coffee Stain filter not working [Solved]
PostPosted: Sun Nov 25, 2018 9:43 am  (#13) 
Offline
Global Moderator
User avatar

Joined: Apr 01, 2012
Posts: 8471
Location: On the other side of your screen
Could be that I have never really had a use for them. Not into animations much either. Once they were all the rage but now I just couldn't be bothered. I like looking at what other people can do still.
Nice video/tutorial. :)

_________________
Image
Free Fun Photo Editing & resources
Poems from the Lord
Gimp Newby
Gimp version 3.2.4 and GMIC-Qt 4.0.2 OS :- Windows 10 Home 64


Top
 Post subject: Re: Coffee Stain filter not working [Solved]
PostPosted: Sun Nov 25, 2018 4:58 pm  (#14) 
Offline
GimpChat Member
User avatar

Joined: Apr 15, 2017
Posts: 1837
Thanks rich2005, I now know how to properly make brushes for Gimp. I may make some that I find interesting in the near future.


Top
 Post subject: Re: Coffee Stain filter not working [Solved]
PostPosted: Mon Mar 18, 2019 4:09 am  (#15) 
Offline
GimpChat Member
User avatar

Joined: Jul 06, 2013
Posts: 2663
Location: California
The coffee stain script under tools gives me an error.


Attachments:
Screenshot (34).png
Screenshot (34).png [ 260.88 KiB | Viewed 3237 times ]
Top
 Post subject: Re: Coffee Stain filter not working [Solved]
PostPosted: Mon Mar 18, 2019 4:23 am  (#16) 
Offline
GimpChat Member
User avatar

Joined: Jul 06, 2013
Posts: 2663
Location: California
nelo wrote:
I've watched that script working. Many times.
Looks that the distress isn't working when the selection is too small.
Couldn't quite make it to find out how big it must be to work. I guess something between 20px to 25 px. Then ... if the selection is that small and the distress is very big ... it's not good either.
And then of course as Rich already mentioned there are maximum values, which weren't there in GIMP 2.8.

Tried to tweak the script and it 'mostly' works. Can do 10 runs with 10 stains ... and it works well, but can as well happen there are one or two layers that are not ok.
I can attach mine ... no guarantee it is fully ok.
Doesn't interfere with other versions, shows as 'Coffee Stain 210...' in Filters>Decor


This script works. Thanks, nelo. :)


Top
 Post subject: Re: Coffee Stain filter not working [Solved]
PostPosted: Mon Mar 18, 2019 5:28 am  (#17) 
Offline
GimpChat Member
User avatar

Joined: Sep 27, 2016
Posts: 345
Location: Germany, BW
Thanks for your feedback.

_________________
Regards
nelo

(Gimp 2.10 on Linux Mint MATE 20.1)


Top
Post new topic Reply to topic  [ 17 posts ] 

All times are UTC - 5 hours [ DST ]



* Login  



Powered by phpBB3 © phpBB Group