It is currently Fri Jul 05, 2024 5:44 am


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 100 posts ]  Go to page Previous  1, 2, 3, 4, 5  Next
Author Message
 Post subject: Re: Results of my "photo to cartoon" plugin
PostPosted: Mon Apr 26, 2021 11:09 am  (#41) 
Offline
Global Moderator
User avatar

Joined: Oct 06, 2010
Posts: 4050
cli345 wrote:
Hello, :)

Thank you racer-x, mahvin, mackenzieh, lula, level_0, Nidhogg for your valuable feedback.
Thank you mahvin for your assistance to users in installing the plug-in and for making it available on gimpscripts.net. :bigthup
Thank you again Nidhogg for your translation. :clap
:tyspin


Thank you for your contribution!

_________________
"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: Thu Apr 29, 2021 7:51 am  (#42) 
Offline
GimpChat Member

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

On some photos, I like when an emboss effect is applied after the "cartoon" effect.

Here is an example:
Attachment:
small_farm_k7862-1_bd_emboss2.jpg
small_farm_k7862-1_bd_emboss2.jpg [ 869.84 KiB | Viewed 4520 times ]

Enjoy!

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


Top
 Post subject: Re: Results of my "photo to cartoon" plugin
PostPosted: Sun May 02, 2021 10:34 am  (#43) 
Offline
GimpChat Member

Joined: Apr 19, 2021
Posts: 121
Location: France
I've made it this way:
  • Open image
  • Convert image : Image -> Precision -> 32 bits integer
  • Duplicate Layer
  • Apply "Comic book" filter
  • Duplicate Layer
  • G'MIC -> Colors -> Curves (Colorspace=Lch) : lower Chroma to 0 everywhere, add a point (32,255) on Lightness
  • Filters -> Blur -> Gaussian blur
  • Filters -> Distorts -> Emboss (Azimuth=135 (or 315), Depth=6)
  • Colors -> Curves : lower the (85%, 85%) point (or (219, 219) point) to (85%, 50%) (resp. to (219, 128))
  • Change layer mode to "grain merge"

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


Top
 Post subject: Re: Results of my "photo to cartoon" plugin
PostPosted: Sun May 02, 2021 11:41 am  (#44) 
Offline
GimpChat Member
User avatar

Joined: Mar 01, 2014
Posts: 12709
Location: Spain, Aragón
Thank you so much cli345 for sharing your steps in the process. :tyspin
I have to try it too. :bigthup
The results are great! :coolthup

_________________
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: Mon May 03, 2021 12:31 am  (#45) 
Offline
GimpChat Member
User avatar

Joined: Mar 01, 2014
Posts: 12709
Location: Spain, Aragón
Thank you so much cli345 for your nice job to get this effect.
My first results.


Attachments:
7_Joteros_cli345_Comic_Book.jpg
7_Joteros_cli345_Comic_Book.jpg [ 129.19 KiB | Viewed 4411 times ]
8_Joteros_cli345_Comic_Book.jpg
8_Joteros_cli345_Comic_Book.jpg [ 129.76 KiB | Viewed 4411 times ]
9_Joteros_cli345_Comic_Book.jpg
9_Joteros_cli345_Comic_Book.jpg [ 133.39 KiB | Viewed 4411 times ]

_________________
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: Mon May 03, 2021 2:11 pm  (#46) 
Offline
GimpChat Member

Joined: May 12, 2015
Posts: 4694
Really nice, Issabella!


Top
 Post subject: Re: Results of my "photo to cartoon" plugin
PostPosted: Tue May 04, 2021 8:50 am  (#47) 
Offline
GimpChat Member
User avatar

Joined: Oct 07, 2010
Posts: 439
Location: home/Nixnine/.gimp-2.0/scripts/nixnine.scm
I am wanting to try this script but I have recently upgraded computers and OS and am trying to get this to work but I am getting the following error. I have installed gmic via synaptic as well as downloading it and placing it in the gimp folder with permission to execute but still cannot get it to work. I have forgotten to do something which I forgot, :) any advice on getting this to work?


Attachments:
Screenshot from 2021-05-04 08-45-02.png
Screenshot from 2021-05-04 08-45-02.png [ 129.9 KiB | Viewed 4332 times ]

_________________
I refuse to be confused, but am often confused at this refusal.
Top
 Post subject: Re: Results of my "photo to cartoon" plugin
PostPosted: Tue May 04, 2021 11:21 am  (#48) 
Offline
GimpChat Member

Joined: Apr 19, 2021
Posts: 121
Location: France
:) Congrats, Issabella, for your artistic results. :clap :coolthup

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


Top
 Post subject: Re: Results of my "photo to cartoon" plugin
PostPosted: Tue May 04, 2021 11:25 am  (#49) 
Offline
GimpChat Member

Joined: Apr 19, 2021
Posts: 121
Location: France
Nixnine, I think you have to install gimp-gmic (not gmic) (It's not the same package).

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


Top
 Post subject: Re: Results of my "photo to cartoon" plugin
PostPosted: Tue May 04, 2021 12:30 pm  (#50) 
Offline
GimpChat Member

Joined: Mar 04, 2011
Posts: 2438
@nixnine
Is this an upgraded ubuntu studio ? Which version (based on ubuntu) 20.04 or a latest 21.something. There is a gimp-gmic package in the 20.04 repo but it is old, gmic_gimp_qt 2.4.5 If installed it should still show up bottom if the filter menu providing you have QT5 installed.

The default Gimp for 20.04 is Gimp 2.10.18 Is that the version you have ? If you have, say, a Gimp 2.10.24 then it is probably a flatpak, since that comes with python support, which you obviously have, but then that needs a flatpak version of gmic_gimp_qt.

All sorts of permutations and combinations. A bit of that extra information would help.

_________________
Image


Top
 Post subject: Re: Results of my "photo to cartoon" plugin
PostPosted: Tue May 04, 2021 12:56 pm  (#51) 
Offline
GimpChat Member

Joined: Mar 06, 2015
Posts: 295
Hi Gimp users
I like "photo to cartoon".
This is an excellent plugin.

Thanks
Doron


Attachments:
cafe-3537801_Crop_ComicBook.jpg
cafe-3537801_Crop_ComicBook.jpg [ 2.12 MiB | Viewed 10022 times ]
cafe-3537801_Crop.jpg
cafe-3537801_Crop.jpg [ 3.88 MiB | Viewed 10022 times ]
Top
 Post subject: Re: Results of my "photo to cartoon" plugin
PostPosted: Tue May 04, 2021 8:12 pm  (#52) 
Offline
GimpChat Member
User avatar

Joined: Oct 07, 2010
Posts: 439
Location: home/Nixnine/.gimp-2.0/scripts/nixnine.scm
rich2005 wrote:
@nixnine
Is this an upgraded ubuntu studio ? Which version (based on ubuntu) 20.04 or a latest 21.something. There is a gimp-gmic package in the 20.04 repo but it is old, gmic_gimp_qt 2.4.5 If installed it should still show up bottom if the filter menu providing you have QT5 installed.

The default Gimp for 20.04 is Gimp 2.10.18 Is that the version you have ? If you have, say, a Gimp 2.10.24 then it is probably a flatpak, since that comes with python support, which you obviously have, but then that needs a flatpak version of gmic_gimp_qt.

All sorts of permutations and combinations. A bit of that extra information would help.


I am now running a fresh install of Mint 20.1

Gimp version is 2.10.24

gimp-gmic 2.4.5-1.1 is installed.

_________________
I refuse to be confused, but am often confused at this refusal.


Top
 Post subject: Re: Results of my "photo to cartoon" plugin
PostPosted: Wed May 05, 2021 1:00 am  (#53) 
Offline
GimpChat Member
User avatar

Joined: May 10, 2013
Posts: 1389
Location: FInland
nixnine wrote:
I am now running a fresh install of Mint 20.1

Gimp version is 2.10.24

gimp-gmic 2.4.5-1.1 is installed.


Mint/Ubuntu 20 uses python 3, Gimp isn't yet python 3 ready.
There's a workaround but I rather use MX Linux, so I won't tell you to install python 2.7 and make it default.


Top
 Post subject: Re: Results of my "photo to cartoon" plugin
PostPosted: Wed May 05, 2021 3:05 am  (#54) 
Offline
GimpChat Member

Joined: Mar 04, 2011
Posts: 2438
nixnine wrote:
I am now running a fresh install of Mint 20.1
Gimp version is 2.10.24
gimp-gmic 2.4.5-1.1 is installed.


Narrows it down a bit. As far as I know the default Gimp is 2.10.18 and 2.10.24 is installed.
Where does 2.10.24 come from ?
(1) It could be the ubuntuhandbook1/gimp PPA but that comes without python2 support and you have a python plugin running. So maybe not that.
(1a) If you have a regular installation and python2 installation, QT 5 might be missing. Often the case with lightweight desktops such as Xfce.
(2) It could be a snap version of Gimp, at the moment no info on that but I will get it.
(3) It could be the flatpak version of Gimp. In a terminal enter flatpak list and see what you get, something or nothing.
If it is a Gimp flatpak then you install the gmic_gimp_qt flatpak version 2-40 for Gimp 2.10.24 Enter the relevant number and follow the directions.

Attachment:
flatpak.jpg
flatpak.jpg [ 178.86 KiB | Viewed 9958 times ]


A little bit more digging from you, but getting there.

_________________
Image


Top
 Post subject: Re: Results of my "photo to cartoon" plugin
PostPosted: Thu May 13, 2021 12:40 pm  (#55) 
Offline
GimpChat Member

Joined: Apr 19, 2021
Posts: 121
Location: France
Thanks Nixnine, Doronf2, Nidhogg and Rich2005 for your very valuable feedback. :tyspin
(I hope Nixnine will come back and tell us more on the problem.)


Note that the result depends on the size of the photo.

If you want rougher lines,
  • Scale down
  • Apply "Comic Book for 2.10"
  • Scale up

If you want thiner lines,
  • Scale up
  • Apply "Comic Book for 2.10"
  • Scale down

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


Top
 Post subject: Re: Results of my "photo to cartoon" plugin
PostPosted: Thu May 13, 2021 2:29 pm  (#56) 
Offline
Global Moderator
User avatar

Joined: Oct 06, 2010
Posts: 4050
You can also brighten or add contrast to your images, depending on your line thicknesses...

_________________
"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: Sat May 22, 2021 12:57 pm  (#57) 
Offline
GimpChat Member

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

Thanks, mahvin!

Here is a "groove" plug-in to make this effect.
(it depends on gegl_command.py)

  • Convert image : Image -> Precision -> 32 bits integer
  • Apply "Comic book" filter
  • Apply "Groove" filter

Enjoy!

(I think I should have put this thread into the Scripts and Plugins section.)


Attachments:
groove.zip [1.2 KiB]
Downloaded 167 times

_________________
Photo to cartoon : https://github.com/cl4cnam/gimp_cartoon_plugin
Top
 Post subject: Re: Results of my "photo to cartoon" plugin
PostPosted: Sat May 22, 2021 2:16 pm  (#58) 
Offline
GimpChat Member

Joined: Mar 04, 2011
Posts: 2438
Linux users need the gegl package from their repo, it is not a Gimp dependency.

Windows users, gegl comes with the samj portable and if you use that there is no problem.
Regular Windows Gimp needs the gegl.exe binary and you can get one here: viewtopic.php?f=9&t=18040&start=20#p256140

Otherwise works fine. example:

Attachment:
gegl.jpg
gegl.jpg [ 168.88 KiB | Viewed 8626 times ]

_________________
Image


Top
 Post subject: Re: Results of my "photo to cartoon" plugin
PostPosted: Sun May 23, 2021 9:25 am  (#59) 
Offline
GimpChat Member

Joined: Apr 19, 2021
Posts: 121
Location: France
:tyspin Thanks, Rich2005 for your explanation! :)

Note: On my PC, it works without having installed the gegl package :o (I've only installed "gegl_command.py")
(I've installed Gimp 2.10 by flatpak on Linux).

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


Top
 Post subject: Re: Results of my "photo to cartoon" plugin
PostPosted: Sun May 23, 2021 11:50 am  (#60) 
Offline
GimpChat Member

Joined: Mar 04, 2011
Posts: 2438
cli345 wrote:
Note: On my PC, it works without having installed the gegl package :o (I've only installed "gegl_command.py") (I've installed Gimp 2.10 by flatpak on Linux).


Apologies, you are correct. Something broken in my Win10 VM installation. Must investigate.

_________________
Image


Top
Post new topic Reply to topic  [ 100 posts ]  Go to page Previous  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