It is currently Sun Jun 30, 2024 5:45 am


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 12 posts ] 
Author Message
 Post subject: G'MIC Watercolor Effect?
PostPosted: Sun Aug 01, 2021 5:35 pm  (#1) 
Offline
New Member

Joined: Jul 30, 2021
Posts: 2
Where is the "Watercolor effect" filter in G'MIC? Came across a tutorial that uses it and would like to experiment. But I can't find the filter itself in the current list of G'MIC 564 filters. Has it been eliminated? If so, any replacements or alternatives? THX!


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: G'MIC Watercolor Effect?
PostPosted: Sun Aug 01, 2021 9:39 pm  (#2) 
Offline
GimpChat Member
User avatar

Joined: Oct 10, 2018
Posts: 181
Location: Charlottesville Virginia
I found two in G'MIC:
Testing> Joan Rake> Artistic> Dreamy Watercolor
Testing> Samj> Isophotes Vers Aquarelle

The actual name of the effect you're looking for may be helpful.


Top
 Post subject: Re: G'MIC Watercolor Effect?
PostPosted: Sun Aug 01, 2021 10:11 pm  (#3) 
Offline
GimpChat Member
User avatar

Joined: May 24, 2021
Posts: 787
Location: SEA - South East Asia
May be you'll like this one, Artistic > Dream smoothing

People who made filters in G'MIC might want to rename them for multiple reasons and they are free to do it.
The first reason which come in my mind is because they added more functionalities to their filter, de-facto the original filter do a lot more than the original naming, thus they rename it ;)

other than trying the 1122 filters to find it back under a new name... (yes 1122 filters > https://gmic.eu/gui_filters , the Testing group (+>550) is not taken in count when you see 569 filters)

EDIT,
to not "lose" a filter in the future, it's a good idea to keep your favorite filters in your "Faves", right click on a filter > add to faves, once in your faves, you can even rename them, right click on the filter in your Faves > rename

_________________
Patrice


Top
 Post subject: Re: G'MIC Watercolor Effect?
PostPosted: Tue Aug 03, 2021 5:47 am  (#4) 
Offline
GimpChat Member

Joined: Mar 04, 2011
Posts: 2435
I am not sure when it was phased out but it is not there now ;) I can get it in a (linux) Gimp 2.8 and a gmic_gimp (gtk) 1.7.5

Lots of sliders, Looks like this:

Attachment:
watercolour.jpg
watercolour.jpg [ 257.22 KiB | Viewed 3807 times ]

_________________
Image


Top
 Post subject: Re: G'MIC Watercolor Effect?
PostPosted: Tue Aug 03, 2021 6:54 am  (#5) 
Offline
GimpChat Member
User avatar

Joined: Apr 15, 2017
Posts: 1826
You can also try Gimp's "Waterpixels" filter.

Attachment:
waterpixels.jpg
waterpixels.jpg [ 329.83 KiB | Viewed 3783 times ]


Top
 Post subject: Re: G'MIC Watercolor Effect?
PostPosted: Tue Aug 03, 2021 11:46 pm  (#6) 
Offline
GimpChat Member
User avatar

Joined: May 24, 2021
Posts: 787
Location: SEA - South East Asia
I just learned that the author commented his script (so it's here, but in comment = don't show up)

what you can do is to create a ".gmic" file or "user.gmic" depending your OS in your home directory and put this code:
#@gmic
#@gui _<b>Artistic</b>
#****************************************
# watercolor
#****************************************

#@gui Watercolor : fx_watercolor, fx_watercolor_preview(1)
#@gui : sep = separator(), note = note("General settings:")
#@gui : Color Intensity = float(1.8,0,4)
#@gui : Light Colors = float(0.1,0,1)
#@gui : Dark Colors = float(1,0,10)
#@gui : sep = separator(), note = note("Line art settings:")
#@gui : Line Art Details = float (80,50,100)
#@gui : Line Art Smoothness = float(0,0,10)
#@gui : Line Art Strength = float(0.5,0,1)
#@gui : Line Art Style = choice("pencil","ink","comic style")
#@gui : Line Art Fade = float(0,0,100)
#@gui : sep = separator(), note = note("Color brushes settings:")
#@gui : Brush Style = choice("modern","classic","abstract","line","smooth")
#@gui : Cyan Brush Size = float(2,0,50)
#@gui : Cyan Stroke Strength = float(0,-5,5)
#@gui : Cyan Edge Distance = float(2,0,10)
#@gui : Cyan Abstraction = float(4,0,10)
#@gui : Magenta Brush Size = float(2,0,50)
#@gui : Magenta Stroke Strength = float(0,-5,5)
#@gui : Magenta Edge Distance = float(3,0,10)
#@gui : Magenta Abstraction = float(3,0,10)
#@gui : Yellow Brush Size = float(2,0,50)
#@gui : Yellow Stroke Strength = float(0,-5,5)
#@gui : Yellow Edge Distance = float(4,0,10)
#@gui : Yellow Abstraction = float(2,0,10)
#@gui : sep = separator(), note = note("Paper and ambience settings:")
#@gui : Paper Color Black = bool(0)
#@gui : Add Paper Texture = bool(0)
#@gui : Invert Colors = bool(0)
#@gui : Ambient Light = float(0,-50,50)
#@gui : sep = separator(), Preview type = choice("Full","Forward horizontal","Forward vertical","Backward horizontal","Backward vertical","Duplicate top","Duplicate left","Duplicate bottom","Duplicate right","Duplicate horizontal","Duplicate vertical","Checkered","Checkered inverse")
#@gui : sep = separator(), note = note("<small>Authors : <i>Tom Keil and Arto Huotari </i>       Latest update: <i>2011/19/02</i>.</small>")
#@gui : note = link("Tutorial download","http://www.slideshare.net/ArtoHuotari/gmig-water-color-filter-tutorial")
#@gui : note = link("Video demonstration here","http://vimeo.com/19713850")
fx_watercolor :
  repeat $! l[$>] split_opacity l[0]
  #secure details:
  if $7==0 +fx_gradient_norm $5,0.5,{99.99-$4},$4,1,0
  elif $7==1 +fx_edges {$5/3.5},{95-$4},0,0
  elif $7==2 +fx_edges {$5/3.5},{95-$4},0,0
  +fx_mix_hsv[0] 1,0,0,1,-1,0,1,0,0,0,2,0
  tk_fx_channel_processing[2] 1,1,0,{$5/10},4,{{$4-50}*2},100,256,0,0,0,2,7,0
  reverse[1,2] fx_compose_multiply[1,2] {0.5+{$6/2}}
  fi fx_frame_round[1] 5,$8,15,0,255,255,255,255,0,0.1,3

  #image preparation:
  fx_smooth_anisotropic[0]
  60,0.16,{{20/50}+0.6},{{20/9}+0.6},2.35,0.8,30,2,0,1,1,0,1
  [0] +negate[0] move[1] 4
  fx_gaussian_blur[2] {{w+h}/100},0,0,1,0,0,0
  fx_compose_dodge[1,2] 1
  fx_mix_lab[0] 1,0,0,$1,0,0,$1,0,0,0,2,0
  reverse[0,1]
  fx_compose_colorburn[0,1] $2

  +luminance[0] reverse[1,2]
  tk_fx_channel_processing[1] 1,1,0,0,4,{$3*5},100,256,0,0,0,2,0,0
  fx_gaussian_blur[1] $3,0,0,1,0,0,0
  tk_fx_channel_processing[1] 1,1,0,0,4,0,99,256,0,1,0,2,0,0
  tk_fx_replace_color[1] 1,0,255,255,255,255,0,0,0,0
  fx_spread[1] {$3*2},{$3*2},0,0
  fx_gaussian_blur[1] {{w+h}/1000},0,0,1,0,0,0
  reverse[0,1] fx_compose_multiply[0,1] 1

  #channel and mask creation:
  split[0] c
  if $9==0 +negate[0] +negate[1] +negate[2]
  elif $9==1 +fill_color[0] 255,255,255 +fill_color[0] 255,255,255
  +fill_color[0] 255,255,255
  elif $9==2 +fill_color[0] 255,255,255 +fill_color[0] 255,255,255
  +fill_color[0] 255,255,255
  elif $9==3 +fx_edges[0] {$10/5},{$13*5},1,0
  +fx_edges[1] {$14/5},{$17*5},1,0 +fx_edges[2] {$18/5},{$21*5},1,0
  elif $9==4 +negate[0] +negate[1] +negate[2] fi

  #channel and mask processing:
  tk_fx_channel_processing[0] 1,{{$11/5}+1},{$11/50},0,0,0,100,256,0,0,0,2,0,0
  if $9!=2
  fx_gaussian_blur[0] $10,0,0,1,0,0,0
  else cubism[0] 300,{$13*5},{$13*36},1,{$10/50} fi
  if $9==0
  tk_fx_channel_processing... 1,{{$11/5}+1},{$11/50},0,0,0,100,256,0,0,0,2,0,0
  cubism... 300,{$13*5},{$13*36},1,{$10/50} fi
  if $9==4
  tk_fx_channel_processing... 1,{{$11/5}+1},{$11/50},0,0,0,100,256,0,0,0,2,0,0
  fx_painting... $13,1.5,2 fi
  fx_frame_fuzzy... {$12*5},{$12*5},{$13*20},{$10/2},0,0,0,255

  tk_fx_channel_processing[1] 1,{{$15/5}+1},{$15/50},0,0,0,100,256,0,0,0,2,0,0
  if $9!=2
  fx_gaussian_blur[1] $14,0,0,1,0,0,0
  else cubism[1] 300,{$17*5},{$17*36},1,{$14/50} fi
  if $9==0
  tk_fx_channel_processing.. 1,{{$15/5}+1},{$15/50},0,0,0,100,256,0,0,0,2,0,0
  cubism.. 300,{$17*5},{$17*36},1,{$14/50} fi
  if $9==4
  tk_fx_channel_processing.. 1,{{$15/5}+1},{$15/50},0,0,0,100,256,0,0,0,2,0,0
  fx_painting.. $17,1.5,2 fi
  fx_frame_fuzzy.. {$16*5},{$16*5},{$17*20},{$14/2},0,0,0,255

  tk_fx_channel_processing[2] 1,{{$19/5}+1},{$19/50},0,0,0,100,256,0,0,0,2,0,0
  if $9!=2
  fx_gaussian_blur[2] $18,0,0,1,0,0,0
  else cubism[2] 300,{$21*5},{$21*36},1,{$18/50} fi
  if $9==0
  tk_fx_channel_processing. 1,{{$19/5}+1},{$19/50},0,0,0,100,256,0,0,0,2,0,0
  cubism. 300,{$21*5},{$21*36},1,{$18/50} fi
  if $9==4
  tk_fx_channel_processing. 1,{{$19/5}+1},{$19/50},0,0,0,100,256,0,0,0,2,0,0
  fx_painting. $21,1.5,2  fi
  fx_frame_fuzzy. {$20*5},{$20*5},{$21*20},{$18/2},0,0,0,255
  to_gray. to_gray.. to_gray... to_rgba[0] to_rgba[1] to_rgba[2]

  #recombine image:
  split[0] c reverse[3,-3] compose_multiply[3,-3] append[0,1,2,3] c
  split[1] c reverse[4,-2] compose_multiply[4,-2] append[1,2,3,4] c
  split[2] c reverse[5,-1] compose_multiply[5,-1] append[2,3,4,5] c
  if $22==0 +fill_color[0] 255,255,255 else +fill_color[0] 0 fi
  reverse[0,-1]  compose_rgba[0,-1]
  if $22==0 +fill_color[1] 255,255,255 else +fill_color[1] 0 fi
  reverse[1,-1] compose_rgba[1,-1]
  if $22==0 +fill_color[2] 255,255,255 else +fill_color[2] 0 fi
  reverse[2,-1] compose_rgba[2,-1]
  to_gray[0] to_gray[1] to_gray[2] append[0,1,2] c
  if $23==1 fx_paper 0,0 fi
  if $24==1 negate[0] fi
  fx_mix_lab 1,$25,0,1,0,0,1,0,0,0,2,0
  reverse[0,1] fx_compose_multiply[0,1] $6
  endl a c endl done

fx_watercolor_preview :
  gui_split_preview "fx_watercolor ${1--2}",$-1

#*****END OF FILTER**********************

At startup, G'MIC automatically includes user's command file $HOME/.gmic (on Unix) or %APPDATA%/user.gmic (on Windows). as per https://gmic.eu/reference/adding_custom ... s.html#top

and um... I won't rewrite thing as it's all there > https://discuss.pixls.us/t/watercolor-effect/26229/3 (thanks to @afre :bigthup )
BTW if you have an alpha channel on your image remove it before launching G'MIC, or this filter will tell you that you have too much channel

_________________
Patrice


Top
 Post subject: Re: G'MIC Watercolor Effect?
PostPosted: Wed Aug 04, 2021 3:09 am  (#7) 
Offline
GimpChat Member
User avatar

Joined: Jan 13, 2011
Posts: 2260
Location: Poland
Hi Patrice.

I really appreciate Your actively seeking a solution for someone else.
For me, only this file location works in Windows:
c:\Users\* Your Name *\AppData\Roaming\gmic\user.gmic
The filename (before .gmic) can be anything you like (e.g.: watercolor.gmic instead of user.gmic).
This method won't work on the portable Windows version of Samj (unless someone is also using the Onkel_Hatti launchpad)


Attachments:
Watercolor in Gmic-2.9.8.jpg
Watercolor in Gmic-2.9.8.jpg [ 104.69 KiB | Viewed 3670 times ]

_________________
Image

Slava
Ukraini!
Top
 Post subject: Re: G'MIC Watercolor Effect?
PostPosted: Wed Aug 04, 2021 5:53 am  (#8) 
Offline
GimpChat Member
User avatar

Joined: May 24, 2021
Posts: 787
Location: SEA - South East Asia
MareroQ wrote:
For me, only this file location works in Windows:
c:\Users\* Your Name *\AppData\Roaming\gmic\user.gmic
The filename (before .gmic) can be anything you like (e.g.: watercolor.gmic instead of user.gmic).
This method won't work on the portable Windows version of Samj (unless someone is also using the Onkel_Hatti launchpad)

Thanks for the update for the Windows' users (I don't have Windows > cannot try the path)

I think for Windows (not sure) the %APPDATA% is a relative path used by programmers, they just forgot to translate it in normal English :hehe , I mean a full static path like you did :bigthup
(they did the same for Unix/Linux with the $HOME, translated it should be /home/yourname/ )

I forgot to specify about Linux (and may be macOS as they are unix) it won't work if we put a name before the extension ".gmic" as it should be a hidden file, which means that all scripts (if we need to add more scripts) will queue down in that file.

_________________
Patrice


Top
 Post subject: Re: G'MIC Watercolor Effect?
PostPosted: Wed Aug 04, 2021 10:00 am  (#9) 
Offline
GimpChat Member
User avatar

Joined: Sep 27, 2016
Posts: 345
Location: Germany, BW
Thanks for updating your info on the name.
Now it almost works for me ( preview doesn't).
I wonder why this file has to be kept in the home dir and clutter it more instead of having it in the dir where all the other GMIC stuff is.
But that's nothing you can change.
:tyspin

_________________
Regards
nelo

(Gimp 2.10 on Linux Mint MATE 20.1)


Top
 Post subject: Re: G'MIC Watercolor Effect?
PostPosted: Wed Aug 04, 2021 5:14 pm  (#10) 
Offline
GimpChat Member
User avatar

Joined: Apr 15, 2017
Posts: 1826
nelo wrote:
Now it almost works for me ( preview doesn't).

The preview will work if you remove the alpha channel of the image prior to running G'mic. It's not a good solution though to have .gmic files in the Home folder.


Top
 Post subject: Re: G'MIC Watercolor Effect?
PostPosted: Thu Aug 05, 2021 1:52 am  (#11) 
Offline
GimpChat Member
User avatar

Joined: Jan 20, 2013
Posts: 14816
Location: roma, italy
For those interested in a Watercolor Effect (not GMIC):
viewtopic.php?f=9&t=19524
post#69

_________________
"Where am I ?"


Top
 Post subject: Re: G'MIC Watercolor Effect?
PostPosted: Thu Aug 05, 2021 3:13 am  (#12) 
Offline
GimpChat Member
User avatar

Joined: Sep 27, 2016
Posts: 345
Location: Germany, BW
racer-x wrote:
The preview will work if you remove the alpha channel of the image prior to running G'mic. It's not a good solution though to have .gmic files in the Home folder.


Thanks racer-x. That did the trick.

_________________
Regards
nelo

(Gimp 2.10 on Linux Mint MATE 20.1)


Top
Post new topic Reply to topic  [ 12 posts ] 

All times are UTC - 5 hours [ DST ]


   Similar Topics   Replies 
No new posts Attachment(s) Outcomes created using filter WATERCOLOR PASTELS 2023

67

No new posts Attachment(s) How to acheive this kind of effect (the holographic effect)

5

No new posts Attachment(s) What is the name of this effect?

17

No new posts LucisArt effect

6

No new posts Attachment(s) Using JVID Effect P

2



* Login  



Powered by phpBB3 © phpBB Group