It is currently Tue Aug 18, 2026 8:38 am


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 20 posts ] 
Author Message
 Post subject: G'MIC 1.6.5.0 Released
PostPosted: Tue Jun 23, 2015 4:25 am  (#1) 
Offline
GimpChat Member
User avatar

Joined: Jan 03, 2011
Posts: 1656
Hello there,
Just a word, to say that the final 1.6.5.0 version of G'MIC has been released!
You will find the Changelog here : https://www.flickr.com/groups/gmic/disc ... 545546138/

There are some new language syntax that break the compatibility of the new G'MIC scripts with the older versions,
which means that filter updates won't be maintained for older versions.

So, you are cordially invited to upgrade your G'MIC version if possible :)

Cheers,

David.


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: G'MIC 1.6.5.0 Released
PostPosted: Tue Jun 23, 2015 8:16 am  (#2) 
Offline
GimpChat Member
User avatar

Joined: Sep 24, 2010
Posts: 12832
Thanks for the head's up David. No time to test, but for the alpha, all was well, so I'm sure this one's definitely so. :)

_________________
Lyle

Psalm 109:8

Image


Top
 Post subject: Re: G'MIC 1.6.5.0 Released
PostPosted: Tue Jun 23, 2015 12:41 pm  (#3) 
Offline
GimpChat Member
User avatar

Joined: Jan 20, 2013
Posts: 14831
Location: roma, italy
please, David, can you list the syntax changes in addition to the one already mentioned in a previous thread by Garagecoder, that is:
- replace all occurrences of "repeat @#" with "repeat $!"
just performing this single change does not prevent some of my filters to crash
thanks

_________________
"Where am I ?"


Top
 Post subject: Re: G'MIC 1.6.5.0 Released
PostPosted: Tue Jun 23, 2015 1:27 pm  (#4) 
Offline
GimpChat Member

Joined: Sep 24, 2012
Posts: 275
Location: Scotland
dinasset wrote:
please, David, can you list the syntax changes in addition to the one already mentioned in a previous thread by Garagecoder, that is:
- replace all occurrences of "repeat @#" with "repeat $!"
just performing this single change does not prevent some of my filters to crash
thanks


Actually what I said was:

garagecoder wrote:
The most apparent changes are to do with the "@" symbol, for example:
@# is now $!
@{indice,feature} is now just {indice,feature}
@{} is now ${}


It's not enough to simply replace the repeat statements, you need to update all uses of the "@" symbol. A full list of old to new would be handy though :yup


Top
 Post subject: Re: G'MIC 1.6.5.0 Released
PostPosted: Tue Jun 23, 2015 1:36 pm  (#5) 
Offline
GimpChat Member
User avatar

Joined: Jan 20, 2013
Posts: 14831
Location: roma, italy
thanks GC, but let me ask:
a statement like this
onepct={int(@{-1,#}/100)}
how should be replaced?
I removed the @ according to your second statement, but it seems that also the # has to be replaced by something else

edit:
using "onepct={int({-1,#}/100)}"
gmic says "invalid item "#" in specified expression "#"

_________________
"Where am I ?"


Last edited by dinasset on Tue Jun 23, 2015 1:40 pm, edited 1 time in total.

Top
 Post subject: Re: G'MIC 1.6.5.0 Released
PostPosted: Tue Jun 23, 2015 1:37 pm  (#6) 
Offline
GimpChat Member
User avatar

Joined: Sep 24, 2010
Posts: 12832
Sometimes it's great not being a coder; just click the preset and it works makes me happy. lol

Not sure why the syntax needed to change but I'm sure there is a very good reason for it. Not sure if David replied anywhere as to why but I'm sure if he hasn't, he will do so. Regardless, so far, all my custom presets have worked, but they were created using existing GIMP/G'MIC presets so I didn't suspect that there would be any issue. I believe David already re-coded all current canonical presets. :)

_________________
Lyle

Psalm 109:8

Image


Top
 Post subject: Re: G'MIC 1.6.5.0 Released
PostPosted: Tue Jun 23, 2015 1:42 pm  (#7) 
Offline
GimpChat Member
User avatar

Joined: Jan 20, 2013
Posts: 14831
Location: roma, italy
sure Lyle, because you probably do not have your own "gmic" file with unpublished filters

_________________
"Where am I ?"


Top
 Post subject: Re: G'MIC 1.6.5.0 Released
PostPosted: Tue Jun 23, 2015 1:52 pm  (#8) 
Offline
GimpChat Member

Joined: Sep 24, 2012
Posts: 275
Location: Scotland
onepct={int(@{-1,#}/100)}

The "#" shortcut no longer exists for that and we need to remove the "@", so:

onepct={int({-1,whds}/100)}

But there's another handy thing; if you are referencing the most recent image then you can do:

onepct={int(whds/100)}

I forgot to add, the reason for the update is to simplify the entire substitution/math system. It's still far from what you could call intuitive but removing the use of the "@" symbol is one less thing to remember.


Top
 Post subject: Re: G'MIC 1.6.5.0 Released
PostPosted: Tue Jun 23, 2015 1:59 pm  (#9) 
Offline
GimpChat Member
User avatar

Joined: Jan 20, 2013
Posts: 14831
Location: roma, italy
thanks GC
has been removed also the shortcut "a" (=average pixel value)?
also the statement
drkave={-1,a}
is now rejected, same error

_________________
"Where am I ?"


Top
 Post subject: Re: G'MIC 1.6.5.0 Released
PostPosted: Tue Jun 23, 2015 2:02 pm  (#10) 
Offline
GimpChat Member

Joined: Sep 24, 2012
Posts: 275
Location: Scotland
Yes that's right so now it's just drkave={ia} or if you wanted to index image [-2] it would be drkave={-2,ia}


Top
 Post subject: Re: G'MIC 1.6.5.0 Released
PostPosted: Tue Jun 23, 2015 2:09 pm  (#11) 
Offline
GimpChat Member
User avatar

Joined: Jan 20, 2013
Posts: 14831
Location: roma, italy
thanks again, GC
i try to proceed...

_________________
"Where am I ?"


Top
 Post subject: Re: G'MIC 1.6.5.0 Released
PostPosted: Tue Jun 23, 2015 2:57 pm  (#12) 
Offline
GimpChat Member
User avatar

Joined: Jul 06, 2013
Posts: 2662
Location: California
I updated to the new version of GMIC and I tried using the Extract foreground filter and it is still confusing to use.


Top
 Post subject: Re: G'MIC 1.6.5.0 Released
PostPosted: Tue Jun 23, 2015 3:33 pm  (#13) 
Offline
GimpChat Member

Joined: Sep 24, 2012
Posts: 275
Location: Scotland
mackenzieh wrote:
I updated to the new version of GMIC and I tried using the Extract foreground filter and it is still confusing to use.

I suppose having a separate interface to gimp can be a little odd, but once you have the hang of it I think it works well. There is a video example of it here:

https://www.youtube.com/watch?v=JfxTTU4yba8

I assume you had to give up on "split objects", I've tried it on 3 PCs now each with different versions of gimp and simply can't get it to do what you encountered :gaah


Top
 Post subject: Re: G'MIC 1.6.5.0 Released
PostPosted: Tue Jun 23, 2015 4:03 pm  (#14) 
Offline
GimpChat Member
User avatar

Joined: Jul 06, 2013
Posts: 2662
Location: California
garagecoder wrote:
mackenzieh wrote:
I updated to the new version of GMIC and I tried using the Extract foreground filter and it is still confusing to use.

I suppose having a separate interface to gimp can be a little odd, but once you have the hang of it I think it works well. There is a video example of it here:

https://www.youtube.com/watch?v=JfxTTU4yba8

I assume you had to give up on "split objects", I've tried it on 3 PCs now each with different versions of gimp and simply can't get it to do what you encountered :gaah


I'm about to give up on the extraction filter as well. I tried split objects again a and I got the same result. I colored the transparent layer red and green. After that, I said input layers, active and below and the layer that had the colors went transparent in the preview window. Output new image in the preview window as well and the top layer is still transparent. I then ran the filter and again, the top layer is transparent while the actual image is on the bottom. I can't even edit the transparent layer that is on top.

The gimp version I am using is 2.8.10 on a 64 bit windows 7 HP laptop.


Top
 Post subject: Re: G'MIC 1.6.5.0 Released
PostPosted: Tue Jun 23, 2015 4:30 pm  (#15) 
Offline
GimpChat Member
User avatar

Joined: Sep 24, 2010
Posts: 12832
dinasset wrote:
sure Lyle, because you probably do not have your own "gmic" file with unpublished filters


Yeah; the only customer preset I have is one that actually, I believe, David coded for me a while back. It's an anti-alias filter code. :)

--smooth[-1] 200,0,1--gradient_norm[-2] -pow[-1] 0.4 -n[-1] 0,1-_fade[-3--1] 30,70

_________________
Lyle

Psalm 109:8

Image


Top
 Post subject: Re: G'MIC 1.6.5.0 Released
PostPosted: Tue Jun 23, 2015 9:20 pm  (#16) 
Offline
GimpChat Member

Joined: May 12, 2015
Posts: 4693
I upgraded to the 1.6.5.0 and I am very pleased. On the two previous versions I had problems with crashing and "non responding". I deleted the old version before I installed the new. No problems so far with the new.


Top
 Post subject: Re: G'MIC 1.6.5.0 Released
PostPosted: Tue Jun 23, 2015 9:56 pm  (#17) 
Offline
GimpChat Member
User avatar

Joined: Nov 16, 2011
Posts: 5127
Location: Metro Vancouver, BC
Thank you David. :fishing

Image

_________________
Image
Gimp 2.8.18, Linux, median user
Gimp Chat Tutorials Index
Spirit Bear (Kermode)


Top
 Post subject: Re: G'MIC 1.6.5.0 Released
PostPosted: Wed Jun 24, 2015 1:45 am  (#18) 
Offline
GimpChat Member
User avatar

Joined: Jan 03, 2011
Posts: 1656
dinasset : Of course, I'm willing to help if you have any issue. If you agree with that, just send me your original .gmic file (not the one you've started to modify for 1.6.5.0, the working one), and I'll do the conversion of the substitution patterns for you.
It will take me 5 minutes or so, so it's not a big deal for me, and it will maybe save you some time.
Let me know !


Top
 Post subject: Re: G'MIC 1.6.5.0 Released
PostPosted: Wed Jun 24, 2015 3:15 am  (#19) 
Offline
GimpChat Member
User avatar

Joined: Jan 20, 2013
Posts: 14831
Location: roma, italy
Ronounours wrote:
dinasset : Of course, I'm willing to help if you have any issue. If you agree with that, just send me your original .gmic file (not the one you've started to modify for 1.6.5.0, the working one), and I'll do the conversion of the substitution patterns for you.
It will take me 5 minutes or so, so it's not a big deal for me, and it will maybe save you some time.
Let me know !

thanks, David!
In the meantime -using info got from GC- I completed my changes and all my filters work without crash.
No more problems

_________________
"Where am I ?"


Top
 Post subject: Re: G'MIC 1.6.5.0 Released
PostPosted: Thu Jul 02, 2015 10:53 am  (#20) 
Offline
GimpChat Member
User avatar

Joined: Oct 24, 2014
Posts: 49
A late thank you, for the new filters too.
Image


Top
Post new topic Reply to topic  [ 20 posts ] 

All times are UTC - 5 hours [ DST ]



* Login  



Powered by phpBB3 © phpBB Group