It is currently Tue Apr 16, 2024 6:12 pm


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 100 posts ]  Go to page 1, 2, 3, 4, 5  Next
Author Message
 Post subject: Results of my "photo to cartoon" plugin
PostPosted: Tue Apr 20, 2021 12:32 pm  (#1) 
Offline
GimpChat Member

Joined: Apr 19, 2021
Posts: 121
Location: France
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")
Attachment:
apples_k7252-65.jpg
apples_k7252-65.jpg [ 117.66 KiB | Viewed 19891 times ]

And the result of my plugin (with default parameters):
Attachment:
apples_k7252-65_bd.jpg
apples_k7252-65_bd.jpg [ 481.84 KiB | Viewed 19891 times ]

_________________
Photo to cartoon : https://github.com/cl4cnam/gimp_cartoon_plugin


Last edited by cli345 on Tue Apr 20, 2021 4:27 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: Results of my "photo to cartoon" plugin
PostPosted: Tue Apr 20, 2021 3:51 pm  (#2) 
Offline
GimpChat Member
User avatar

Joined: Nov 04, 2015
Posts: 1331
That looks like it works well. You are going to have to upload it are you not? :)


Top
 Post subject: Re: Results of my "photo to cartoon" plugin
PostPosted: Wed Apr 21, 2021 8:15 am  (#3) 
Offline
Global Moderator
User avatar

Joined: Oct 06, 2010
Posts: 4045
:bigthup If you twist their arm a little more maybe I can get it posted on gimpscripts.net, too.

_________________
"In order to attain the impossible, one must attempt the absurd."
~ Miguel de Cervantes


Top
 Post subject: Re: Results of my "photo to cartoon" plugin
PostPosted: Wed Apr 21, 2021 12:10 pm  (#4) 
Offline
GimpChat Member

Joined: Apr 19, 2021
Posts: 121
Location: France
Hello,

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

And the result of my plugin (with default parameters):
Attachment:
small_farm_k7862-1_bd.jpg
small_farm_k7862-1_bd.jpg [ 858.54 KiB | Viewed 19787 times ]

_________________
Photo to cartoon : https://github.com/cl4cnam/gimp_cartoon_plugin


Top
 Post subject: Re: Results of my "photo to cartoon" plugin
PostPosted: Wed Apr 21, 2021 6:29 pm  (#5) 
Offline
GimpChat Member
User avatar

Joined: Apr 08, 2010
Posts: 5420
Location: Northwest Ohio
Best default results I’ve ever seen!


Top
 Post subject: Re: Results of my "photo to cartoon" plugin
PostPosted: Wed Apr 21, 2021 10:56 pm  (#6) 
Offline
GimpChat Member

Joined: May 12, 2015
Posts: 4694
I agree that they are really very nice!


Top
 Post subject: Re: Results of my "photo to cartoon" plugin
PostPosted: Thu Apr 22, 2021 7:34 am  (#7) 
Offline
GimpChat Member

Joined: Apr 19, 2021
Posts: 121
Location: France
:tyspin Tas_mania, mahvin, 2-ton, Pat625 :)
Thank you very much for your comments.

_________________
Photo to cartoon : https://github.com/cl4cnam/gimp_cartoon_plugin


Top
 Post subject: Re: Results of my "photo to cartoon" plugin
PostPosted: Thu Apr 22, 2021 10:31 am  (#8) 
Offline
GimpChat Member

Joined: Apr 19, 2021
Posts: 121
Location: France
Hello,

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

And the result of my plugin (with default parameters):
Attachment:
Dont_stare...only_sheep_dogs_stare.._(22868960199)_bd.jpg
Dont_stare...only_sheep_dogs_stare.._(22868960199)_bd.jpg [ 697.79 KiB | Viewed 19693 times ]

_________________
Photo to cartoon : https://github.com/cl4cnam/gimp_cartoon_plugin


Top
 Post subject: Re: Results of my "photo to cartoon" plugin
PostPosted: Thu Apr 22, 2021 10:54 am  (#9) 
Offline
GimpChat Member
User avatar

Joined: Mar 01, 2014
Posts: 12638
Location: Spain, Aragón
Congrats cli345 for your plug-in. It works really well. I like the results you have posted. :bigthup

_________________
Image

Gimp 2.10.30(samj) portable _ OS Windows 10 Home_ 64bits
Don’t be afraid to start over. It’s a new chance to rebuild what you want.


Top
 Post subject: Re: Results of my "photo to cartoon" plugin
PostPosted: Thu Apr 22, 2021 2:46 pm  (#10) 
Offline
GimpChat Member

Joined: Apr 19, 2021
Posts: 121
Location: France
Thank you, Issabella. :tyspin :)

_________________
Photo to cartoon : https://github.com/cl4cnam/gimp_cartoon_plugin


Top
 Post subject: Re: Results of my "photo to cartoon" plugin
PostPosted: Thu Apr 22, 2021 4:23 pm  (#11) 
Offline
Global Moderator
User avatar

Joined: Oct 06, 2010
Posts: 4045
I’ll have it up on gimpscripts.net this evening. I’ll be using the images on this post.

_________________
"In order to attain the impossible, one must attempt the absurd."
~ Miguel de Cervantes


Top
 Post subject: Re: Results of my "photo to cartoon" plugin
PostPosted: Fri Apr 23, 2021 4:43 am  (#12) 
Offline
GimpChat Member
User avatar

Joined: Apr 14, 2021
Posts: 488
Location: Belgium
Thanks cl345


Attachments:
bédé1.png
bédé1.png [ 3.72 MiB | Viewed 2677 times ]

_________________
Gimp 2.10.30 - Windows 10 Home 64 bits - Gmic 3.0.2
Top
 Post subject: Re: Results of my "photo to cartoon" plugin
PostPosted: Fri Apr 23, 2021 5:12 am  (#13) 
Offline
GimpChat Member
User avatar

Joined: May 10, 2013
Posts: 1389
Location: FInland
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.


Top
 Post subject: Re: Results of my "photo to cartoon" plugin
PostPosted: Fri Apr 23, 2021 6:26 am  (#14) 
Offline
GimpChat Member

Joined: Mar 04, 2011
Posts: 2418
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.

Attachment:
plugin.jpg
plugin.jpg [ 142.5 KiB | Viewed 2654 times ]

_________________
Image


Top
 Post subject: Re: Results of my "photo to cartoon" plugin
PostPosted: Fri Apr 23, 2021 8:17 am  (#15) 
Offline
GimpChat Member
User avatar

Joined: May 10, 2013
Posts: 1389
Location: FInland
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)

Attachment:
LaPrintemps-bede.jpg
LaPrintemps-bede.jpg [ 550.35 KiB | Viewed 2640 times ]


Top
 Post subject: Re: Results of my "photo to cartoon" plugin
PostPosted: Fri Apr 23, 2021 8:20 am  (#16) 
Offline
Global Moderator
User avatar

Joined: Oct 06, 2010
Posts: 4045
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)

Attachment:
LaPrintemps-bede.jpg


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

Thanks in advance!

_________________
"In order to attain the impossible, one must attempt the absurd."
~ Miguel de Cervantes


Top
 Post subject: Re: Results of my "photo to cartoon" plugin
PostPosted: Fri Apr 23, 2021 8:58 am  (#17) 
Offline
GimpChat Member
User avatar

Joined: May 10, 2013
Posts: 1389
Location: FInland
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)

Attachment:
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


Last edited by Nidhogg on Fri Apr 23, 2021 12:12 pm, edited 1 time in total.

Top
 Post subject: Re: Results of my "photo to cartoon" plugin
PostPosted: Fri Apr 23, 2021 9:07 am  (#18) 
Offline
GimpChat Member

Joined: Apr 19, 2021
Posts: 121
Location: France
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.

_________________
Photo to cartoon : https://github.com/cl4cnam/gimp_cartoon_plugin


Top
 Post subject: Re: Results of my "photo to cartoon" plugin
PostPosted: Fri Apr 23, 2021 9:23 am  (#19) 
Offline
GimpChat Member
User avatar

Joined: May 10, 2013
Posts: 1389
Location: FInland
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.

Attachment:
Bede-CarTOONize-Cartoonizer.jpg
Bede-CarTOONize-Cartoonizer.jpg [ 1.67 MiB | Viewed 2621 times ]


Top
 Post subject: Re: Results of my "photo to cartoon" plugin
PostPosted: Fri Apr 23, 2021 10:20 am  (#20) 
Offline
GimpChat Member

Joined: Apr 19, 2021
Posts: 121
Location: France
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

_________________
Photo to cartoon : https://github.com/cl4cnam/gimp_cartoon_plugin


Top
Post new topic Reply to topic  [ 100 posts ]  Go to page 1, 2, 3, 4, 5  Next

All times are UTC - 5 hours [ DST ]


   Similar Topics   Replies 
No new posts Attachment(s) Turn photo to cartoon manually

6

No new posts Attachment(s) Create Wall Photo Strips plugin

4

No new posts Attachment(s) Create a Shape Cluster Photo Display plugin

5

No new posts Attachment(s) New Fake Paintings (Show of results)

40

No new posts Attachment(s) Neon-Cartoon Abstract.

4



* Login  



Powered by phpBB3 © phpBB Group