Switch to full style
Post all your Gimp artwork and designs here
Post a reply

Results of my "photo to cartoon" plugin

Tue Apr 20, 2021 12:32 pm

Hello,
I enjoy turning photos into cartoon images.
So, I made many experiments with Gimp and G'MIC. I tried the "Cartoon", "CarTOONize", "Toon-inator" Gimp filters. Those ones gave surprising results but I didn't like that many black spots. I tried "Cartoon" G'MIC filter. It gave good results but I would want something nearer from original. And, finally, I tried "Engrave" filter, which gave very amazing results but I didn't want all these lines in each black shadow.
So, I made my own experiments : My challenge was "Don't draw (So, no pencils, no brushes, no selections) ! Just use color adjustments, filters and layers."
Finally, I decided to write my own python plugin that encode my last found method.

Here is an instance of my results:
Firstly, the original image (Photo courtesy of USDA Agricultural Research Service)
(To the question : "Convert to the RGB Working Space", I answered "Convert")
apples_k7252-65.jpg
apples_k7252-65.jpg (117.66 KiB) Viewed 20743 times

And the result of my plugin (with default parameters):
apples_k7252-65_bd.jpg
apples_k7252-65_bd.jpg (481.84 KiB) Viewed 20743 times

Re: Results of my "photo to cartoon" plugin

Tue Apr 20, 2021 3:51 pm

That looks like it works well. You are going to have to upload it are you not? :)

Re: Results of my "photo to cartoon" plugin

Wed Apr 21, 2021 8:15 am

:bigthup If you twist their arm a little more maybe I can get it posted on gimpscripts.net, too.

Re: Results of my "photo to cartoon" plugin

Wed Apr 21, 2021 12:10 pm

Hello,

Here is another instance of my results:
Firstly, the original image (Photo courtesy of USDA Agricultural Research Service)
small_farm_k7862-1.jpg
small_farm_k7862-1.jpg (220.14 KiB) Viewed 20639 times

And the result of my plugin (with default parameters):
small_farm_k7862-1_bd.jpg
small_farm_k7862-1_bd.jpg (858.54 KiB) Viewed 20639 times

Re: Results of my "photo to cartoon" plugin

Wed Apr 21, 2021 6:29 pm

Best default results I’ve ever seen!

Re: Results of my "photo to cartoon" plugin

Wed Apr 21, 2021 10:56 pm

I agree that they are really very nice!

Re: Results of my "photo to cartoon" plugin

Thu Apr 22, 2021 7:34 am

:tyspin Tas_mania, mahvin, 2-ton, Pat625 :)
Thank you very much for your comments.

Re: Results of my "photo to cartoon" plugin

Thu Apr 22, 2021 10:31 am

Hello,

Here is another instance of my results:
Firstly, the original image (from Wikipedia)(public domain)
Dont_stare...only_sheep_dogs_stare.._(22868960199).jpg
Dont_stare...only_sheep_dogs_stare.._(22868960199).jpg (135.01 KiB) Viewed 20545 times

And the result of my plugin (with default parameters):
Dont_stare...only_sheep_dogs_stare.._(22868960199)_bd.jpg
Dont_stare...only_sheep_dogs_stare.._(22868960199)_bd.jpg (697.79 KiB) Viewed 20545 times

Re: Results of my "photo to cartoon" plugin

Thu Apr 22, 2021 10:54 am

Congrats cli345 for your plug-in. It works really well. I like the results you have posted. :bigthup

Re: Results of my "photo to cartoon" plugin

Thu Apr 22, 2021 2:46 pm

Thank you, Issabella. :tyspin :)

Re: Results of my "photo to cartoon" plugin

Thu Apr 22, 2021 4:23 pm

I’ll have it up on gimpscripts.net this evening. I’ll be using the images on this post.

Re: Results of my "photo to cartoon" plugin

Fri Apr 23, 2021 4:43 am

Thanks cl345

