It is currently Tue May 07, 2024 2:25 pm


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 35 posts ]  Go to page Previous  1, 2
Author Message
 Post subject: Re: Photo to simple Pencil drawn
PostPosted: Fri Jun 25, 2021 3:38 am  (#31) 
Offline
GimpChat Member

Joined: Mar 04, 2011
Posts: 2425
I can reproduce that error with the linux appimage.

First, I hope you are using an up-to-date gmic_gimp_qt plugin (for appimage QT5 version) You can get one from https://www.gimp-forum.net/Thread-gmic- ... untu-18-04

After latest compile (18 June), I noticed that the updated, update298.gmic (4,563,169 B) breaks some filters.

Fortunately had a backup of the old file. (4,515,900 B)
Download this https://u.pcloud.link/publink/show?code ... ObzX1Hfxm7
Unzip and replace the file in ~/.config/gmic Still the same number of filters, 568.

If you have gmic set for automatic updates (daily / weekly...) my advice, turn it off. Look in gmic Settings -> Other -> Internet Updates You still have the option to update manually (but do not do it for the moment ;) )

_________________
Image


Top
 Post subject: Re: Photo to simple Pencil drawn
PostPosted: Fri Jun 25, 2021 10:28 pm  (#32) 
Offline
GimpChat Member

Joined: Nov 19, 2019
Posts: 199
Hi @rich2005 Thanks. I have been using the same app image for around 3 months now. Does AppImage and plugins used get auto updated ? Everything was working fine.

Edit : Not my doing. But the update is set as " Weekly "


Top
 Post subject: Re: Photo to simple Pencil drawn
PostPosted: Sat Jun 26, 2021 4:20 am  (#33) 
Offline
GimpChat Member

Joined: Mar 04, 2011
Posts: 2425
See: the previous post #31 You need to replace the current update298.gmic which is causing problems with this one. https://u.pcloud.link/publink/show?code ... ObzX1Hfxm7

_________________
Image


Top
 Post subject: Re: Photo to simple Pencil drawn
PostPosted: Fri Jul 02, 2021 2:58 am  (#34) 
Offline
GimpChat Member
User avatar

Joined: May 24, 2021
Posts: 776
Location: SEA - South East Asia
meetdilip wrote:
But today, I got an error while using the plugin

Quote:
Traceback (most recent call last):
File "/tmp/tmp.Yn1vXJkgGt/gimp/2.0/python/gimpfu.py", line 740, in response
dialog.res = run_script(params)
File "/tmp/tmp.Yn1vXJkgGt/gimp/2.0/python/gimpfu.py", line 361, in run_script
return apply(function, params)
File "/home/myPC/.config/GIMP-AppImage/2.10/plug-ins/bede2.10.py", line 34, in bd
pdb.plug_in_gmic_qt(img, layer, 1, 0, '-fx_curves_interactive 7,0,1,7,0,0,'+pointLum+',100,100,-1,0,0,'+pointSat+',100,100,-1,0,0,100,100,-1,0,0,100,100,-1,')
RuntimeError: cancelled


If possible, please help me solve it.


some python file using G'MIC will need to be updated for G'MIC 2.9.8

https://discuss.pixls.us/t/bug-latest-g ... 7?u=pixlab

From David Tschumperle:
Quote:
That’s because with 2.9.8, the correct filter command is :

fx_curves_interactive 7,0,1,7,"0,0,40,60,100,100,-1,0,0,30,70,100,100,-1,0,0,100,100,-1,0,0,100,100,-1,-1,0,0,100,100"

(note the double quotes).


also from grosgood in the same thread

Quote:
-fx_curves_interactive changed such that the two numeric parameters before the final double-quoted parameter should be removed.


which mean that Line 35 should be changed there https://github.com/cl4cnam/gimp_cartoon ... ede2.10.py to reflect the G'MIC changes

_________________
Patrice


Top
 Post subject: Re: Photo to simple Pencil drawn
PostPosted: Fri Jul 02, 2021 4:07 am  (#35) 
Offline
GimpChat Member

Joined: Mar 04, 2011
Posts: 2425
Current stable gmic_gimp_qt 2.9.7 users should not worry it is a pre-release 2.9.8 issue.

That fixes it for the pre-release gmic_gimp_qt 2.9.8 because of the nested quotes you need a mix of single and double.

   pdb.plug_in_gmic_qt(img, layer, 1, 0, "fx_curves_interactive 7,0,1,'7','0,0,'+pointLum+',100,100,-1,0,0,'+pointSat+',100,100,-1,0,0,100,100,-1,0,0,100,100'")


That leading dash as in -fx no longer required. It is a problem using gmic in a gimp plugin, gmic evolves rapidly and what works today might not tomorrow. I would not be all that surprised if gmic version 3.0 arrives soon.

_________________
Image


Top
Post new topic Reply to topic  [ 35 posts ]  Go to page Previous  1, 2

All times are UTC - 5 hours [ DST ]


   Similar Topics   Replies 
No new posts merging two pencil drawings

11

No new posts The Pencil feature does not work...

11

No new posts Attachment(s) Pencil drawing style

1

No new posts Attachment(s) Color or B&W pencil drawing effect

6

No new posts Edit stroke made by pencil tool

3



* Login  



Powered by phpBB3 © phpBB Group