Ah yes, but the result of uname not something I can easily get from G’MIC.
Is there $__MACOSX__ or $__APPLE__ available from the plug-in ?
Ah yes, but the result of uname not something I can easily get from G’MIC.
Is there $__MACOSX__ or $__APPLE__ available from the plug-in ?
@KaRo, could you tell me what environment variables are defined on your system, so I can try to figure out one that is typical of a MacOSX system, and one I could test to determine if the plug-in is run under MacOSX ?
Hmm, not so simple. That depends on shell or not.
Here is the output of “env” under bash. I have deleted some personal things MANPATH and PATH
Under Gimp in Desktop I don’t know how to visualize the output!
TERM_PROGRAM=Apple_Terminal
SHELL=/bin/bash
TERM=xterm-color
CLICOLOR=true
HISTSIZE=5000
TMPDIR=/var/folders/g3/ft0231pd0fggnh0czwqd7znc0000gn/T/
EnvAgent_vars=CVS_RSH JAVA_HOME MAGICK_CONFIGURE_PATH MANPATH SSH_AUTH_SOCK
MAGICK_CONFIGURE_PATH=/Users/karo/.magick
Apple_PubSub_Socket_Render=/private/tmp/com.apple.launchd.QrIGt44tyt/Render
BF_JAR_DIR=/Applications/ImageJ/plugins
TERM_PROGRAM_VERSION=421.1.1
TERM_SESSION_ID=72C34177-6D4D-4B55-BEEB-42FCCBA33D43
GMIC_PINK_NO_RM=0
HISTFILESIZE=-1
USER=karo
GMIC_PINK_VERBOSE=0
SSH_AUTH_SOCK=/private/tmp/com.apple.launchd.6onTc8yMzf/Listeners
LSCOLORS=ExGxFxdxCxDxDxBxBxExEx
GMIC_SYSTEM_PATH=/Users/karo/.cache/gmic
MAGIC=/usr/share/file/magic:/Users/karo/.magic
PWD=/Users/karo
JAVA_HOME=/Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home
DBUS_LAUNCHD_SESSION_BUS_SOCKET=/private/tmp/com.apple.launchd.26geRcF7Qj/unix_domain_listener
EDITOR=/usr/local/bin/mate -w
PINK=/Users/karo/sw/Pink
VIM_APP_DIR=/Applications/MiscEXE/Editors
LANG=de_DE.UTF-8
XPC_FLAGS=0x0
PS1=\W $
HISTCONTROL=ignoredups:erasedups
XPC_SERVICE_NAME=0
SHLVL=1
HOME=/Users/karo
SHELL_SESSION_HISTORY=0
GNUTERM=aqua
LOGNAME=karo
CVS_RSH=ssh
LC_CTYPE=en_US.UTF-8
DISPLAY=/private/tmp/com.apple.launchd.ZLdPg8km1I/org.macosforge.xquartz:0
HISTFILE=/Users/karo/.bash_history
_=/opt/local/libexec/gnubin/env
__CF_USER_TEXT_ENCODING=0x1F5:0x0:0x3
OK Thanks Karsten, I think I’ll try something this afternoon.
@Hebustetram, I’ve made a small modification in the filter code.
Could you try to refresh the filters (using the Update filters button) , and tell us if that fixes your problem ?
Thanks !
EDIT : It seems the website has a problem…
I’ve not been able to upload the filter update. Will try again in a few moments.
Very good David! Just tried x_warp on sequences of images. Works very well with that global variable.
Thank you!
ex: gmic sp ? sp ? +x_warp… , +x_warp… , d
I’m currently working on it, and make the “final” cleaning before having this as a new filter for the plug-in 
Good, good, that will be a nice thing for the animators of drawings!
Improvements in x_morph are really positiv too. What about the trajectories in the in-between image with start-inbetween-end-point by any key?
Ok, with the last changes in 2.5.7 seemingly no clutter of gmic_cluts.gmz and cli as well as (my) Gimp use the same location.
Believe it or not, but it doesn’t work that bad! ![]()

It would be good the option without fade for drawings

This is actually something we may investigate with @Jehan in the future.
Changelog for upcoming version 2.6.0 (Work in Progress!)
if, elif, while, for) now try to automatically evaluate its argument when a boolean is not directly specified. This works also similarly for repeat. As a result, this basically remove a lot of braces in the code, e.g. the code below is now valid:foo:
if $!<3 # Instead of "if {$!<3}"
repeat 2*$!+3,var echo $var done # Instead of "repeat {2*$!+3}"
fi
Nice, no more stoppage due to forgetting the curly braces.
That’s actually the opposite : a wrong argument to if will throw an error, which makes the code easier to debug ![]()
It is almost the same thing except that it would throw an error only if the argument is incorrect, not because I forgot to include the curly braces, so it is a time saver.
Hmm with gmic 2.5.8 this line
if {$_version>=250} if /Users/karo/sw/gmic_bm/BAM_250.gmic m /Users/karo/sw/gmic_bm/BAM_250.gmic fi fi
throws an error
Seemingly this
Bildschirmfoto 2019-04-21 um 10.41.01
is not valid anymore!
@KaRo, yes that’s another difference.
To test the existence of a file or a folder, use
if isfile(['path_to_the_file/file.txt'])
if isdir(['path_to_the_file/file.txt'])