Here I will write about the advances made from latest stable version 2.9.0 to next major version 3.0.0. Right now, I expect mainly bug fixes and a few new features (but the less native possible, to keep compatibility with 2.9.x).
From 2.9.7 to 2.9.8 (ongoing work)
New features:
-
[stdlib-298] New command
meigen
returns an approximation of them
largest eigenvalues of a (large) square matrix, using the Arnoldi iteration method. New math functionmeig()
does the same, inside the math parser (included inmath_lib
).
Improvements / Modifications:
-
[stdlib-298] Command
apply_curve
: recoded to manage any kind of value ranges. -
[math-core-298] Function
store()
is now able to store an input vector as an image of any size (it just pads with zeros in case the requested size is larger than the vectorâs size). -
[core-298]
webp
images with alpha-channels now load as 4-channels images into GâMIC (was keeping only RGB channels before). -
[core-298] Optimized the storage of global variables. This greatly improves speed of commands that use a lot of global variables (e.g.
parse_gui
).
Bug fixes:
-
[core-298] When forcing file format in input/output expressions, s.a.
ext:filename
,ext
was not accepting numbers. This is fixed. -
[core-298] Storage of image names in
.gmz
format could be wrong. Now fixed. -
[stdlib-298] Fixed
morph_rbf
: old version ofresize
was used instead ofresize_as_image
. -
[stdlib-298] Fixed
help
: when two commands had the same name, the help displayed for that command was not corresponding to the most prioritary command.
From 2.9.6 to 2.9.7
New features:
- [gmic-qt-297] New filter Light & Shadows / Guided Light Rays renders light rays, guided by a shape, drawn on a top transparent layer by the user.
- [gmic-qt-297] New filter Light & Shadows / Equalize Light is a filter that proposes different ways to equalize light changes in an image.
- [gmic-qt-297] New filter Rendering / Sine Curve, a very versatile filter to render 2D/3D sinusoidal curves, with a lot of tunable parameters.
Improvements / Modifications:
- [gmic-qt-297] Filter Artistic / Stylize has 6 new predefined styles, provided by Christine Garner, which simulates different drawing styles (pencils,pastel,charcoal).
- [gmic-qt-297] Work from Jan Tojnar allow to compile the GâMIC-Qt plug-in for the latest development version v.2.99 of GIMP.
- [gmic-qt-297] For Windows users : plug-in now works with GIMP 2.10.24. The new GIMP release introduced upgraded dll that were causing issues with our plug-in binary.
-
[gmic-qt-297] For Windows users: provided archives now include an additional
styles/
folder that avoid the GâMIC-Qt plug-in to look like a Windows95 application. -
[core-297] Added input option that sets the resolution of the rendering when loading a
.pdf
file as a bitmap image. -
[core-297] Added function to load
.heic
and.avif
files (based on the use oflibheif
). This is not enabled by default. Thanks to Lukas Rusak for this nice contribution. -
[core-297] Remove the default dependency of the project on the OpenCV library, for the CLI tool
gmic
. OpenCV is a monster library that requires a lot of external libraries (add more than 150 library dependencies to the executablegmic
, on my Ubuntu), and which is used only by commandcamera
and for saving/loading video files (considering there is however a fallback method whenffmpeg
is installed). Not worth it. -
[core-297] Force autostart command
cli_start
not to take arguments. -
[core-297] Windows: Improve detection of external tools that could be used by GâMIC to improve I/O (e.g.
ffmpeg
). -
[core-297] When saving a video file from odd-sized images: frames are automatically extended with one row and/or column to make sure they have an even number of rows/columns, avoiding error when saving the video file.
-
[stdlib-297] Re-implementation of the GâMIC Markdown engine, from scratch (faster, and now have a syntax closer to âusualâ markdown). See what syntax this Markdown engine accepts here: https://gmic.eu/reference/g_mic_markdown.html
-
[stdlib-297] Help displayed on terminal now takes into account the number of columns of the terminal, to expand as much as possible.
-
[web-297] Added âlatest devâ links in download page, to let users download the binaries corresponding to the latest development version of GâMIC. We hope weâll get more feedback and bug report from users, to improve software development.
- [web-297] Stop releasing packages for Debian8 and Windows/GIMP2.8 from the GâMIC download web page.
Bug fixes:
-
[core-297] Fix rendering bug when rendering out-of-screen triangles with z-buffer. Had an impact on the rendering of 3d objects (command
object3d
). -
[math-core-297] Fixed potential wrong characters returned by function
get()
when retrieving a GâMIC variable as a string. -
[stdlib-297] As usual, a lot of small bugfixes in the GâMIC standard library.
From 2.9.5 to 2.9.6
Bug fixes:
-
[gmic-qt-296] Fix bug that prevented users getting filter updates if their account names have accentuated characters in it (wrong handling of UTF-8 string that describe
%APPDATA%
).
From 2.9.4 to 2.9.5
New features:
-
[gmic-qt-295] GâMIC-Qt plug-in has now a 8bf interface, thanks to @PDN_GMIC. It can be run now in Photoshop / PaintShop Pro / Photoline / Affinity Photo and theoretically any software that supports 8bf plug-ins.
-
[gmic-qt-295] New button âCopy GâMIC Command to Clipboardâ added, to make it easier getting the GâMIC command line corresponding to the applied filter.
- [gmic-qt-295] New filter Artistic / Ghost creates a ghot effect from an input image.
- [gmic-qt-295] New filter Colors / Tune HSV Colors allows to finely remap HSV basis colors acording to the userâs settings. Use complex CLUT reconstruction internally.
- [gmic-qt-295] New filter âRendering/Hypotrochoidâ renders hypotrochoid curves.
-
[gmic-qt-295] New filter "About/Whatâs New? " shows recent modifications of the plug-in filters (new or removed).
-
[core-295] New command
output_obj
that saves a 3D object into a Wavefront.obj
file (something that Blender can import easily).
-
[core-295] Input/output of
.raw
,.cimg
and.cimgz
data files now acceptbool
as a possible type. In that case, the image data are stored using a bitwise format. -
[math-core-295] New function
addr(expr)
returns the internal pointer address to the specified expressionexpr
.
Improvements / Modifications:
-
[core-295] Command interpreter has been slightly optimized:
- Debug info are not included by default anymore when reading a command file;
- Checking the validity of the interpreter state is now done only in
debug
mode. - Static analyzer determines if item substitution can be skipped for some items.
- Added more memory slots to store variables, leading to less string comparisons when accessing a variable value, in case many variables are defined.
-
[core-295] Native commands that define default arguments now accepts
,
as an argument (just as with custom commands). -
[core-295] Command
split3d
has a different argumentfull_split
which allows to enable splitting of 3D object primitives as single images in the resulting list. -
[core-295] File options, if any specified, are now passed to custom commands
input_ext
andoutput_ext
. -
[core-295] New pre-defined variables
$_os
,$_flags
,$_pixeltype
give additional information on GâMIC interpreter and its running environment. -
[stdlib-295] Commands
replace_str
andreplace_seq
slightly optimized.
Bug fixes:
-
[stdlib-295] Command
display
: Fix âshaking aspect ratioâ bug happening when visualizing small images. -
[math-core-295] Fixed user assignment of reserved variable
in
. -
[math-core-295] Fixed wrong behavior of expression
v[ind] = value
, whenv
was a pre-defined variable (asia
,ic
,in
, âŚ). -
[core-295] Command
svd
: check that specified selected images are indeed matrices (no depth or multiple channels).
From 2.9.3 to 2.9.4
Improvements / Modifications:
-
[math-core-294] Function
sort()
can be now applied only on a subset of the input vector. -
[core-294] Avoid compilation warning in function
CImgList<T>::font()
, withg++
>=v.10.
Bug fixes:
-
[core-294] Fix invalid memory read that could happen in function
gmic::add_commands()
. -
[core-294] Fix invalid memory read that could happen in command
uncommand
. -
[core-294] Fix null pointer indirection that could happen in function
gmic::run()
.
From 2.9.2 to 2.9.3
New features:
-
[gmic-qt-293] New filter Patterns / Random Pattern renders an image containing a random pattern, based on a random complex-valued function generator. Associated command
random_pattern
has been added in the GâMIC stdlib as well.
-
[gmic-qt-293] New filter Degradations / Rebuild From Blocs. It subdivides an image into blocs, and replace each bloc by the most similar bloc found in the set of other blocs.
-
[gmic-qt-293] New filter: Degradations / Blur [Multidirectional].
-
[gmic-qt_293] New translation system has been set up to allow translations of all filter widgets, rather than just the interface widgets.
-
[stdlib-293] New command
display_camera
(shortcut:dc
) opens a simple interactive webcam viewer. -
[math-core-293] New function
expr('formula',_w,_h,_d,_s)
outputs a vector of sizew*h*d*s
with values generated from the specified formula, as if one were filling an image with dimensions(w,h,d,s)
. -
[math-core-293] New function
get('varname',_size)
returns the value of the specified variable, as a vector ofsize
values, or as a scalar (ifsize
is zero, or not specified). -
[math-core-293] New function
arg0()
which is basically the same asarg()
but with the argument index starting from0
rather than1
. -
[stdlib-293] New command
parse_cli
is a parser of.gmic
files that extracts the description of the#@cli
commands and outputs them in various formats. -
[stdlib-293] New documentation generator implemented. Reference documentation is more flexible and can be now written with a light Markdown-like syntax (
gmd
, for GâMIC Markdown). New commands to convertgmd
to html or ascii outputs have been set up. -
[web-293] Web pages of the project have been improved. New command reference pages have been set up.
Improvements / Modifications:
-
[gmic-qt-293] Default choice for confirmation dialog appearing when suppressing a Fave filter is now set to
Yes
. -
[core-293] External calls to ImageMagickâs
convert
are better managed on Windows, when filename or path contain spaces or UTF-8 characters. -
[core-293] Command
text
: improvement of character spacing rules. -
[core-293] Command
resize
: Argument list as[image],_interpolation,_boundary_conditions,_ax,_ay,_az,_ac
is not permitted anymore, because it can be ambiguous compared to[image],_height,_depth,_spectrum,_interpolation,_boundary_conditions,_ax,_ay,_az,_ac
. New commandresize_as_image
(eq. tori
) replaces the use of the deprecated argument list. -
[core-293] Revert back on the behavior of commands
discard
andsplit
when invoked with a list of values as the argument (i.e no specified axis). They donât try to preserve the geometry of the input images anymore (this was creating annoying discontinuities in the behavior of these commands). -
[math-core-293] Function
get()
has now an additional option to retrieve the variable value as a string rather than as a value or a set of values. -
[math-core-293] Complex functions
cabs(), cconj(), carg(), ccos(), csin(), ctan(), cexp(), clog(), ccosh(), csinh()
andctanh()
now accepts scalar-valued arguments (and still returns complex numbers, i.e.vector2
). -
[stdlib-293] Command
convolve_fft
now accepts an optionalboundary_condition
argument. -
[compiling-293] Compilation environment on Windows has been rebuilt from scratch. It now uses a recent version of the
g++
compiler (and 3rd-party libs), and Link-Time Optimization is now enabled when compiling the GâMIC binaries.
Bugfix:
-
Command
+e
and+warn
: Avoid first undesired line-feed character put onstdout
. -
Command
convolve_fft
has been recoded and is more precise and fast now. -
Fixed small bug in scope management that made some specific sequences of flow commands not working as expected.
From 2.9.1 to 2.9.2
New features:
- [gmic-qt-292] New plug-in filter Artistic / Doodle creates doodles from input photographs.
-
[core-292] New native command
mproj
(stands formatrix projection
) computes the projection of a matrix into a prescribed dictionary (defined as another matrix), with the choice of various projection methods : ortho-projection, matching pursuit, and orthogonal matching pursuit. Useful stuff for sparse dictionary learning. Math evaluator gets an equivalentmproj()
function as well. -
[math-core-292] New pre-defined variables
in
andin#ind
return the L2-norm of respectively current image and image#ind
, viewed as vectors or matrices (in that case, the Frobenius norm). Corresponding functionin(_#ind)
does the same for images with dynamic content (e.g. images under modification). -
[stdlib-292] New commands
xyz2jzazbz
,rgb2jzazbz
,jzazbz2xyz
andjzazbz2rgb
convert RGB or XYZ colors to the Jzazbz colorspace (and vice-versa). Code for these commands has been borrowed from this page by Alan Gibson (@snibgo).
Improvements / Modifications:
-
[core-292] Remove support for deprecated double-hyphen prefix (
--command
). Use+command
instead. -
[core-292] A few internal functions for matrix calculus have been better parallelized, when applied on large matrices (multiplication, norm, dot product, âŚ).
-
[core-292] Command
invert
accepts an optional argument to choose between different solver for matrix inversion (can be0=SVD
or1=LU
). SVD solver is slower for large matrices, but less numerically instable. Math evaluator functionsinvert()
andpseudoinvert()
also gets this optional argument. -
[core-292] Commands
fill
andeval
better manage auto- or forced parallelization when image has a few columns. -
[core-292] Commands
solve
,invert
,svd
,trisolve
andblur
: use double precision for computation. -
[core-292] Command
object3d
: Add modification in a 3D object format to define a perfect sphere primitive from a pair(center,point)
, rather than specifying it only with its diameter(point1,point2)
. -
[core-292] Command
+echo
is now implemented as a native command (faster). -
[core-292] Command
echo
better manages messages starting withCR
character. -
[core-292] Commands
discard
andsplit
: When possible, preserve principal axis of processed images. -
[core-292] Command
label
: Change output behavior in order to manage multi-channels input images, and output always a single-channel label image even when a multi-spectral input image is given. -
[core-292] Command
label
: New argument to choose between L1 and L2-norms for tolerance comparisons. -
[math-core-292] Function
transp()
,inv()
andpseudoinv()
have been renamed respectively astranspose()
,invert()
andpseudoinvert()
to be more coherent with the name of the corresponding pipeline commands. -
[stdlib-292] Remove useless command
unrepeat
(eq. todiscard
without arguments). -
[stdlib-292] Add illuminant
E
as a possible choice for color conversion commands involving the XYZ colorspace. Set it as default illuminant when no explicit illuminant is specified. -
[install-292] Ubuntu/Debian packages provided on the GâMIC website now add an entry to the Desktop menu with the stand-alone version of GâMIC-Qt and ZArt.
Bugfix:
-
[core-292] Math evaluator: Fix possibly wrong pointer in call to
delete
. -
[core-292] Command
solve
: Fix compilation issue when Lapack support is enabled. -
[stdlib-292] Filter Apply External CLUT: Implement
Strength
control. -
[stdlib-292] Fix command
colormap
, for some degenerated cases. -
[gmic-qt_292] Fix possible canvas shift when applying a filter inside a selection.
From 2.9.0 to 2.9.1
New features:
- [gimp-qt-291] New filters Various / Import RGB-565 File and Various / Export RGB-565 File allows to import/export data from raw RGB-565 files.
-
[gimp-qt-291] New API feature allowing to hide unused items or comboboxes for hosts that donât implement all the plug-in features.
-
[core-291] New command
remove_named
(shortcutrmn
) removes images with specified names from the list (equivalent torm[${"-nmd name"}]
). -
[core-291] Interactive 3D viewer (command
display3d
, a.k.ad3d
) has been recoded from scratch as a custom command.
-
[core-291] New substituting expression
{*,f}
returns0
or1
whether the display window is in fullscreen mode or not. -
[math-core-291] New function
swap(a,b)
, swaps the values of given argumentsa
andb
. -
[math-core-291] New functions
vargkth()
,vargmin()
,vargmax()
,vargminabs()
,vargmaxabs()
,vavg()
,vkth()
,vmin()
,vmax()
,vminabs()
,vmaxabs()
,vmed()
,vprod()
,vstd()
,vsum()
andvvar()
are similar to the functions whose names do not start withv
, but works with vector-valued arguments (and return a vector-valued result). -
[math_core-291] New function
string()
creates a string from a list of arguments (similar toecho()
but outputs a vector). -
[stdlib]-291] New command
rbf
computes interpolated 1D/2D/3D functions from a set of sparse keypoints.
-
[stdlib-291] New command
percentile
applies a âpercentile filterâ to selected image (mix between averaging and dilate/erode/median).
-
[stdlib-291] New commands
input_565
andoutput_565
allows to read/write images files in raw RGB565 format. -
[stdlib-291] New command
is_macos
returns1
or0
whether GâMIC is run on MacOS or not.
Improvements:
-
[core-291] Commands
solve
andinvert
now runs in parallel when possible (also apply for functionssolve()
andinv()
in the math parser). -
[core-291] Special input string
(value1{,|;|/|^}value2{,|;|/|^}...[:{x|y|z|c|,|;|/|^}])
has now an optional:axis
option to unroll the image values along a specified axis. -
[core-291] Slightly improved the memory footprint of the GâMIC interpreter. A few memory allocations are avoided when not necessary.
-
[core-291] Variable font size are now used in interactive viewer when displaying a list of image (command
display
), in order to make it readable on HDPI screens. -
[core-291] Optimize commands
isoline3d
andisosurface3d
, by lowering the number of grid points evaluations. -
[core-291] Better support UTF-8 paths and filenames on Windows.
-
[core-291] Command
uncommand
now has a shortcut nameum
. -
[math_core-291] Add a pre-optimization step that detects common simple expressions for speeding up evaluation for these cases.
-
[math_core-291] Change encoding of
unsigned int
values in functionsf2ui()
andui2f()
, so that no subnormal float numbers are used for the encoding. This avoids issues for commands dealing with large 3D objects, when aggressive optimization flags are used for compilinggmic
(which is the case by default). -
[math_core-291] Improve syntax for accessing a vector component, where the left side of the
[]
operator is complex. For instance,I[#0,off][2]
is now recognized (needed parentheses before, i.e.(I[#0,off])[2]
). -
[stdlib-291] Command
display2d
: font with adaptive size is now displayed in order to deal with hidpi screens. -
[stdlib-291] Command
display2d
: hexadecimal display of color values is now enabled for 1,2,3,4-channel images (not just 3 as before). -
[stdlib-291] Command
sort_list
has been optimized when used with then
type of sorting.
Bugfix:
-
[core-291] Fix a few (critical) OpenMP issues with clang++ compiler.
-
[core-291] Fix possible buffer overflow happening when reading some malformed .bmp files.
-
[core-291] Substituting expressions s.a.
${"command"}
now checks that the providedcommand
does not change the number of images in the list, and throws an error otherwise (was possibly leading to segfaults, e.g.sp lena +b 10 d ${"max u 10"}
). -
[core-291] Fix
argmax
command andargmax()
function in math parser (regressions introduced in 2.9.0). -
[math_core-291] Fix modulo function when called with
inf
ornan
values. -
[math_core-291] Fix function
isint()
when passingNaN
orinf
values. -
[stdlib-291] Fix filter Artistic / Cutout (regression of 2.9.0).