It is currently Sat Apr 20, 2024 11:30 am


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 33 posts ]  Go to page 1, 2  Next
Author Message
 Post subject: Re: NEW: G'MIC Discussions
PostPosted: Tue Jan 01, 2013 8:10 am  (#11) 
Offline
Script Coder
User avatar

Joined: Nov 06, 2012
Posts: 239
Location: Italy
Well done! :)

_________________
Gino D's GIMP scripts: https://sites.google.com/site/ginodonig/gimp-scripts


Top
 Post subject: Re: NEW: G'MIC Discussions
PostPosted: Tue May 28, 2013 9:18 am  (#12) 
Offline
GimpChat Member
User avatar

Joined: Jan 20, 2013
Posts: 14816
Location: roma, italy
is this topic still alive? no posts after January...
and also: is it the correct one where to post questions on writing g'mic commands?
because, I just would like to begin understanding/writing g'mic lines of codes
should I enter here my questions or look at g'mic specific forum?
thanks...

_________________
"Where am I ?"


Top
 Post subject: Re: NEW: G'MIC Discussions
PostPosted: Tue May 28, 2013 10:59 am  (#13) 
Offline
GimpChat Member

Joined: Sep 24, 2012
Posts: 275
Location: Scotland
This was the post announcing the new "sub forum", you can see all the individual posts here: http://gimpchat.com/viewforum.php?f=28
And yes, G'MIC and this forum are still "alive" :yes

If you plan on writing gmic scripts, take a look on the sourceforge wiki for tutorials: gmic wiki
There is also a goldmine of old posts on the flickr forum (we tend to use it for mostly technical/scripting stuff to keep from cluttering up the gimpchat one), if you need any help just ask and we'll try our best :)


Top
 Post subject: Re: NEW: G'MIC Discussions
PostPosted: Tue May 28, 2013 1:15 pm  (#14) 
Offline
GimpChat Member
User avatar

Joined: Jan 20, 2013
Posts: 14816
Location: roma, italy
Many thanks, GC!
I did already download the GMIC_Reference.pdf (related to the incoming new release) and copied/created the "beginner's commands" (my_first_filter_command, filter_tuto, better_filter), defined also "my_directory" and put everything in the gmic folder under AppData/Roaming.
But as soon as I wanted reproduce under gmic the function I wrote in a script-fu, I went lost.
My goal was enough simple:
- 1 : open an image
- 2 : fade a little bit (50 pixels, more or less) the right side
- 3 : flip the layer
- 4 : combine the two layers in such a way that the faded sectors override each other, so to have a "reflected image" of about the double width of the original image
This was a function I was using since many years in another software, which I liked (and like).
I found under gmic the "linear_gradient", the "compose", the "mirror", the "append_tiles", but I could not find a way to solve point 4.
Also, I was also frustrated not finding in the reference (or in the existing gmic scripts I looked into) some possibilities in the commands that I expected when I was experimenting them (e.g. expand_x: is it true or it's just my poor understanding that it operates always on both side, left and right? or fade_linear: does it operates only on the width of the base image).
In general, what I find difficult was to get answers to questions in my mind: how can I do such and such? Probably I miss a so called User Guide, because Reference Manual are always very language, not objective, oriented.
I now will use all the links you gave to me and will see...
Thanks again

_________________
"Where am I ?"


Top
 Post subject: Re: NEW: G'MIC Discussions
PostPosted: Tue May 28, 2013 4:13 pm  (#15) 
Offline
GimpChat Member

Joined: Sep 24, 2012
Posts: 275
Location: Scotland
Let me just add that g'mic is not easy to get used to! It's intended to be very quick to use once you know it, but that means it's quite nasty to learn. One thing that still catches me out is a lot of commands are used in unexpected ways. Anyway, what you might need to use for that are:

-crop : if you use values outside image coordinates it will also expand (for example -crop[-1] -50,0,{w-1},{h-1} will add 50 pixels to the left), expand_x etc. are mostly used for creating an even border.
-image : you can use it with an opacity mask (for example -image[-1] [-2],0,0,0,0,1,[-3] which means draw image [-2] on top of image [-1] using image [-3] as an opacity mask)

If you can show me an example picture I could probably tell you one way of doing it, but another thing with gmic is there are usually lots of ways of doing the same thing - some may be faster/neater than others!

PS it might be best to start a new forum post for specific script questions since this is still the announcement post, or you could send a private forum message to me :)


Top
 Post subject: Re: NEW: G'MIC Discussions
PostPosted: Wed May 29, 2013 9:56 am  (#16) 
Offline
GimpChat Member
User avatar

Joined: Jan 03, 2011
Posts: 1656
I agree with garagecoder (of course! ;)).
There is a quite complete reference guide, but this is basically a quick overview of each available G'MIC command. It doesn't tell so much about how to use them to perform a particular task.
You are right, a 'user guide' could be a good thing to have. There are some wiki pages that are only waiting to be filled with interesting stuffs, so do not hesitate to do so if you feel you can bring your own vision of the software.


Top
 Post subject: Re: NEW: G'MIC Discussions
PostPosted: Tue Feb 23, 2016 3:49 pm  (#17) 
Offline
GimpChat Member
User avatar

Joined: Feb 23, 2016
Posts: 6
Alright, I am a bit frustrated and I am sure I may be in the wrong thread for this silly Problem. Just recently I found out about this awesome Plug in G'MIC, However I run and like my Gimp version 2.6.11 on my Windows 7 laptop. I don't care for Gimp 2.8 so I was very disappointed when every download suggestion I followed made me end up with G'MIC for gimp 2.8 gaaaaah. So after a long and argues search I finally found the correct download and yes I got G'MIC. So here is the new Problem, I can not get it to update. The Recommended Manuel Update is not working either since something May have been changed I know this may be a long shot, But is there any link that anyone can provide that gives me the Updates for G"MIC. Sadly I got version 1.0.3.2. That is the only one I was able to find anywhere. Even one of the Forum discussions that show how to Install it for Gimp 2.6.11 provides links that have long since been updated and redirect to the official G'MIC download site. What I love about gimp is that if I don't like a version I can go to the file archive and download which version I prefer. G'MIC does not seem to have that option. So long story short, Does anyone have any Idea how I can manually update my Filters for Gimp 2.6.11? or am I am forced to upgrade to have the ability to update my G'Mic Filters. I don't need every available filter but more than the basic what 25 would be nice.

Thank you for your help in advance.


Top
 Post subject: Re: NEW: G'MIC Discussions
PostPosted: Tue Feb 23, 2016 4:10 pm  (#18) 
Offline
GimpChat Member
User avatar

Joined: Sep 24, 2010
Posts: 12516
G'MIC updates really only support the latest versions of G'MIC, Nini. Not sure you can get any more updates for the older versions of G'MIC that actually still support GIMP 2.6x. :)

_________________
Lyle

Psalm 109:8

Image


Top
 Post subject: Re: NEW: G'MIC Discussions
PostPosted: Tue Feb 23, 2016 4:29 pm  (#19) 
Offline
GimpChat Member
User avatar

Joined: Feb 23, 2016
Posts: 6
:( Sad panda, not want I wanted to hear, but I figured that would be the answer. I was hoping there was still a way for a Manuel filter update. thanks though :bigthup for the fast reply.


Top
 Post subject: Re: NEW: G'MIC Discussions
PostPosted: Tue Feb 23, 2016 4:38 pm  (#20) 
Offline
GimpChat Member
User avatar

Joined: Sep 24, 2010
Posts: 12516
Just curious; have you tried to add the zipped file (don't use the installer) to GIMP 2.6x to see if that version works with GIMP 2.6x? More than likely it may not, but G'MIC for GIMP is quite self contained (presets are excecuted by the plugin itself) and uses GIMP for previews and to pass results back into GIMP. Try unzipping (assuming you are using 32-bit GIMP 2.6x) the file below (create a separate directly and link the plugin by adding in via the settings dialog withing GIMP). :)

http://gmic.eu/files/windows/gmic_gimp_win32.zip

_________________
Lyle

Psalm 109:8

Image


Top
 Post subject: Re: NEW: G'MIC Discussions
PostPosted: Mon Oct 05, 2020 1:12 am  (#21) 
Offline
GimpChat Member
User avatar

Joined: Jan 20, 2013
Posts: 14816
Location: roma, italy
Playing today for the first time with G'mic SKIN MASK by Iain Fergusson.
I've found it very interesting, because parametric on colours to adapt it to the source image.
Any plan to improve it further?
Or to add parameters on colours in "Detect Skin" by David?

_________________
"Where am I ?"


Top
 Post subject: Re: NEW: G'MIC Discussions
PostPosted: Mon Jan 04, 2021 3:34 am  (#22) 
Offline
GimpChat Member
User avatar

Joined: Jan 20, 2013
Posts: 14816
Location: roma, italy
Tried to use today Peiodic Dots, using defaults.
Got this error:

Attachment:
PeriodicDot_error(using defaults).PNG
PeriodicDot_error(using defaults).PNG [ 54.93 KiB | Viewed 3540 times ]


G'MIC 2.9.4 on Gimp 2.10.23 Samj

edit: it happens also on G'MIC 2.9.5pre december

_________________
"Where am I ?"


Top
 Post subject: Re: NEW: G'MIC Discussions
PostPosted: Sat May 27, 2023 11:50 am  (#23) 
Offline
GimpChat Member
User avatar

Joined: Jan 20, 2013
Posts: 14816
Location: roma, italy
Possible GMIC filter error in Artistic/hough sketch?

I encountered this problem, while doing some tests:

case A:
1.open an image
2.apply GMIC/Artistic/Hough Sketch (I use output on new active layer)
3.result OK. evident sketching lines on the image

case B:
1.open an image
2.add a frame using GMIC/Frames (blur)
3.result OK, image framed
4.apply GMIC/Artistic/Hough Sketch (I use output on new active layer)
5.result not OK. an almost totally white layer

It seems that Hough Sketch does not work properly on a frames image.

Can someone verify?

My environment:
- Winfows 10 up to date (my hardware does not support Windows 11)
- GIMP 2.10.32 (samj's pack)
- GMIC 3.2.4

Original image:
Attachment:
avatar-3a679aa338624c8f23b7df7001799a29.jpg
avatar-3a679aa338624c8f23b7df7001799a29.jpg [ 690 KiB | Viewed 950 times ]

Output case A:
Attachment:
avatar-3a679aa338624c8f23b7df7001799a29_unframed_houghsketch.jpg
avatar-3a679aa338624c8f23b7df7001799a29_unframed_houghsketch.jpg [ 1.65 MiB | Viewed 950 times ]

Output case B:
Attachment:
avatar-3a679aa338624c8f23b7df7001799a29_framed-blur_houghsketch.jpg
avatar-3a679aa338624c8f23b7df7001799a29_framed-blur_houghsketch.jpg [ 47.7 KiB | Viewed 950 times ]

_________________
"Where am I ?"


Top
 Post subject: Re: NEW: G'MIC Discussions
PostPosted: Sat May 27, 2023 12:34 pm  (#24) 
Offline
GimpChat Member
User avatar

Joined: Sep 27, 2016
Posts: 345
Location: Germany, BW
I can confirm this on:
Linux Mint 20.1
GIMP 2.10.34 PPA
GMIC 3.2.2

Thought it's a matter of alpha channel for that layer, but it does not make a difference if the layer has one or not.

_________________
Regards
nelo

(Gimp 2.10 on Linux Mint MATE 20.1)


Top
 Post subject: Re: NEW: G'MIC Discussions
PostPosted: Sat May 27, 2023 12:52 pm  (#25) 
Offline
GimpChat Member

Joined: Mar 04, 2011
Posts: 2419
Yep, I can reproduce that as well - kubuntu 20.04 / Gimp 2.10.34 / gmic 3.2.4

A couple of tests. Not alpha. not precision, not multiple layers.

It is the border, isolate with a selection inside the border and Hough Sketch works (although it leaves transparency as a border)

Attachment:
gmic.jpg
gmic.jpg [ 124.33 KiB | Viewed 938 times ]

_________________
Image


Top
 Post subject: Re: NEW: G'MIC Discussions
PostPosted: Sat May 27, 2023 1:15 pm  (#26) 
Offline
GimpChat Member
User avatar

Joined: Jan 20, 2013
Posts: 14816
Location: roma, italy
Yes, Rich, same solution I did find.
But, isn't it an error? Either in the Frame filter or in the Hough Sketch?

_________________
"Where am I ?"


Top
 Post subject: Re: NEW: G'MIC Discussions
PostPosted: Sat May 27, 2023 1:42 pm  (#27) 
Offline
GimpChat Member

Joined: Mar 04, 2011
Posts: 2419
dinasset wrote:
But, isn't it an error? Either in the Frame filter or in the Hough Sketch?


I would think it is an error. Best place to get Davids attention is https://discuss.pixls.us/tag/gmic

_________________
Image


Top
 Post subject: Re: NEW: G'MIC Discussions
PostPosted: Sun May 28, 2023 3:54 am  (#28) 
Offline
GimpChat Member
User avatar

Joined: Mar 15, 2014
Posts: 115
Location: Brooklyn, NY
Ditto here.
gosgood@lydia ~ $ gmic -input Downloads/does_not_exist_01.jpg \
+fx_frame_blur. 30,30,0,5,0,0,128,128,128,0,5,255,255,255,2,2,1,0,0.5,0.5,0 \
+fx_houghsketchbw. 5,30,10,50,0.1,4,0,50,50

Image
hough, upon whichfx_houghsketchbw is based, embodies a voting scheme. hough's orthodox use is to find alignments within images. The strange looking exemplar on the right hand end of the example in the technical reference encodes a voting tally where line segments of particular orientations and positions gain prominence and appear lighter in the voting tally. fx_houghsketchbw scans this tally and plots the line segments that garner the greater balances in the tabulation.
On the one hand, I am inclined to think that the frame so dominates this tally that it swamps other candidates, but on the other, I think the 'vote' shouldn't be that one-sided. `Tis early Sunday morning here on the eastern seaboard of North America. Dawn is breaking. There is time for extra coffee on days such as this and contemplation of things G'MIC. I happen to be preoccupied with Hough-like ruminations at present. Let us add this one to the pile.


Top
 Post subject: Re: NEW: G'MIC Discussions
PostPosted: Fri Jun 02, 2023 3:24 am  (#29) 
Offline
New Member

Joined: Jun 02, 2023
Posts: 3
MareroQ wrote:
I am very pleased that the GMIC - the most important addition to the GIMP - has its own forum.
Thank you, that it is done.


I also do agree with you. We also need this kind of forum for proper interaction!


Top
 Post subject: Re: NEW: G'MIC Discussions
PostPosted: Tue Nov 28, 2023 10:32 pm  (#30) 
Offline
GimpChat Member
User avatar

Joined: Oct 31, 2020
Posts: 1392
For Linux users only GEGL in Gimp will soon be able to call GMIC strings using the version of GMIC installed on the user's system using this plugin.

viewtopic.php?f=9&t=20652

This will be automatable using GEGL Graph syntax to chain GEGL and GMIC filters together and in theory I can make GEGL plugins that depend on Linux and the system's GMIC to work.


Top
Post new topic Reply to topic  [ 33 posts ]  Go to page 1, 2  Next

All times are UTC - 5 hours [ DST ]



* Login  



Powered by phpBB3 © phpBB Group