Re: Results of my "photo to cartoon" plugin

Fri Apr 23, 2021 5:12 am

Results look great, thanks for sharing.
For some reason I can't find it in the Filters/Artistic menu on my work machine which is Windows10,
but I'm sure it will work on the Linux without any problems.

Re: Results of my "photo to cartoon" plugin

Fri Apr 23, 2021 6:26 am

Nidhogg wrote:Results look great, thanks for sharing.
For some reason I can't find it in the Filters/Artistic menu on my work machine which is Windows10,
but I'm sure it will work on the Linux without any problems.


Maybe not : You might need a different keyboard :) I get this in an English setup.

File "xxx/bede2.10.py", line 4 SyntaxError: Non-ASCII character '\xc3' in file /xxx/bede2.10.py on line 4, but no encoding declared;

Plenty of accented characters in the script. Replaced the characters causing the errors.

plugin.jpg
plugin.jpg (142.5 KiB) Viewed 3546 times

Re: Results of my "photo to cartoon" plugin

Fri Apr 23, 2021 8:17 am

Ah I see, didn't open it in text editor at all. Got it fixed and working, I'm going to have to translate this.
Thanks much Claude, loving it already! (default settings)

LaPrintemps-bede.jpg
LaPrintemps-bede.jpg (550.35 KiB) Viewed 3532 times

Re: Results of my "photo to cartoon" plugin

Fri Apr 23, 2021 8:20 am

Nidhogg wrote:Ah I see, didn't open it in text editor at all. Got it fixed and working, I'm going to have to translate this.
Thanks much Claude, loving it already! (default settings)

LaPrintemps-bede.jpg


Can you provide me with the updated file, so I can replace it on gimpscripts?

Thanks in advance!

Re: Results of my "photo to cartoon" plugin

Fri Apr 23, 2021 8:58 am

mahvin wrote:
Nidhogg wrote:Ah I see, didn't open it in text editor at all. Got it fixed and working, I'm going to have to translate this.
Thanks much Claude, loving it already! (default settings)

LaPrintemps-bede.jpg


Can you provide me with the updated file, so I can replace it on gimpscripts?

Thanks in advance!

edit: translations fixed in post #23
viewtopic.php?f=11&t=19335&start=20#p263472

Re: Results of my "photo to cartoon" plugin

Fri Apr 23, 2021 9:07 am

Hello,

Thank you mahvin :tyspin :)
Thank you lula, pretty card :)
Sorry Nidhogg, I have to fix this bug.
Thank you rich2005 for your workaround :)

I have not adapted for English language yet, sorry. But, Nidhogg, if you have the time to translate it, that would be very kind. :) :) :tyspin
Unfortunately :( , I can't reproduce the problem. Please, Nidhogg, can you just remove the first line of bede.2.10.py (the "new line" character included) and tell me if that fix the bug.

Re: Results of my "photo to cartoon" plugin

Fri Apr 23, 2021 9:23 am

Hi Claude.
The file I attached in my previous post is translated to English, the first line and the 3rd line that was something like #áéó have been also removed.

I made a comparison, and I have to say again Bédé is looking great.

Bede-CarTOONize-Cartoonizer.jpg
Bede-CarTOONize-Cartoonizer.jpg (1.67 MiB) Viewed 3513 times

Re: Results of my "photo to cartoon" plugin

Fri Apr 23, 2021 10:20 am

Thank you Nidhogg. :tyspin

I have read your translation, which is great :bigthup :)
Some notes:
  • "for 2.10" : Oops, I've forgotten to remove that ("pour 2.10") :oops:
  • the stars : that too :oops:
  • anti-parasite : in fact, I used the predefined "plug_in_despeckle", so, maybe, that can be translated "Despeckle"
  • black dots bother you : in fact, that remove specks, so, maybe, that can be translated "black specks" (it removes very very little dots)
  • the rest sounds perfect for me :)
:tyspin
Post a reply