If you have Gimp 2.8 + G'MIC 1.7.9, you can install this version of the G'MIC plug-in:
#@gimp ____<b>Artistic</b>
#------------------
#@gimp Comic Book: comicprev, comicprev_preview(0)
#@gimp : note = note("<b>Note</b>: Photo to cartoon")
#@gimp : sep = separator()
#@gimp : note = note(" ")
#@gimp : Simplification = choice(0, "None", "Light", "Light Antialias", "Strong Antialias", "Median", "Iuwt", "Thin Brush")
#@gimp : sep = separator()
#@gimp : note = note("<b>For edges:</b>")
#@gimp : Flattening for Edge (bilateral) = int(2,0,5)
#@gimp : Edge Method = choice(0, "Diff. of Gauss.", "Diff. of BoxBlur", "Diff. of Median")
#@gimp : Edge Desaturation Method = choice(1, "Lightness", "MaxRGB", "MinRGB")
#@gimp : Line Thickness = float(1,0.5,2)
#@gimp : Line Strength = float(15,0,19)
#@gimp : sep = separator()
#@gimp : Add Colors = bool(1)
#@gimp : note = note("<b>For colors:</b>")
#@gimp : Luminosity Increase = int(10,0,50)
#@gimp : Saturation Increase = int(20,0,50)
#@gimp : Final Flattening (bilateral) = int(6,0,10)
#@gimp : Lines Antialias = int(15,0,100)
#@gimp : Colors to Black or White = bool(0)
#@gimp : sep = separator()
#@gimp : Preview type = choice("Full","Forward horizontal","Forward vertical","Backward horizontal","Backward vertical","Duplicate top","Duplicate left","Duplicate bottom","Duplicate right")
#@gimp : sep = separator()
#@gimp : url = link("Filter discussed here","http://gimpchat.com/viewtopic.php?f=11&t=19335&p=266517#p266512")
#@gimp : note = note("<small>Author: <i>Claude Lion</i>. Latest Update: <i>2021/08/07</i>.</small>")
comicprev :
-repeat $! -l[$>]
simplif=$1
nbBilatBord=$2
methBord=$3
methDesat=$4
lineThick=$5
forceTrait=$6
addColors=$7
augmLum=$8
augmSat=$9
nbBilatFin=$10
antialias=$11
bw=$12
-if {$simplif==2}
-gimp_smooth_antialias. 100,0,2.5,0,50,50
-elif {$simplif==3}
-gimp_smooth_antialias. 100,0,5,0,50,50
-elif {$simplif==4}
-gimp_smooth_median. 3,255,0,0,50,50
-elif {$simplif==5}
-jeje_denoise_iuwt. 3,4,2,0
-jeje_denoise_iuwt. 3,4,2,0
-elif {$simplif==6}
-gimp_smooth_anisotropic. 60,0.9,0.64,3.1,1.1,0.8,30,2,0,1,1,0,0,24
-endif
curv="0,0,"{50-$augmLum}","{50+$augmLum}",100,100,-1,0,0,"{50-$augmSat}","{50+$augmSat}",100,100,-1,0,0,100,100,-1,0,0,100,100,-1"
--gimp_curves_interactive. 7,0,1,"7",$curv
-gimp_smooth_nlmeans.. 4,4,10,5,0,0,24,0
-gimp_smooth_bilateral.. 10,7,$nbBilatBord,0,0
--cut.. 0,255
-reverse[-2,-1]
-if {$methBord==0}
-blur[-3] {$lineThick}
-elif {$methBord==1}
-boxfilter[-3] xy,{$lineThick+0.01}
-elif {$methBord==2}
-median[-3] {($lineThick+0.01)*2}
-endif
-sub[-3,-2]
-if {$methDesat==0}
-fill.. "m = min(R,G,B); M = max(R,G,B); L = 0.5*(m + M); [L, L, L]"
-elif {$methDesat==1}
-fill.. "M = max(R,G,B); [M, M, M]"
-elif {$methDesat==2}
-fill.. "M = min(R,G,B); [M, M, M]"
-endif
-cut.. 0,255 -n.. 0,255
-negate..
-threshold.. {$forceTrait+80}%
-n.. 0,255
-if {$simplif>0}
-gimp_smooth_antialias.. 100,0,2.5,0,50,50
-gimp_curves_interactive.. 7,0,1,"7","0,0,69,0,70,100,100,100,-1,0,0,100,0,-1,0,0,100,100,-1,0,0,100,100,-1"
-endif
-gimp_smooth_antialias.. $antialias,0,1,0,50,50
-if $addColors
-mul[-2,-1]
-n. 0,255
-gimp_smooth_bilateral. 10,7,$nbBilatFin,0,0
-if $bw
-gimp_curves_interactive 7,0,1,"7","0,0,16,100,100,100,-1,0,0,100,0,-1,0,0,100,100,-1,0,0,100,100,-1"
-endif
-else
-remove[-1]
-endif
-endl -done
comicprev_preview :
-gimp_split_preview "-comicprev $*",$-1