"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "resources/samples/template.gmic" between
gmic_2.8.1.tar.gz and gmic_2.8.2.tar.gz

About: G’MIC (GREY’s Magic for Image Computing) is a framework for image processing. It provides several different user interfaces to convert/manipulate/filter/ visualize generic image datasets (usable standalone or as plug-in for GIMP and Krita).

template.gmic  (gmic_2.8.1):template.gmic  (gmic_2.8.2)
skipping to change at line 90 skipping to change at line 90
# - A comment line starting with '#@gui_xx' will define a filter only for a spec ific language 'xx' # - A comment line starting with '#@gui_xx' will define a filter only for a spec ific language 'xx'
# (e.g. 'en','fr'...). # (e.g. 'en','fr'...).
# - A comment line starting with '#@gui_xx hide(/Filter or folder name)' will hi de the existing # - A comment line starting with '#@gui_xx hide(/Filter or folder name)' will hi de the existing
# filter of folder for the locale 'xx'. # filter of folder for the locale 'xx'.
# - More precisely, the syntax of a '#@gui' comment line is : # - More precisely, the syntax of a '#@gui' comment line is :
# #
# '#@gui Folder name' # '#@gui Folder name'
# #
# or # or
# #
# '#@gui Command name : command, preview_command, parameter = typedef, parame # '#@gui Command name : command, preview_command (zoom_factor)[+] [: default_
ter2 = typedef' input_mode]
# '#@gui : parameter3 = typedef, parameter4 = typedef ...., parameterN = type # '#@gui : parameter1 = typedef(arguments1...), parameter2 = typedef(argument
def' s2...)'
# '#@gui : parameter3 = typedef(arguments3...),
# #
# where : # where :
# #
# 'command' is the G'MIC command name called to process the image. # 'command' is the G'MIC command name called to process the image.
# #
# 'preview_command' is the G'MIC command name called to process the preview . # 'preview_command' is the G'MIC command name called to process the preview .
# #
# Note that you can optionally specify a float-valued factor>=0 betwee n parentheses at the end of # Note that you can optionally specify a float-valued factor>=0 betwee n parentheses at the end of
# the 'preview_command' to force the default zoom factor used by the p review for this filter. # the 'preview_command' to force the default zoom factor used by the p review for this filter.
# Use (0) for a 1:1 preview, (1) for previewing the whole image, (2) f or 1/2 image and so on... # Use (0) for a 1:1 preview, (1) for previewing the whole image, (2) f or 1/2 image and so on...
# You can also put an additional '+' sign after the parenthesis to spe cify the rendered preview # You can also put an additional '+' sign after the parenthesis to spe cify the rendered preview
# is still accurate for different zoom factors. # is still accurate for different zoom factors.
# #
# 'default_input_mode' set the default input mode for that filter. It can b
e
# { x=none | .=active (default) | *=all | +=active & below | -=active & a
bove | v=all visible | i=all invisible }
#
# 'parameter = typedef' tells about the names, types and default values of the filter parameters. # 'parameter = typedef' tells about the names, types and default values of the filter parameters.
# #
# 'typedef' can be : # 'typedef' can be :
# #
# _ 'bool(default_value={ 0 | 1 | false | true })' # _ 'bool(default_value={ 0 | 1 | false | true })':
: Add a boolean parameter (0 or 1) (as a checkbutton). # Add a boolean parameter (0 or 1) (as a checkbutton).
# _ 'button(_alignment)' #
: Add a boolean parameter (0 or 1) (as a button). # _ 'button(_alignment)':
# _ 'choice(_default_indice,Choice0,..,ChoiceN)' # Add a boolean parameter (0 or 1) (as a button).
: Add a integer parameter (as a combobox). #
# _ 'color(R,_G,_B,_A)' # _ 'choice(_default_index,Choice0,..,ChoiceN)':
: Add R,G,B[,A] parameters (as a colorchooser). # Add a integer parameter (as a combobox).
# _ 'point(_X,_Y,_removable={ -1 | 0 | 1 },_burst={ 0 | 1 },_R,_G,_B,_[-]A, #
_radius%,_is_visible={ 0 | 1 })' : # _ 'color(R,_G,_B,_A)':
# Add R,G,B[,A] parameters (as a colorchooser).
#
# _ 'point(_X,_Y,_removable={ -1 | 0 | 1 },_burst={ 0 | 1 },_R,_G,_B,_[-]A,
_radius[%])':
# Add X,Y parameters (as a moveable point over the preview). # Add X,Y parameters (as a moveable point over the preview).
# _ 'value(value)' #
: Add a pre-defined value parameter (not displayed). # _ 'value(value)':
# _ 'file[_in,_out](_default_filename)' # Add a pre-defined value parameter (not displayed).
: Add a filename parameter (as a filechooser). #
# _ 'float(default_value,min_value,max_value)' # _ 'file[_in,_out](_default_filename)':
: Add a float-valued parameter (as a float slider). # Add a filename parameter (as a filechooser).
# _ 'folder(_default_foldername)' #
: Add a foldername parameter (as a folderchooser). # _ 'float(default_value,min_value,max_value)':
# _ 'int(default_value,min_value,max_value)' # Add a float-valued parameter (as a float slider).
: Add a integer parameter (as an integer slider). #
# _ 'link(_alignment,_label,URL)' # _ 'folder(_default_foldername)':
: Display a URL (do not add a parameter). # Add a foldername parameter (as a folderchooser).
# _ 'note(_label)' #
: Display a label (do not add a parameter). # _ 'int(default_value,min_value,max_value)':
# _ 'text(_is_multiline={ 0 | 1 },_default text)' # Add a integer parameter (as an integer slider).
: Add a single or multi-line text parameter (as a text entry). #
# _ 'separator()' # _ 'link(_alignment,_label,URL)':
: Display an horizontal separator (do not add a parameter). # Display a URL (do not add a parameter).
#
# _ 'note(_label)':
# Display a label (do not add a parameter).
#
# _ 'text(_is_multiline={ 0 | 1 },_default text)':
# Add a single or multi-line text parameter (as a text entry).
#
# _ 'separator()':
# Display an horizontal separator (do not add a parameter).
# #
# Type separators '()' can be replaced by '[]' or '{}' if necessary (for insta nce if parentheses are required in # Type separators '()' can be replaced by '[]' or '{}' if necessary (for insta nce if parentheses are required in
# an argument of the typedef, e.g in a text). You can also replace 'typedef' b y '_typedef' to tell the plug-in not # an argument of the typedef, e.g in a text). You can also replace 'typedef' b y '_typedef' to tell the plug-in not
# to update the image preview when the corresponding parameter is modified. # to update the image preview when the corresponding parameter is modified.
# After the closing separator, you may specify a 'visibility state' character
for the parameter, which can be
# { _0=Hidden | _1=Grayed-out | _2=Visible (default) }, opt. followed by a pro
pagation character that tells
# if this visibility state must be propagated to neighboring non-valued interf
ace widgets
# (s.a. separator(), link() or note()).
# This propagation character can be:
# { '+'=propagate forward | '-'=propagate backward | '*'=propagate in both dir
ections }.
# #
# Use '_none_' as a special command or preview_command to tell the plug-in tha t the entry requires no G'MIC call. # Use '_none_' as a special command or preview_command to tell the plug-in tha t the entry requires no G'MIC call.
# #
# A G'MIC command can return new values for each parameter of the filter, into # A G'MIC command can set new values for each filter parameter, through the st
the status (see command 'status'). atus (see command 'status').
# To do so, the returned status must follow the syntax : {params1}{params2}{.. # To do so, the returned status must follow the syntax :
}{paramsN} where N must be exactly # '{params1}{params2}{..}{paramsN}' where N must be exactly equal to the numbe
# equal to the number of parameters for the current filter. r of parameters
# for the current filter. Optionnally, you can append to each {param} its visi
bility state suffix ( e.g: {param}_1 ).
#
# A G'MIC command can also specify the output blending mode, the opacity and t
he position of each of the output image
# (i.e. layer in the plug-in). To do so, set the image name to something like:
# 'mode(grainmerge),opacity(50),pos(30,50),name(name)'.
# #
# A G'MIC command can also specify the blending mode, the opacity and the posi
tion of each of the output image
# (i.e. layer in the plug-in). To do so, set the image name to something like
'mode(grainmerge),opacity(50),pos(30,50),name(name)'.
# - Blending mode name should be the same as the argument of the 'blend' com mand. # - Blending mode name should be the same as the argument of the 'blend' com mand.
# - Opacity is a float number in [0,100]. # - Opacity is a float number in [0,100].
# - X and Y positions are integers. # - X and Y positions are integers.
# - 'name' is the layer name. # - 'name' is the layer name.
# #
#------------------------------------------------------------------------------- ---------------------------------------- #------------------------------------------------------------------------------- ----------------------------------------
# The filters below will go the the 'Testing / John Doe' category. This is a goo d 'standard' location # The filters below will go the the 'Testing / John Doe' category. This is a goo d 'standard' location
# for placing new filters that are still in testing mode. # for placing new filters that are still in testing mode.
# Once considered as stable, such filters can be moved to one of the existing (c onsidered as 'stable') category # Once considered as stable, such filters can be moved to one of the existing (c onsidered as 'stable') category
 End of changes. 7 change blocks. 
41 lines changed or deleted 73 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)