Giter Site home page Giter Site logo

gmic-community's People

Contributors

afr-e avatar c-koi avatar cl4cnam avatar dtschump avatar garagecoder avatar grosgood avatar iainmf avatar jayprich avatar jboulanger avatar karo11 avatar marcapelini avatar mathewcallaghan avatar myselfhimself avatar ornithologistnightmare avatar prawnsushi avatar quadrater avatar reptorian1125 avatar souphead avatar spaskalev avatar sylale avatar techtonik avatar tobybear avatar tokyogeometry avatar yunginnanet avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

gmic-community's Issues

Use left mousebutton (+ALT or +CTRL) to remove control points in colorize interactive

I use a Surface Pro 4 with Krita and the G'Mic Plugin to colorize some lineart.
The Surface pen has by default no right mouse button.
So removing a control point is done by long pressing the pen, the slightest movement disturbs this.

The question would be, if it is possible to use CTRL or ALT together with the left mousebutton to simulate the right click?
That way even with a pure one button mouse it could be possible to remove a control point.

Thank you.

please provide a package with the clut files

Hey.

Could you please provide a package with all the clut files (and specifying their license) so that distros could more easily package these for offline use?

Thanks,
Chris.

gmic-gimp crash in gimp 2.9

Hi,

I'm running gimp-2.9 and associated libs. Recently, gmic fails to start within gimp. Gmic is the latest build from git. I think this is the relevant bit of the message:

GEGL-geglmodule.c-Message: Module '/home/richard/Software/gimp-git/lib/gegl-0.3/dot.so' load error: /home/richard/Software/gimp-git/lib/gegl-0.3/dot.so: undefined symbol: gegl_cl_is_accelerated
/home/richard/Software/gimp-git/lib/gimp/2.0/plug-ins/gmic_gimp: fatal error: Segmentation fault

Is it me or is it it?

New String handling

Still getting errors with the new string handling:-

@gimp aFun : afun, afun_preview(1)

@gimp : X Tine Value = text{"test"}

afun_preview :
-afun "${1--1}"

afun :
-repeat $! -l[$>]
-f. "
init(

str=uppercase(['$1']);

length=size(str);

length=length-1;
print(length);
sub_str=str[3,6]; # line 1
length=size(sub_str); #line 2
print(length);

);

0"
-endl -done

If I run this, sub_str contains the all of str except the first three characters. For example, if I have a 7 character length string, it prints "6" and "4".

If I change line #1 to sub_str=str[3,length]; , I get the following error: "Operator '[]': Second argument (of type 'scalar') is not a positive integer constant, in expression '...str=str[3,length]...'." . From the first test, the value of length should be "6" (based on a 7 character starting string) but I get this error, as if the variable isn't being substituted.

If I change Lines 1 & 2 to str=str[3,6]; length=size(str); I get the following error: "Operator '=': Right-hand operator has invalid type 'vector4' (should be 'scalar' or 'vector7'), in expression '...h); str=str[3,6]; length=size(str); print(length...'." . This would imply that I can't overwrite a string with another smaller copy of itself - I can only move the substring into a newly defined variable that is predefined to fit the string (OK, vector).

Are either of these as expected?

Souphead.

AddressSanitizer reports use-after-free when using Artistic/Photoillustration

Hello David,
Woe be to you. Now that I have binaries with debugging symbols in them, you may never hear the end of me. ;)

I was seeing if I could reproduce #20 and could not, but what I could do on frequent occasions was trigger memory allocation/deallocation errors. Always heap use after free. What I could not do was create a reliable trigger, but the event occurs invariably in a preview update after manipulating some controls or moving the preview pane to preview a different part of the image. While the plug-in performed without issue on some occasions, on others it would fail. I suspect if I play with preview setting long enough I would trigger the condition.

When it does fail, Address Sanitizer paints a fairly consistent picture. Here are two examples, from two consecutive sessions. In between, Gimp was closed down and restarted. In each case, I went directly to the gmic_gimp plugin, and from there to Artistic/Photoillustration and commenced manipulating the image for various previews.

I pasted the tail end of the (very verbose console) gmic log -- the first part rolled out of the terminal buffer. However, the tail end indicates that the G'MIC interpreter had finished before the heap error took place.

Have to go to a Sunday Afternoon event I promised myself to.
Event #1

=================================================================
==4265==ERROR: AddressSanitizer: heap-use-after-free on address 0x60c0000133c0 at pc 0x54257d bp 0x7f14126367e0 sp 0x7f14126367d0
READ of size 1 at 0x60c0000133c0 thread T25
    #0 0x54257c in gmic::commands_line_to_CImgList(char const*) /home/gosgood/gmic/src/gmic.cpp:2649
    #1 0x65c45b in gmic& gmic::run<float>(char const*, cimg_library::CImgList<float>&, cimg_library::CImgList<char>&, float*, bool*) /home/gosgood/gmic/src/gmic.cpp:4410
    #2 0x41942a in process_thread(void*) /home/gosgood/gmic/src/gmic_gimp.cpp:1972
    #3 0x7f141f57b1de (/lib64/libpthread.so.0+0x71de)
    #4 0x7f141e55ba8c in __clone (/lib64/libc.so.6+0xe0a8c)

0x60c0000133c0 is located 0 bytes inside of 115-byte region [0x60c0000133c0,0x60c000013433)
freed by thread T0 here:
    #0 0x7f1423a83aae in operator delete[](void*) (/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/libasan.so.1+0x52aae)
    #1 0x467d6f in cimg_library::CImg<char>::assign(unsigned int, unsigned int, unsigned int, unsigned int) CImg.h:9794
    #2 0x469c5a in cimg_library::CImg<char>::assign(char const*, unsigned int, unsigned int, unsigned int, unsigned int) CImg.h:9874
    #3 0x490d20 in cimg_library::CImg<char>& cimg_library::CImg<char>::assign<char>(cimg_library::CImg<char> const&) CImg.h:9939
    #4 0x47ceda in cimg_library::CImg<char>::operator=(cimg_library::CImg<char> const&) CImg.h:10345
    #5 0x418a11 in get_commands_line(bool) /home/gosgood/gmic/src/gmic_gimp.cpp:1893
    #6 0x42418f in process_preview() /home/gosgood/gmic/src/gmic_gimp.cpp:3065
    #7 0x7f1420be6c9d (/usr/lib64/libgobject-2.0.so.0+0xfc9d)

previously allocated by thread T0 here:
    #0 0x7f1423a835ee in operator new[](unsigned long) (/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/libasan.so.1+0x525ee)
    #1 0x467d7b in cimg_library::CImg<char>::assign(unsigned int, unsigned int, unsigned int, unsigned int) CImg.h:9795
    #2 0x469c5a in cimg_library::CImg<char>::assign(char const*, unsigned int, unsigned int, unsigned int, unsigned int) CImg.h:9874
    #3 0x490d20 in cimg_library::CImg<char>& cimg_library::CImg<char>::assign<char>(cimg_library::CImg<char> const&) CImg.h:9939
    #4 0x47ceda in cimg_library::CImg<char>::operator=(cimg_library::CImg<char> const&) CImg.h:10345
    #5 0x418a11 in get_commands_line(bool) /home/gosgood/gmic/src/gmic_gimp.cpp:1893
    #6 0x42418f in process_preview() /home/gosgood/gmic/src/gmic_gimp.cpp:3065
    #7 0x7f1420be6d1e (/usr/lib64/libgobject-2.0.so.0+0xfd1e)

Thread T25 created by T0 here:
    #0 0x7f1423a54583 in pthread_create (/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/libasan.so.1+0x23583)
    #1 0x425c21 in process_preview() /home/gosgood/gmic/src/gmic_gimp.cpp:3234
    #2 0x7f1420be6d1e (/usr/lib64/libgobject-2.0.so.0+0xfd1e)

SUMMARY: AddressSanitizer: heap-use-after-free /home/gosgood/gmic/src/gmic.cpp:2649 gmic::commands_line_to_CImgList(char const*)
Shadow bytes around the buggy address:
  0x0c187fffa620: fd fd fd fd fd fd fd fd fa fa fa fa fa fa fa fa
  0x0c187fffa630: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd
  0x0c187fffa640: fa fa fa fa fa fa fa fa fd fd fd fd fd fd fd fd
  0x0c187fffa650: fd fd fd fd fd fd fd fa fa fa fa fa fa fa fa fa
  0x0c187fffa660: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fa
=>0x0c187fffa670: fa fa fa fa fa fa fa fa[fd]fd fd fd fd fd fd fd
  0x0c187fffa680: fd fd fd fd fd fd fd fa fa fa fa fa fa fa fa fa
  0x0c187fffa690: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fa
  0x0c187fffa6a0: fa fa fa fa fa fa fa fa fd fd fd fd fd fd fd fd
  0x0c187fffa6b0: fd fd fd fd fd fd fd fa fa fa fa fa fa fa fa fa
  0x0c187fffa6c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 05 fa
Shadow byte legend (one shadow byte represents 8 application bytes):
  Addressable:           00
  Partially addressable: 01 02 03 04 05 06 07 
  Heap left redzone:       fa
  Heap right redzone:      fb
  Freed heap region:       fd
  Stack left redzone:      f1
  Stack mid redzone:       f2
  Stack right redzone:     f3
  Stack partial redzone:   f4
  Stack after return:      f5
  Stack use after scope:   f8
  Global redzone:          f9
  Global init order:       f6
  Poisoned by user:        f7
  Contiguous container OOB:fc
  ASan internal:           fe
==4265==ABORTING


Event Two:

[gmic_gimp]./preview/ -debug -gimp_tk_photoillustration_preview 0,0.25,6,0.3,0.5,0.42735,1,0,5,0,1,0,0,1,0,0,1.2,98.5,5,0.5,0,0,0,0,0,1,0

[gmic_gimp]./preview/ -debug -gimp_tk_photoillustration_preview 0,0.25,6,0.3,0.5,0.940171,1,0,5,0,1,0,0,1,0,0,1.2,98.5,5,0.5,0,0,0,0,0,1,0
=================================================================
==4542==ERROR: AddressSanitizer: heap-use-after-free on address 0x60c0000fb080 at pc 0x54257d bp 0x7fee2584a7e0 sp 0x7fee2584a7d0
READ of size 1 at 0x60c0000fb080 thread T20
    #0 0x54257c in gmic::commands_line_to_CImgList(char const*) /home/gosgood/gmic/src/gmic.cpp:2649
    #1 0x65c45b in gmic& gmic::run<float>(char const*, cimg_library::CImgList<float>&, cimg_library::CImgList<char>&, float*, bool*) /home/gosgood/gmic/src/gmic.cpp:4410
    #2 0x41942a in process_thread(void*) /home/gosgood/gmic/src/gmic_gimp.cpp:1972
    #3 0x7fee33e4f1de (/lib64/libpthread.so.0+0x71de)
    #4 0x7fee32e2fa8c in __clone (/lib64/libc.so.6+0xe0a8c)

0x60c0000fb080 is located 0 bytes inside of 116-byte region [0x60c0000fb080,0x60c0000fb0f4)
freed by thread T0 here:
    #0 0x7fee38357aae in operator delete[](void*) (/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/libasan.so.1+0x52aae)
    #1 0x467d6f in cimg_library::CImg<char>::assign(unsigned int, unsigned int, unsigned int, unsigned int) CImg.h:9794
    #2 0x469c5a in cimg_library::CImg<char>::assign(char const*, unsigned int, unsigned int, unsigned int, unsigned int) CImg.h:9874
    #3 0x490d20 in cimg_library::CImg<char>& cimg_library::CImg<char>::assign<char>(cimg_library::CImg<char> const&) CImg.h:9939
    #4 0x47ceda in cimg_library::CImg<char>::operator=(cimg_library::CImg<char> const&) CImg.h:10345
    #5 0x418a11 in get_commands_line(bool) /home/gosgood/gmic/src/gmic_gimp.cpp:1893
    #6 0x42418f in process_preview() /home/gosgood/gmic/src/gmic_gimp.cpp:3065
    #7 0x7fee354bac9d (/usr/lib64/libgobject-2.0.so.0+0xfc9d)

previously allocated by thread T0 here:
    #0 0x7fee383575ee in operator new[](unsigned long) (/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/libasan.so.1+0x525ee)
    #1 0x467d7b in cimg_library::CImg<char>::assign(unsigned int, unsigned int, unsigned int, unsigned int) CImg.h:9795
    #2 0x469c5a in cimg_library::CImg<char>::assign(char const*, unsigned int, unsigned int, unsigned int, unsigned int) CImg.h:9874
    #3 0x490d20 in cimg_library::CImg<char>& cimg_library::CImg<char>::assign<char>(cimg_library::CImg<char> const&) CImg.h:9939
    #4 0x47ceda in cimg_library::CImg<char>::operator=(cimg_library::CImg<char> const&) CImg.h:10345
    #5 0x418a11 in get_commands_line(bool) /home/gosgood/gmic/src/gmic_gimp.cpp:1893
    #6 0x42418f in process_preview() /home/gosgood/gmic/src/gmic_gimp.cpp:3065
    #7 0x7fee354bad1e (/usr/lib64/libgobject-2.0.so.0+0xfd1e)

Thread T20 created by T0 here:
    #0 0x7fee38328583 in pthread_create (/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/libasan.so.1+0x23583)
    #1 0x425c21 in process_preview() /home/gosgood/gmic/src/gmic_gimp.cpp:3234
    #2 0x7fee354bad1e (/usr/lib64/libgobject-2.0.so.0+0xfd1e)

SUMMARY: AddressSanitizer: heap-use-after-free /home/gosgood/gmic/src/gmic.cpp:2649 gmic::commands_line_to_CImgList(char const*)
Shadow bytes around the buggy address:
  0x0c18800175c0: fa fa fa fa fa fa fa fa fd fd fd fd fd fd fd fd
  0x0c18800175d0: fd fd fd fd fd fd fd fd fa fa fa fa fa fa fa fa
  0x0c18800175e0: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd
  0x0c18800175f0: fa fa fa fa fa fa fa fa fd fd fd fd fd fd fd fd
  0x0c1880017600: fd fd fd fd fd fd fd fd fa fa fa fa fa fa fa fa
=>0x0c1880017610:[fd]fd fd fd fd fd fd fd fd fd fd fd fd fd fd fa
  0x0c1880017620: fa fa fa fa fa fa fa fa fd fd fd fd fd fd fd fd
  0x0c1880017630: fd fd fd fd fd fd fd fa fa fa fa fa fa fa fa fa
  0x0c1880017640: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fa
  0x0c1880017650: fa fa fa fa fa fa fa fa fd fd fd fd fd fd fd fd
  0x0c1880017660: fd fd fd fd fd fd fd fa fa fa fa fa fa fa fa fa
Shadow byte legend (one shadow byte represents 8 application bytes):
  Addressable:           00
  Partially addressable: 01 02 03 04 05 06 07 
  Heap left redzone:       fa
  Heap right redzone:      fb
  Freed heap region:       fd
  Stack left redzone:      f1
  Stack mid redzone:       f2
  Stack right redzone:     f3
  Stack partial redzone:   f4
  Stack after return:      f5
  Stack use after scope:   f8
  Global redzone:          f9
  Global init order:       f6
  Poisoned by user:        f7
  Contiguous container OOB:fc
  ASan internal:           fe
==4542==ABORTING

[

bugreport.txt
gmic console log attached]

Errors with some filters in "Testing / Iain fergusson"

Config: G'MIC and G'MIC for GIMP 1.6.5.1 on Xubuntu 15.04

List of the 5 broken filters and direct links to each report:

The filter Testing / Iain fergusson / Exfusion returns this error:

*** Error *** Command '-l': Invalid selection [-1--4] (contains starting indice '-4', not in range -2...1).

Very verbose output:

[gmic_gimp]./preview/ -v 0 -exfusion 20
[gmic]-2./ Start G'MIC interpreter.
[gmic]-2./ Set verbosity level to 0.
[gmic]-2./exfusion/ Set local variable cropwidth='440'.
[gmic]-2./exfusion/ Set local variable cropheight='293'.
[gmic]-2./exfusion/ Resize images [0,1] to 1024x1024x1x3, with no interpolation, neumann boundary conditions and alignment (0,0,0,0).
[gmic]./exfusion/*repeat/ ๏ฟฝ[0;31;59m๏ฟฝ[1m*** Error *** Command '-l': Invalid selection [-1--4] (contains starting indice '-4', not in range -2...1).๏ฟฝ[0;0;0m
[gmic]-2./exfusion/ Abort G'MIC interpreter.

[gmic_gimp]./error/ *** Error in ./exfusion/*repeat/ *** Command '-l': Invalid selection [-1--4] (contains starting indice '-4', not in range -2...1).
[gmic]-1./ Start G'MIC interpreter.
[gmic]-1./gimp_error_preview/gimp_print_preview/ Keep image [0] (1 image left).
[gmic]-1./gimp_error_preview/gimp_print_preview/ Render RGBA image [0] over a checkerboard background.
[gmic]-1./gimp_error_preview/gimp_print_preview/ Input image at position 1, with values (1;1^1;0.5^0;0.5) (1 image 1x2x1x3).
[gmic]-2./gimp_error_preview/gimp_print_preview/ Input image at position 2, with values (1.5,0,1.5;0,0,0;1.5,0,1.5) (1 image 3x3x1x1).
[gmic]-3./gimp_error_preview/gimp_print_preview/ Resize images [1,2] to 440x293x1x3, with linear interpolation, dirichlet boundary conditions and alignment (0,0,0,0).
[gmic]-3./gimp_error_preview/gimp_print_preview/ Multiply images [0,1,2].
[gmic]-1./gimp_error_preview/gimp_print_preview/ Cut image [0] in range [0,255].
[gmic]-0./gimp_error_preview/gimp_print_preview/*local/ Input empty image at position 0 (1 image 0x0x0x0).
[gmic]-1./gimp_error_preview/gimp_print_preview/*local/ Draw text 'Preview error:' at position (0,0) on image [0], with font height 32, opacity 1 and color (255).
[gmic]-1./gimp_error_preview/gimp_print_preview/*local/ Resize image [0] to 100%x140%x1x1, with no interpolation, dirichlet boundary conditions and alignment (0,0,0,0).
[gmic]-1./gimp_error_preview/gimp_print_preview/*local/ Input black image at position 0 (1 image 176x45x1x3).
[gmic]-1./gimp_error_preview/gimp_print_preview/*local/ Fill image [0] with color (255,200,128).
[gmic]-2./gimp_error_preview/gimp_print_preview/*local/ Append images [0,1] along the 'c'-axis, with alignment 0.
[gmic]-0./gimp_error_preview/gimp_print_preview/*local/ Input image at position 0, with values (42,42,42,32,69,114,114,111,114,32,105(...)0,103,101,32,45,50,46,46,46,49,41,46) (1 image 130x1x1x1).
[gmic]-1./gimp_error_preview/gimp_print_preview/*local/ Fill image [0] with expression '>if(i>32||j(-1)<40,j(-1)+1,0)'.
[gmic]-2./gimp_error_preview/gimp_print_preview/*local/ Compute boolean equality between image [1] and 0.
[gmic]-2./gimp_error_preview/gimp_print_preview/*local/ Multiply image [1] by 256.
[gmic]-2./gimp_error_preview/gimp_print_preview/*local/ Compute pointwise maximum of all images [0,1] together.
[gmic]-1./gimp_error_preview/gimp_print_preview/*local/ Split image [0] in 'discard' mode, according to value sequence '256'.
[gmic]-3./gimp_error_preview/gimp_print_preview/*local/ Split images [0,1,2] along the 'y'-axis, into blocs of 52 pixels.
[gmic]-1./gimp_error_preview/gimp_print_preview/*local/*repeat/*local/ Input empty image at position 1 (1 image 0x0x0x0).
[gmic]-2./gimp_error_preview/gimp_print_preview/*local/*repeat/*local/ Draw text '*** Error in ./exfusion/*repeat/ *** Command' at position (0,0) on image [1], with font height 15, opacity 1 and color (255).
[gmic]-2./gimp_error_preview/gimp_print_preview/*local/*repeat/*local/ Remove image [0] (1 image left).
[gmic]-1./gimp_error_preview/gimp_print_preview/*local/*repeat/*local/ Input empty image at position 1 (1 image 0x0x0x0).
[gmic]-2./gimp_error_preview/gimp_print_preview/*local/*repeat/*local/ Draw text ''-l': Invalid selection [-1--4] (contains' at position (0,0) on image [1], with font height 15, opacity 1 and color (255).
[gmic]-2./gimp_error_preview/gimp_print_preview/*local/*repeat/*local/ Remove image [0] (1 image left).
[gmic]-1./gimp_error_preview/gimp_print_preview/*local/*repeat/*local/ Input empty image at position 1 (1 image 0x0x0x0).
[gmic]-2./gimp_error_preview/gimp_print_preview/*local/*repeat/*local/ Draw text 'starting indice '-4', not in range -2...1).' at position (0,0) on image [1], with font height 15, opacity 1 and color (255).
[gmic]-2./gimp_error_preview/gimp_print_preview/*local/*repeat/*local/ Remove image [0] (1 image left).
[gmic]-3./gimp_error_preview/gimp_print_preview/*local/ Append images [0,1,2] along the 'y'-axis, with alignment 0.
[gmic]-1./gimp_error_preview/gimp_print_preview/*local/ Input image at position 0, with values '255' (1 image 326x45x1x3).
[gmic]-2./gimp_error_preview/gimp_print_preview/*local/ Append images [0,1] along the 'c'-axis, with alignment 0.
[gmic]-3./gimp_error_preview/gimp_print_preview/ Append images [1,2] along the 'y'-axis, with alignment 0.5.
[gmic]-2./gimp_error_preview/gimp_print_preview/*if/ Resize image [1] to 440x293x1x4, with no interpolation, dirichlet boundary conditions and alignment (0.5,0.5,0,0).
[gmic]-2./gimp_error_preview/gimp_print_preview/*if/ Blend all images [0,1] together, using 'alpha' mode and opacity 1.
[gmic]-1./ End G'MIC interpreter.

gmic compile warning Version 1.6.8 (pre-release #111015)

OpenEXR version 2.2.0.4

make debug
make "CFLAGS+=-Dgmic_build -Dcimg_use_zlib -I/usr/include -Dgmic_prerelease="\"date +%m%d%y\"" -std=c++11 -Wall -W -Dcimg_use_vt100 -Dcimg_use_abort -Dcimg_use_png -Dcimg_use_jpeg -Dcimg_use_tiff -Dcimg_use_curl -Dcimg_use_fftw3 -Dgmic_is_parallel -fopenmp -Dcimg_use_openmp -Dcimg_display=1 -Dcimg_appname=\"gmic\" -I/usr/X11R6/include -Dcimg_use_openexr -I/usr/include/OpenEXR -Dcimg_use_opencv pkg-config opencv --cflags -I/usr/include/opencv -ansi -pedantic -Dcimg_verbosity=3 -g -fsanitize=address " "LIBS+=-lz -L/usr/lib -lm -lpng -lz -ljpeg -ltiff -lcurl -lfftw3 -lfftw3_threads -lpthread -lgomp -L/usr/X11R6/lib -lX11 -lpthread -lIlmImf -lHalf pkg-config opencv --libs -lopencv_core -lopencv_highgui " gmic
make[1]: Entering directory '/home/orti/Downloads/gmic-master/src'
g++ -o gmic gmic.cpp -Dgmic_main -Dgmic_build -Dcimg_use_zlib -I/usr/include -Dgmic_prerelease="111015" -std=c++11 -Wall -W -Dcimg_use_vt100 -Dcimg_use_abort -Dcimg_use_png -Dcimg_use_jpeg -Dcimg_use_tiff -Dcimg_use_curl -Dcimg_use_fftw3 -Dgmic_is_parallel -fopenmp -Dcimg_use_openmp -Dcimg_display=1 -Dcimg_appname="gmic" -I/usr/X11R6/include -Dcimg_use_openexr -I/usr/include/OpenEXR -Dcimg_use_opencv -I/usr/include/opencv -I/usr/include/opencv -ansi -pedantic -Dcimg_verbosity=3 -g -fsanitize=address -lz -L/usr/lib -lm -lpng -lz -ljpeg -ltiff -lcurl -lfftw3 -lfftw3_threads -lpthread -lgomp -L/usr/X11R6/lib -lX11 -lpthread -lIlmImf -lHalf -lopencv_calib3d -lopencv_contrib -lopencv_core -lopencv_features2d -lopencv_flann -lopencv_gpu -lopencv_highgui -lopencv_imgproc -lopencv_legacy -lopencv_ml -lopencv_objdetect -lopencv_ocl -lopencv_photo -lopencv_stitching -lopencv_superres -lopencv_ts -lopencv_video -lopencv_videostab -lopencv_core -lopencv_highgui
In file included from /usr/include/OpenEXR/ImfXdr.h:107:0,
from /usr/include/OpenEXR/ImfGenericOutputFile.h:40,
from /usr/include/OpenEXR/ImfTiledOutputFile.h:50,
from /usr/include/OpenEXR/ImfInputFile.h:48,
from ./CImg.h:425,
from gmic.h:172,
from gmic.cpp:2141:
/usr/include/OpenEXR/IexMathExc.h:49:36: Warnung: Beim Ausfรผhren des Arguments 1 des Makros DEFINE_EXC_EXP: Leere Makroargumente sind nach ISO-C++98 unbestimmt [-Wpedantic]
DEFINE_EXC (OverflowExc, MathExc) // Overflow
^
/usr/include/OpenEXR/IexMathExc.h:50:36: Warnung: Beim Ausfรผhren des Arguments 1 des Makros DEFINE_EXC_EXP: Leere Makroargumente sind nach ISO-C++98 unbestimmt [-Wpedantic]
DEFINE_EXC (UnderflowExc, MathExc) // Underflow
^
/usr/include/OpenEXR/IexMathExc.h:51:36: Warnung: Beim Ausfรผhren des Arguments 1 des Makros DEFINE_EXC_EXP: Leere Makroargumente sind nach ISO-C++98 unbestimmt [-Wpedantic]
DEFINE_EXC (DivzeroExc, MathExc) // Division by zero
^
/usr/include/OpenEXR/IexMathExc.h:52:36: Warnung: Beim Ausfรผhren des Arguments 1 des Makros DEFINE_EXC_EXP: Leere Makroargumente sind nach ISO-C++98 unbestimmt [-Wpedantic]
DEFINE_EXC (InexactExc, MathExc) // Inexact result
^
/usr/include/OpenEXR/IexMathExc.h:53:36: Warnung: Beim Ausfรผhren des Arguments 1 des Makros DEFINE_EXC_EXP: Leere Makroargumente sind nach ISO-C++98 unbestimmt [-Wpedantic]
DEFINE_EXC (InvalidFpOpExc, MathExc) // Invalid operation
^
In file included from /usr/include/OpenEXR/ImfGenericOutputFile.h:40:0,
from /usr/include/OpenEXR/ImfTiledOutputFile.h:50,
from /usr/include/OpenEXR/ImfInputFile.h:48,
from ./CImg.h:425,
from gmic.h:172,
from gmic.cpp:2141:
/usr/include/OpenEXR/ImfXdr.h:833:34: Warnung: C++11 long long Ganzzahlkonstante verwendet [-Wlong-long]
u.i = ((Int64) b[0] & 0x00000000000000ffULL) |
^
/usr/include/OpenEXR/ImfXdr.h:834:27: Warnung: C++11 long long Ganzzahlkonstante verwendet [-Wlong-long](%28%28Int64%29 b[1] << 8%29 & 0x000000000000ff00ULL) |
^
/usr/include/OpenEXR/ImfXdr.h:835:27: Warnung: C++11 long long Ganzzahlkonstante verwendet [-Wlong-long](%28%28Int64%29 b[2] << 16%29 & 0x0000000000ff0000ULL) |
^
/usr/include/OpenEXR/ImfXdr.h:836:27: Warnung: C++11 long long Ganzzahlkonstante verwendet [-Wlong-long](%28%28Int64%29 b[3] << 24%29 & 0x00000000ff000000ULL) |
^
/usr/include/OpenEXR/ImfXdr.h:837:27: Warnung: C++11 long long Ganzzahlkonstante verwendet [-Wlong-long](%28%28Int64%29 b[4] << 32%29 & 0x000000ff00000000ULL) |
^
/usr/include/OpenEXR/ImfXdr.h:838:27: Warnung: C++11 long long Ganzzahlkonstante verwendet [-Wlong-long](%28%28Int64%29 b[5] << 40%29 & 0x0000ff0000000000ULL) |
^
/usr/include/OpenEXR/ImfXdr.h:839:27: Warnung: C++11 long long Ganzzahlkonstante verwendet [-Wlong-long](%28%28Int64%29 b[6] << 48%29 & 0x00ff000000000000ULL) |
^
In file included from /usr/include/OpenEXR/ImathMatrix.h:47:0,
from /usr/include/OpenEXR/ImfMatrixAttribute.h:50,
from ./CImg.h:427,
from gmic.h:172,
from gmic.cpp:2141:
/usr/include/OpenEXR/ImathFun.h:263:19: Warnung: C++11 long long Ganzzahlkonstante verwendet [-Wlong-long]
return (u.i & 0x7ff0000000000000LL) != 0x7ff0000000000000LL;
^
/usr/include/OpenEXR/ImathFun.h:263:44: Warnung: C++11 long long Ganzzahlkonstante verwendet [-Wlong-long]
return (u.i & 0x7ff0000000000000LL) != 0x7ff0000000000000LL;
^
In file included from /usr/include/OpenEXR/ImfGenericOutputFile.h:40:0,
from /usr/include/OpenEXR/ImfTiledOutputFile.h:50,
from /usr/include/OpenEXR/ImfInputFile.h:48,
from ./CImg.h:425,
from gmic.h:172,
from gmic.cpp:2141:
/usr/include/OpenEXR/ImfXdr.h:912:44: Warnung: ISO-C++ 1998 unterstรผtzt nicht ยปlong longยซ [-Wlong-long]
template <> inline int size () {return 8;}
^

OpenEXR version 2.2.0.4

G'MIC 1.7.2 fails while updating definition file.

Version: 1.7.2
OS: Arch Linux 64bit

gmic -v +10 -up

[gmic]-0./ Start G'MIC interpreter.
[gmic]-0./ Set verbosity level to 10.
[gmic]-0./ Update commands from the latest definition file on the G'MIC server.
[gmic]-0./up/_update/ Decrement verbosity level (set to 9).
[gmic]-0./up/_update/ Set local variable out='/home/jason/.config/gmic/cli_update172.gmic'.
[gmic]-0./up/_update/_local/ Start '-local..-endlocal' block, with selected image [].
[gmic]-0./up/_update/_local/ Input file 'http://gmic.eu/cli_update172.gmic' at position 0
[gmic]-0./up/_update/local/ ** Error *** [instance(0,0,(nil))] CImgList::load_cimg(): CImg header not found in file '/tmp/QJpa3fFW.cimgz'.
[gmic]-0./up/_update/_local/ Reach '-onfail' block.
[gmic]-0./up/_update/_local/ Increment verbosity level (set to 10).
[gmic]-0./up/ *** Error *** Command '-update' : Unreachable update file.

keeping a part of your lineart transparent when using G'mic colorize interactive

I'm coloring some lineart with transparant background with g'mic colorize interactive and
I'm using the options "input type: lineart" and "output type:image and colors: two layers".

I would like to color one part of this lineart but keep one part transparant. Is there a possibility to do this? Would it be possible to set an option to put "transparent" marker points in the image?

Stereo video: error with filenames containing spaces

Config: G'MIC and G'MIC for GIMP 1.6.5.1 on Xubuntu 15.04

The filter Testing > Garagecoder > Stereo video doesn't work when an image contains spaces in its filename (e.g. sample 2.jpg):

[gmic_gimp]./preview/ -v 0 -gcd_stereo_vid_preview "/home/user/images/sample.jpg","/home/user/images/sample 2.jpg","/home/user/images",0,0.5,1.2,0.25,2,4,1,5,1
[gmic]-2./ Start G'MIC interpreter.
[gmic]-2./ Set verbosity level to 0.
[gmic]-2./gcd_stereo_vid_preview/ Input file '2.jpg' at position 2
[gmic]-2./gcd_stereo_vid_preview/ ๏ฟฝ[0;31;59m๏ฟฝ[1m*** Error *** Unknown filename '2.jpg'.๏ฟฝ[0;0;0m
[gmic]-2./ Abort G'MIC interpreter.

[gmic_gimp]./error/ *** Error in ./gcd_stereo_vid_preview/ *** Unknown filename '2.jpg'.
[gmic]-1./ Start G'MIC interpreter.
[gmic]-1./gimp_error_preview/gimp_print_preview/ Keep image [0] (1 image left).
[gmic]-1./gimp_error_preview/gimp_print_preview/ Render RGBA image [0] over a checkerboard background.
[gmic]-1./gimp_error_preview/gimp_print_preview/ Input image at position 1, with values (1;1^1;0.5^0;0.5) (1 image 1x2x1x3).
[gmic]-2./gimp_error_preview/gimp_print_preview/ Input image at position 2, with values (1.5,0,1.5;0,0,0;1.5,0,1.5) (1 image 3x3x1x1).
[gmic]-3./gimp_error_preview/gimp_print_preview/ Resize images [1,2] to 440x293x1x3, with linear interpolation, dirichlet boundary conditions and alignment (0,0,0,0).
[gmic]-3./gimp_error_preview/gimp_print_preview/ Multiply images [0,1,2].
[gmic]-1./gimp_error_preview/gimp_print_preview/ Cut image [0] in range [0,255].
[gmic]-0./gimp_error_preview/gimp_print_preview/*local/ Input empty image at position 0 (1 image 0x0x0x0).
[gmic]-1./gimp_error_preview/gimp_print_preview/*local/ Draw text 'Preview error:' at position (0,0) on image [0], with font height 32, opacity 1 and color (255).
[gmic]-1./gimp_error_preview/gimp_print_preview/*local/ Resize image [0] to 100%x140%x1x1, with no interpolation, dirichlet boundary conditions and alignment (0,0,0,0).
[gmic]-1./gimp_error_preview/gimp_print_preview/*local/ Input black image at position 0 (1 image 176x45x1x3).
[gmic]-1./gimp_error_preview/gimp_print_preview/*local/ Fill image [0] with color (255,200,128).
[gmic]-2./gimp_error_preview/gimp_print_preview/*local/ Append images [0,1] along the 'c'-axis, with alignment 0.
[gmic]-0./gimp_error_preview/gimp_print_preview/*local/ Input image at position 0, with values (42,42,42,32,69,114,114,111,114,32,105(...)09,101,32,39,50,46,106,112,103,39,46) (1 image 68x1x1x1).
[gmic]-1./gimp_error_preview/gimp_print_preview/*local/ Fill image [0] with expression '>if(i>32||j(-1)<40,j(-1)+1,0)'.
[gmic]-2./gimp_error_preview/gimp_print_preview/*local/ Compute boolean equality between image [1] and 0.
[gmic]-2./gimp_error_preview/gimp_print_preview/*local/ Multiply image [1] by 256.
[gmic]-2./gimp_error_preview/gimp_print_preview/*local/ Compute pointwise maximum of all images [0,1] together.
[gmic]-1./gimp_error_preview/gimp_print_preview/*local/ Split image [0] in 'discard' mode, according to value sequence '256'.
[gmic]-2./gimp_error_preview/gimp_print_preview/*local/ Split images [0,1] along the 'y'-axis, into blocs of 52 pixels.
[gmic]-1./gimp_error_preview/gimp_print_preview/*local/*repeat/*local/ Input empty image at position 1 (1 image 0x0x0x0).
[gmic]-2./gimp_error_preview/gimp_print_preview/*local/*repeat/*local/ Draw text '*** Error in ./gcd_stereo_vid_preview/ ***' at position (0,0) on image [1], with font height 15, opacity 1 and color (255).
[gmic]-2./gimp_error_preview/gimp_print_preview/*local/*repeat/*local/ Remove image [0] (1 image left).
[gmic]-1./gimp_error_preview/gimp_print_preview/*local/*repeat/*local/ Input empty image at position 1 (1 image 0x0x0x0).
[gmic]-2./gimp_error_preview/gimp_print_preview/*local/*repeat/*local/ Draw text 'Unknown filename '2.jpg'.' at position (0,0) on image [1], with font height 15, opacity 1 and color (255).
[gmic]-2./gimp_error_preview/gimp_print_preview/*local/*repeat/*local/ Remove image [0] (1 image left).
[gmic]-2./gimp_error_preview/gimp_print_preview/*local/ Append images [0,1] along the 'y'-axis, with alignment 0.
[gmic]-1./gimp_error_preview/gimp_print_preview/*local/ Input image at position 0, with values '255' (1 image 305x30x1x3).
[gmic]-2./gimp_error_preview/gimp_print_preview/*local/ Append images [0,1] along the 'c'-axis, with alignment 0.
[gmic]-3./gimp_error_preview/gimp_print_preview/ Append images [1,2] along the 'y'-axis, with alignment 0.5.
[gmic]-2./gimp_error_preview/gimp_print_preview/*if/ Resize image [1] to 440x293x1x4, with no interpolation, dirichlet boundary conditions and alignment (0.5,0.5,0,0).
[gmic]-2./gimp_error_preview/gimp_print_preview/*if/ Blend all images [0,1] together, using 'alpha' mode and opacity 1.
[gmic]-1./ End G'MIC interpreter.

Artifacs appear when using Inpaint [transport-diffusion]

I was playing with the Inpaint [transport-diffusion] filter on GIMP and I noticed that for very small masked areas it can create artifacts where some pixels will turn into strong yellow, green, red or blue color.

This happens when using Edge Oriented regularization and high values for Regularization Iterations setting.

I have a very minimal example, it's just a 4x4 image that when processed creates two yellow pixels next to the beige pixel. I used these settings on the filter:

* Smoothness:                0
* Regularization:            Edge Oriented
* Regularization iterations: 100
* Mask color:                #FF0000
* Mask dilation:             0

I tested this on both Windows and Linux 64bit with versions 1.7.2 and 1.7.3.

EXAMPLE -> inpaint_bug <- EXAMPLE

Add Japanese Translation

Hi, I have translated two filters: Inpaint [patch-based] and Upscale [scale2x].

Inpaint [patch-based]
Original:

#@gimp Inpaint [patch-based] : gimp_inpaint_patch, gimp_no_preview
#@gimp : Patch size = _int(7,1,64)
#@gimp : Lookup size = _float(16,1,32)
#@gimp : Lookup factor = _float(0.1,0,1)
#@gimp : Blend size = _float(1.2,0,5)
#@gimp : Blend threshold = _float(0,0,1)
#@gimp : Blend decay = _float(0.05,0,0.5)
#@gimp : Blend scales = _int(10,1,20)
#@gimp : Allow outer blending = _bool(1)
#@gimp : Mask color = _color(255,0,0,255)
#@gimp : Mask dilation = _int(0,0,32)
#@gimp : sep = separator(), note = note("<small>A quick tutorial on how to use this filter can be found here:</small>")
#@gimp : link = link("G'MIC Inpainting tutorial on Patrick David's blog.","http://blog.patdavid.net/2014/02/getting-around-in-gimp-gmic-inpainting.html")
#@gimp : sep = separator(), note = note("<small>Authors: <i>David Tschumperl&#233;</i> and <i>Maxime Daisy</i>.      Latest update: <i>11/25/2015</i>.</small>")

Japanese translation:

#@gimp_ja ่ฃœไฟฎ [ใƒ‘ใƒƒใƒใƒ™ใƒผใ‚น] : gimp_inpaint_patch, gimp_no_preview
#@gimp_ja : ใƒ‘ใƒƒใƒใ‚ตใ‚คใ‚บ = _int(7,1,64)
#@gimp_ja : ๅ‚็…งใ‚ตใ‚คใ‚บ = _float(16,1,32)
#@gimp_ja : ๅ‚็…งๅŸบๆ•ฐ = _float(0.1,0,1)
#@gimp_ja : ใผใ‹ใ—ใ‚ตใ‚คใ‚บ = _float(1.2,0,5)
#@gimp_ja : ใผใ‹ใ—ใ—ใใ„ๅ€ค = _float(0,0,1)
#@gimp_ja : ใผใ‹ใ—ๆธ›่กฐ = _float(0.05,0,0.5)
#@gimp_ja : ใผใ‹ใ—ใ‚นใ‚ฑใƒผใƒซ = _int(10,1,20)
#@gimp_ja : ใƒžใ‚นใ‚ฏๅค–้ ˜ๅŸŸใฎใผใ‹ใ—ใ‚’่จฑๅฏ = _bool(1)
#@gimp_ja : ใƒžใ‚นใ‚ฏใฎ่‰ฒ = _color(255,0,0,255)
#@gimp_ja : ใƒžใ‚นใ‚ฏใ‚’ๅบƒใ’ใ‚‹ = _int(0,0,32)
#@gimp_ja : sep = separator(), note = note("<small>ใ“ใฎใƒ•ใ‚ฃใƒซใ‚ฟใฎ่ฉณใ—ใ„ไฝฟใ„ๆ–นใฏใ“ใกใ‚‰ใงๅ‚็…งใงใใพใ™ใ€‚</small>")
#@gimp_ja : link = link("Patrick David ๆฐใฎใƒ–ใƒญใ‚ฐไธŠใฎ G'MIC ่ฃœไฟฎ ใƒ•ใ‚ฃใƒซใ‚ฟใซใคใ„ใฆใฎใƒใƒฅใƒผใƒˆใƒชใ‚ขใƒซ (่‹ฑ่ชž)","http://blog.patdavid.net/2014/02/getting-around-in-gimp-gmic-inpainting.html")
#@gimp_ja : sep = separator(), note = note("<small>ไฝœ่€…: <i>David Tschumperl&#233;</i>ใ€<i>Maxime Daisy</i>      ๆœ€็ต‚ๆ›ดๆ–ฐ: <i>2015/11/25</i></small>")

Upscale [scale2x]
Original:

#@gimp Upscale [scale2x] : gimp_scalenx, gimp_scalenx_preview(0)
#@gimp : Scaling factor = choice("x 2","x 3","x 4","x 6","x 8","x 9","x 12","x 16","x 18","x 27")
#@gimp : Colorbase = choice(0,"RGB","YCbCr","Lab")
#@gimp : note = note{"\n<small><b>Note: </b>
#@gimp : This filter re-implements the scaling algorithm described at :
#@gimp : </small>"}
#@gimp : note = link("http://scale2x.sourceforge.net")
#@gimp : note = note{"<small>
#@gimp : This filter is useful for resizing images that have very few colors
#@gimp : (e.g. indexed images). It is generally useless for true colors images.
#@gimp : </small>"}
#@gimp : sep = separator(), note = note("<small>Author: <i>David Tschumperl&#233;</i>.      Latest update: <i>12/29/2010</i>.</small>")

Japanese translation:

#@gimp_ja ใ‚ขใƒƒใƒ—ใ‚นใ‚ฑใƒผใƒซ [scale2x] : gimp_scalenx, gimp_scalenx_preview(0)
#@gimp_ja : ๆ‹กๅคง็Ž‡ = choice("x 2","x 3","x 4","x 6","x 8","x 9","x 12","x 16","x 18","x 27")
#@gimp_ja : ่‰ฒ็ฉบ้–“ = choice(0,"RGB","YCbCr","Lab")
#@gimp_ja : note = note{"\n<small><b>ๆณจ: </b>
#@gimp_ja : ใ“ใฎใƒ•ใ‚ฃใƒซใ‚ฟใฏใ€ไปฅไธ‹ใฎ Web ใ‚ตใ‚คใƒˆใงๅ…ฌ้–‹ใ•ใ‚Œใฆใ„ใ‚‹็”ปๅƒๆ‹กๅคงใ‚ขใƒซใ‚ดใƒชใ‚บใƒ ใ‚’ๅฎŸ่ฃ…ใ—ใŸใ‚‚ใฎใงใ™ใ€‚
#@gimp_ja : </small>"}
#@gimp_ja : note = link("http://scale2x.sourceforge.net")
#@gimp_ja : note = note{"<small>
#@gimp_ja : ใ“ใฎใƒ•ใ‚ฃใƒซใ‚ฟใฏใ€ใ‚คใƒณใƒ‡ใƒƒใ‚ฏใ‚น็”ปๅƒ็ญ‰ใฎ่‰ฒๆ•ฐใฎๅฐ‘ใชใ„็”ปๅƒใฎใƒชใ‚ตใ‚คใ‚บใ‚’็›ฎ็š„ใจใ—ใŸใ‚‚ใฎใงใ™ใ€‚
#@gimp_ja : ใƒ•ใƒซใ‚ซใƒฉใƒผ็”ปๅƒใซๅฏพใ—ใฆใฎไฝฟ็”จใซใฏๅŸบๆœฌ็š„ใซ้ฉใ—ใพใ›ใ‚“ใ€‚
#@gimp_ja : </small>"}
#@gimp_ja : sep = separator(), note = note("<small>ไฝœ่€…: <i>David Tschumperl&#233;</i>      ๆœ€็ต‚ๆ›ดๆ–ฐ: <i>2010/12/29</i></small>")

Returning filter parameter values - problem with certain symbols

Windows gimp plugin, version 1.6.6.1 (gimp 2.8.10)

There seems to be a problem returning text values containing the less than symbol "<", presumably due to markup expecting closed tags. For example:

#@gimp Test: test_return,test_return(1)
#@gimp : Code = text(1,"\n\n\n\n")
test_return : -skip ${1=,}
  -u "{watch<this}"

Instead of the expected text it returns the parameter name. Perhaps there is a workaround?

remembering marker points in the colorize (interactive) filter when quitting GIMP/Krita

At the moment there's no possibility to keep your marker points in the colorize (interactive) filter after quiting GIMP (or Krita). For example if I want to start to colorize lineart with the colorize (interactive) filter today and continue working on it tomorrow I have no choice but keeping my pc and GIMP running.

It would be really nice if there would be a way to preserve these markers which would make it easier to keep progressing with one image stretched over several days.. I'm not exactly sure if this something that can be coded in G'mic but this would be a helpfull improvement to the filter.

Preview buggy when used from GIMP-2.9

Hey

GIMP's plug-in preview API hasn't changed in ages. Users of GIMP-2.9 would appreciate it very much if you could test GMIC on GIMP-2.9 and fix the little oddities which would lead to a far better user experience. Specifically, the preview (sometimes?) cannot be zoomed in/out, and sometimes the preview gets drawn off-canvas. You'll see what I mean when you try it.
http://i.imgur.com/ROcFXvA.png

problem with colorize interactive and black lineart

I tried to use the colorize interactieve filter on lineart. I previously cleaned up this lineart and removed all whitespace, thus keeping only my black lineart.

The problem is, the colorize interactive filter is using a black background which makes the lineart undistinguishable form the background.

Is this something that can be solved?

Tileable rotation: "Invalid image size" for preview while working when applied

Config: G'MIC and G'MIC for GIMP 1.6.5.1 on Xubuntu 15.04

When clicking on Arrays & tiles > Tileable rotation, the preview doesn't work for some images while the filter works when applied:

capture d ecran_2015-08-06_14-14-26

Verbose output:

[gmic_gimp]./preview/ -v -99 -gimp_rotate_tileable_preview 45,8,0

Very verbose output:

[gmic_gimp]./preview/ -v 0 -gimp_rotate_tileable_preview 45,8,0
[gmic]-1./ Start G'MIC interpreter.
[gmic]-1./ Set verbosity level to 0.
[gmic]-1./gimp_rotate_tileable_preview/*local/gimp_rotate_tileable/ Rotate image [0] with angle 45 deg. and make them tileable.
[gmic]-1./gimp_rotate_tileable_preview/*local/gimp_rotate_tileable/rotate_tileable/ ๏ฟฝ[0;31;59m๏ฟฝ[1m*** Error *** Command '-rotate_tileable': Invalid image dimension (440,293,1,3).๏ฟฝ[0;0;0m
[gmic]-1./gimp_rotate_tileable_preview/*local/gimp_warning_preview/gimp_print_preview/ Keep image [0] (1 image left).
[gmic]-1./gimp_rotate_tileable_preview/*local/gimp_warning_preview/gimp_print_preview/ Render RGBA image [0] over a checkerboard background.
[gmic]-1./gimp_rotate_tileable_preview/*local/gimp_warning_preview/gimp_print_preview/ Input image at position 1, with values (1;1^1;0.5^0;0.5) (1 image 1x2x1x3).
[gmic]-2./gimp_rotate_tileable_preview/*local/gimp_warning_preview/gimp_print_preview/ Input image at position 2, with values (1.5,0,1.5;0,0,0;1.5,0,1.5) (1 image 3x3x1x1).
[gmic]-3./gimp_rotate_tileable_preview/*local/gimp_warning_preview/gimp_print_preview/ Resize images [1,2] to 440x293x1x3, with linear interpolation, dirichlet boundary conditions and alignment (0,0,0,0).
[gmic]-3./gimp_rotate_tileable_preview/*local/gimp_warning_preview/gimp_print_preview/ Multiply images [0,1,2].
[gmic]-1./gimp_rotate_tileable_preview/*local/gimp_warning_preview/gimp_print_preview/ Cut image [0] in range [0,255].
[gmic]-0./gimp_rotate_tileable_preview/*local/gimp_warning_preview/gimp_print_preview/*local/ Input empty image at position 0 (1 image 0x0x0x0).
[gmic]-1./gimp_rotate_tileable_preview/*local/gimp_warning_preview/gimp_print_preview/*local/ Draw text 'Preview warning:' at position (0,0) on image [0], with font height 32, opacity 1 and color (255).
[gmic]-1./gimp_rotate_tileable_preview/*local/gimp_warning_preview/gimp_print_preview/*local/ Resize image [0] to 100%x140%x1x1, with no interpolation, dirichlet boundary conditions and alignment (0,0,0,0).
[gmic]-1./gimp_rotate_tileable_preview/*local/gimp_warning_preview/gimp_print_preview/*local/ Input black image at position 0 (1 image 208x45x1x3).
[gmic]-1./gimp_rotate_tileable_preview/*local/gimp_warning_preview/gimp_print_preview/*local/ Fill image [0] with color (255,200,128).
[gmic]-2./gimp_rotate_tileable_preview/*local/gimp_warning_preview/gimp_print_preview/*local/ Append images [0,1] along the 'c'-axis, with alignment 0.
[gmic]-0./gimp_rotate_tileable_preview/*local/gimp_warning_preview/gimp_print_preview/*local/ Input image at position 0, with values (73,110,118,97,108,105,100,32,105,109,97,103,101,32,115,105,122,101) (1 image 18x1x1x1).
[gmic]-1./gimp_rotate_tileable_preview/*local/gimp_warning_preview/gimp_print_preview/*local/ Fill image [0] with expression '>if(i>32||j(-1)<30,j(-1)+1,0)'.
[gmic]-2./gimp_rotate_tileable_preview/*local/gimp_warning_preview/gimp_print_preview/*local/ Compute boolean equality between image [1] and 0.
[gmic]-2./gimp_rotate_tileable_preview/*local/gimp_warning_preview/gimp_print_preview/*local/ Multiply image [1] by 256.
[gmic]-2./gimp_rotate_tileable_preview/*local/gimp_warning_preview/gimp_print_preview/*local/ Compute pointwise maximum of all images [0,1] together.
[gmic]-1./gimp_rotate_tileable_preview/*local/gimp_warning_preview/gimp_print_preview/*local/ Split image [0] in 'discard' mode, according to value sequence '256'.
[gmic]-1./gimp_rotate_tileable_preview/*local/gimp_warning_preview/gimp_print_preview/*local/ Split image [0] along the 'y'-axis, into blocs of 39 pixels.
[gmic]-1./gimp_rotate_tileable_preview/*local/gimp_warning_preview/gimp_print_preview/*local/*repeat/*local/ Input empty image at position 1 (1 image 0x0x0x0).
[gmic]-2./gimp_rotate_tileable_preview/*local/gimp_warning_preview/gimp_print_preview/*local/*repeat/*local/ Draw text 'Invalid image size' at position (0,0) on image [1], with font height 22, opacity 1 and color (255).
[gmic]-2./gimp_rotate_tileable_preview/*local/gimp_warning_preview/gimp_print_preview/*local/*repeat/*local/ Remove image [0] (1 image left).
[gmic]-1./gimp_rotate_tileable_preview/*local/gimp_warning_preview/gimp_print_preview/*local/ Append image [0] along the 'y'-axis, with alignment 0.
[gmic]-1./gimp_rotate_tileable_preview/*local/gimp_warning_preview/gimp_print_preview/*local/ Input image at position 0, with values '255' (1 image 165x22x1x3).
[gmic]-2./gimp_rotate_tileable_preview/*local/gimp_warning_preview/gimp_print_preview/*local/ Append images [0,1] along the 'c'-axis, with alignment 0.
[gmic]-3./gimp_rotate_tileable_preview/*local/gimp_warning_preview/gimp_print_preview/ Append images [1,2] along the 'y'-axis, with alignment 0.5.
[gmic]-2./gimp_rotate_tileable_preview/*local/gimp_warning_preview/gimp_print_preview/*if/ Resize image [1] to 440x293x1x4, with no interpolation, dirichlet boundary conditions and alignment (0.5,0.5,0,0).
[gmic]-2./gimp_rotate_tileable_preview/*local/gimp_warning_preview/gimp_print_preview/*if/ Blend all images [0,1] together, using 'alpha' mode and opacity 1.
[gmic]-1./ End G'MIC interpreter.

Empty $HOME/.gmic file leads to SIGSEGV (Segmentation Fault) on gmic_gimp plug-in load.

Hello David,
One of those silly corner cases that borders on user error. Seems I can crash the gmic_gimp plug-in by creating an empty (0 byte content) .gmic file, an exercise verging on pointlessness, but I'm prone to such when I'm sleepy or distracted. This has been going on since March on a machine I don't run gmic on all that much, or run Gimp with the plug-in, and when I did, and it crashed, I couldn't be arsed to figure out why, and I'd use some other machine where gmic and gimp gave no trouble. Except today my curiosity got the better of me. While I'm reporting on the current version, I could reproduce this on 1.6.5.2, the oldest gmic I still have running. Probably some sort of notice in the preview window would be nicer than a segfault.
Particulars:
Version:
1.6.8 prerelease #10242015

To reproduce:
Create an empty .gmic file in $HOME by any suitable means, such as:
$ touch .gmic

Result: SEGFAULT on plug-in load
Reproducable: Always

Workaround:
Delete the empty .gmic file or put something useful in it.

git:

commit f152ba3c5e4b91d38afb5ea0dcb5c63c7ca783ff
Author: dtschump <[email protected]>
Date:   Sat Oct 24 14:11:21 2015 +0200

    Add Download icon in menu bar of web pages

Failure point: at gmic_gimp.cpp
1302          } else {
1303            com.load_raw(filename);
1304   ------>  if (cimg_sscanf(com,"1 unsigned_cha%c",&sep)==1 && sep=='r')
1305              CImgList<char>::get_unserialize(com)[0].move_to(_gmic_additional_commands);
1306            else com.move_to(_gmic_additional_commands);
1307            add_code_separator = true;
1308          }
(gdb) print com
$1 = {_width = 0, _height = 0, _depth = 0, _spectrum = 0, _is_shared = false, _data = 0x0}
(gdb) print filename
$25 = {_width = 1024, _height = 1, _depth = 1, _spectrum = 1,
  _is_shared = false, _data = 0x619000478b80 "/home/gosgood/.gmic"}

Comment: "/home/gosgood/.gmic" exists but is empty,
gosgood@estella ~ $ ls -l .gmic
-rw-r--r-- 1 gosgood gosgood 0 Mar  9  2015 .gmic

Backtrace:
Program received signal SIGSEGV, Segmentation fault.
rawmemchr () at ../sysdeps/x86_64/rawmemchr.S:37
37              movdqu  (%rdi), %xmm0
(gdb) bt
#0  rawmemchr () at ../sysdeps/x86_64/rawmemchr.S:37
#1  0x00007f706ed00358 in _IO_str_init_static_internal (sf=sf@entry=0x7fff8b9ff240, 
    ptr=ptr@entry=0x0, size=size@entry=0, pstart=pstart@entry=0x0) at strops.c:44
#2  0x00007f706ecf59e7 in _IO_vsscanf (string=0x0, format=0xd657a0 "1 unsigned_cha%c", 
    args=0x7fff8b9ff3c0) at iovsscanf.c:43
#3  0x00007f7074267b3b in vsscanf () from /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/libasan.so.1
#4  0x00007f7074267c49 in sscanf () from /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/libasan.so.1
#5  0x00000000004148ef in update_filters (try_net_update=false, is_silent=true)
    at gmic_gimp.cpp:1304
#6  0x000000000042e9b3 in gmic_run (name=0x60200000d270 "plug-in-gmic", nparams=3, 
    param=0x60c00000b5c0, nreturn_vals=0x7fff8ba00414, return_vals=0x7fff8ba00418)
    at gmic_gimp.cpp:4247
#7  0x00007f707388a1f5 in gimp_proc_run (proc_run=0x6190000016c0) at gimp.c:2019
#8  0x00007f7073889e8d in gimp_loop () at gimp.c:1853
#9  0x00007f7073887d32 in gimp_main (info=0x113d060 <PLUG_IN_INFO>, argc=6, argv=0x7fff8ba00668)
    at gimp.c:516
#10 0x000000000042f4d5 in main (argc=6, argv=0x7fff8ba00668) at gmic_gimp.cpp:4388

Error with Graphix Colors

Go to Artistic / Graphic boost and for Merging option, choose Graphix Colors. We have this error:

[gmic_gimp]./error/ *** Error in ./gimp_graphic_boost4/*repeat/*local/*local/*if/gimp_compose_graphixcolor/ *** Unknown filename '@gimp'.

Version: G'MIC pour GIMP 1.6.5.2 - Linux 64 bits

Warhol filter preview does not match output when applied

The Warhol filter (Artistic -> Warhol) seems to reapply it's settings when the "Apply" button is clicked. This causes the output image to not match the preview.

The "Color" option does not seem to be deterministic - that is, selecting the same number for Color does not give the same output image each time. This may be expected behavior, the issue I am pointing out is the preview not matching the output.

To recreate:

  • Select Warhol filter
  • Set X-tiles to 1
  • Set Y-tiles to 1
  • Choose arbitrary Smoothness and Color (higher color numbers are easier to notice the error)
  • Note what sorts of colors the preview image is showing
  • Click apply

Result: the output image will not match what the preview image was showing. In addition, the preview will change (since whatever the Color option is controlling does not seem to be exactly deterministic).

Size of the GMIC window

The smallest size of the GMIC pop-up window on my laptop is too big for me to see the APPLY button at the bottom. How do I resize it?
screenshot 1

*** Error in `gmic': double free or corruption (!prev): 0x00007f250400aa00 ***

gimp_gmic working withouts problems

i create a account on my pc for debug

all devel installed

after debug i reinstall my pc

Linux : Fedora22_64 bit

ssh -l david clnet-p20-203.ikbnet.co.at

password : 123456

gmic 1.png -apply_parallel_overlap "-bilateral[-1] 8,5 -c 0,255 -meancurvature_flow 3,6,1 -c 0,255",0,16 -o 2.png
[gmic]-0./ Start G'MIC interpreter.
[gmic]-0./ Input file '1.png' at position 0 (1 image 1280x720x1x4).
[gmic]-1./ Apply parallelized command '-bilateral[-1] 8,5 -c 0,255 -meancurvature_flow 3,6,1 -c 0,255' on image [0], with overlap 0 and 16 threads.*** Error in `gmic': double free or corruption (!prev): 0x00007f250400aa00 ***
======= Backtrace: =========
/lib64/libc.so.6(+0x77a8d)[0x7f2519c74a8d]
/lib64/libc.so.6(cfree+0x5cd)[0x7f2519c80d2d]
gmic[0x5c0075]
gmic[0x5c0ee6]
gmic[0x7364e5]
gmic[0x42c28a]
/lib64/libpthread.so.0(+0x7555)[0x7f251e7b4555]
/lib64/libc.so.6(clone+0x6d)[0x7f2519cffb9d]
======= Memory map: ========
00400000-0086e000 r-xp 00000000 00:23 326400 /usr/bin/gmic
00a6d000-00a6e000 r--p 0046d000 00:23 326400 /usr/bin/gmic
00a6e000-00a6f000 rw-p 0046e000 00:23 326400 /usr/bin/gmic
00a6f000-00ab5000 rw-p 00000000 00:00 0
01fb3000-0254d000 rw-p 00000000 00:00 0 [heap]
7f248d7d3000-7f248d7d4000 ---p 00000000 00:00 0
7f248d7d4000-7f248dfd4000 rw-p 00000000 00:00 0
7f248efd6000-7f248efd7000 ---p 00000000 00:00 0
7f248efd7000-7f248f7d7000 rw-p 00000000 00:00 0
7f2490fda000-7f2490fdb000 ---p 00000000 00:00 0
7f2490fdb000-7f24917db000 rw-p 00000000 00:00 0
7f24a4000000-7f24a4b74000 rw-p 00000000 00:00 0
7f24a4b74000-7f24a8000000 ---p 00000000 00:00 0
7f24a8000000-7f24a8b74000 rw-p 00000000 00:00 0
7f24a8b74000-7f24ac000000 ---p 00000000 00:00 0
7f24ac000000-7f24acb74000 rw-p 00000000 00:00 0
7f24acb74000-7f24b0000000 ---p 00000000 00:00 0
7f24b0000000-7f24b0b74000 rw-p 00000000 00:00 0
7f24b0b74000-7f24b4000000 ---p 00000000 00:00 0
7f24b4000000-7f24b49b2000 rw-p 00000000 00:00 0
7f24b49b2000-7f24b8000000 ---p 00000000 00:00 0
7f24b8000000-7f24b8b74000 rw-p 00000000 00:00 0
7f24b8b74000-7f24bc000000 ---p 00000000 00:00 0
7f24bc000000-7f24bc9b2000 rw-p 00000000 00:00 0
7f24bc9b2000-7f24c0000000 ---p 00000000 00:00 0
7f24c0000000-7f24c062e000 rw-p 00000000 00:00 0
7f24c062e000-7f24c4000000 ---p 00000000 00:00 0
7f24c4000000-7f24c4a93000 rw-p 00000000 00:00 0
7f24c4a93000-7f24c8000000 ---p 00000000 00:00 0
7f24ca7fd000-7f24ca7fe000 ---p 00000000 00:00 0
7f24ca7fe000-7f24caffe000 rw-p 00000000 00:00 0
7f24cc000000-7f24cc2aa000 rw-p 00000000 00:00 0
7f24cc2aa000-7f24d0000000 ---p 00000000 00:00 0
7f24d0000000-7f24d0b74000 rw-p 00000000 00:00 0
7f24d0b74000-7f24d4000000 ---p 00000000 00:00 0
7f24d4000000-7f24d4b74000 rw-p 00000000 00:00 0
7f24d4b74000-7f24d8000000 ---p 00000000 00:00 0
7f24d8000000-7f24d89b2000 rw-p 00000000 00:00 0
7f24d89b2000-7f24dc000000 ---p 00000000 00:00 0
7f24e0000000-7f24e0b74000 rw-p 00000000 00:00 0
7f24e0b74000-7f24e4000000 ---p 00000000 00:00 0
7f24e4000000-7f24e4b74000 rw-p 00000000 00:00 0
7f24e4b74000-7f24e8000000 ---p 00000000 00:00 0
7f24e8000000-7f24e8e60000 rw-p 00000000 00:00 0
7f24e8e60000-7f24ec000000 ---p 00000000 00:00 0
7f24ec000000-7f24ecb74000 rw-p 00000000 00:00 0
7f24ecb74000-7f24f0000000 ---p 00000000 00:00 0
7f24f0000000-7f24f0a60000 rw-p 00000000 00:00 0
7f24f0a60000-7f24f4000000 ---p 00000000 00:00 0
7f24f6ffe000-7f24f6fff000 ---p 00000000 00:00 0
7f24f6fff000-7f24f77ff000 rw-p 00000000 00:00 0 [stack:1805]
7f24f77ff000-7f24f7800000 ---p 00000000 00:00 0
7f24f7800000-7f24f8000000 rw-p 00000000 00:00 0 [stack:1804]
7f24f8000000-7f24f8f05000 rw-p 00000000 00:00 0
7f24f8f05000-7f24fc000000 ---p 00000000 00:00 0
7f24fc000000-7f24fcac0000 rw-p 00000000 00:00 0
7f24fcac0000-7f2500000000 ---p 00000000 00:00 0
7f2500000000-7f2500a60000 rw-p 00000000 00:00 0
7f2500a60000-7f2504000000 ---p 00000000 00:00 0
7f2504000000-7f2504abf000 rw-p 00000000 00:00 0
7f2504abf000-7f2508000000 ---p 00000000 00:00 0
7f2508060000-7f2508061000 ---p 00000000 00:00 0
7f2508061000-7f2508861000 rw-p 00000000 00:00 0 [stack:1801]
7f2509c83000-7f2509c84000 ---p 00000000 00:00 0
7f2509c84000-7f250a484000 rw-p 00000000 00:00 0 [stack:1800]
7f250a484000-7f250a485000 ---p 00000000 00:00 0
7f250a485000-7f250ac85000 rw-p 00000000 00:00 0 [stack:1799]
7f250ac85000-7f250acaa000 r-xp 00000000 00:23 16670 /usr/lib64/liblzma.so.5.2.0
7f250acaa000-7f250aea9000 ---p 00025000 00:23 16670 /usr/lib64/liblzma.so.5.2.0
7f250aea9000-7f250aeaa000 r--p 00024000 00:23 16670 /usr/lib64/liblzma.so.5.2.0
7f250aeaa000-7f250aeab000 rw-p 00025000 00:23 16670 /usr/lib64/liblzma.so.5.2.0
7f250aead000-7f250aec2000 r-xp 00000000 00:23 143030 /usr/lib64/libelf-0.163.so
7f250aec2000-7f250b0c1000 ---p 00015000 00:23 143030 /usr/lib64/libelf-0.163.so
7f250b0c1000-7f250b0c2000 r--p 00014000 00:23 143030 /usr/lib64/libelf-0.163.so
7f250b0c2000-7f250b0c3000 rw-p 00015000 00:23 143030 /usr/lib64/libelf-0.163.so
7f250b0c5000-7f250b0c9000 r-xp 00000000 00:23 143208 /usr/lib64/libattr.so.1.1.0
7f250b0c9000-7f250b2c8000 ---p 00004000 00:23 143208 /usr/lib64/libattr.so.1.1.0
7f250b2c8000-7f250b2c9000 r--p 00003000 00:23 143208 /usr/lib64/libattr.so.1.1.0
7f250b2c9000-7f250b2ca000 rw-p 00004000 00:23 143208 /usr/lib64/libattr.so.1.1.0
7f250b2cd000-7f250b313000 r-xp 00000000 00:23 166873 /usr/lib64/libdw-0.163.so
7f250b313000-7f250b513000 ---p 00046000 00:23 166873 /usr/lib64/libdw-0.163.so
7f250b513000-7f250b515000 r--p 00046000 00:23 166873 /usr/lib64/libdw-0.163.so
7f250b515000-7f250b516000 rw-p 00048000 00:23 166873 /usr/lib64/libdw-0.163.so
7f250b51d000-7f250b521000 r-xp 00000000 00:23 16179 /usr/lib64/libcap.so.2.24
7f250b521000-7f250b720000 ---p 00004000 00:23 16179 /usr/lib64/libcap.so.2.24
7f250b720000-7f250b721000 r--p 00003000 00:23 16179 /usr/lib64/libcap.so.2.24
7f250b721000-7f250b722000 rw-p 00004000 00:23 16179 /usr/lib64/libcap.so.2.24
7f250b725000-7f250b72a000 r-xp 00000000 00:23 16070 /usr/lib64/libXxf86vm.so.1.0.0
7f250b72a000-7f250b929000 ---p 00005000 00:23 16070 /usr/lib64/libXxf86vm.so.1.0.0
7f250b929000-7f250b92a000 r--p 00004000 00:23 16070 /usr/lib64/libXxf86vm.so.1.0.0
7f250b92a000-7f250b92b000 rw-p 00005000 00:23 16070 /usr/lib64/libXxf86vm.so.1.0.0
7f250b92d000-7f250b92e000 r-xp 00000000 00:23 17132 /usr/lib64/libxshmfence.so.1.0.0
7f250b92e000-7f250bb2e000 ---p 00001000 00:23 17132 /usr/lib64/libxshmfence.so.1.0.0
7f250bb2e000-7f250bb2f000 r--p 00001000 00:23 17132 /usr/lib64/libxshmfence.so.1.0.0
7f250bb2f000-7f250bb30000 rw-p 00002000 00:23 17132 /usr/lib64/libxshmfence.so.1.0.0
7f250bb35000-7f250bb3a000 r-xp 00000000 00:23 142724 /usr/lib64/libxcb-sync.so.1.0.0
7f250bb3a000-7f250bd3a000 ---p 00005000 00:23 142724 /usr/lib64/libxcb-sync.so.1.0.0
7f250bd3a000-7f250bd3b000 r--p 00005000 00:23 142724 /usr/lib64/libxcb-sync.so.1.0.0
7f250bd3b000-7f250bd3c000 rw-p 00006000 00:23 142724 /usr/lib64/libxcb-sync.so.1.0.0
7f250bd3d000-7f250bd49000 r-xp 00000000 00:23 142710 /usr/lib64/libxcb-randr.so.0.1.0
7f250bd49000-7f250bf49000 ---p 0000c000 00:23 142710 /usr/lib64/libxcb-randr.so.0.1.0
7f250bf49000-7f250bf4a000 r--p 0000c000 00:23 142710 /usr/lib64/libxcb-randr.so.0.1.0
7f250bf4a000-7f250bf4b000 rw-p 0000d000 00:23 142710 /usr/lib64/libxcb-randr.so.0.1.0
7f250bf4d000-7f250bf4f000 r-xp 00000000 00:23 142708 /usr/lib64/libxcb-present.so.0.0.0
7f250bf4f000-7f250c14e000 ---p 00002000 00:23 142708 /usr/lib64/libxcb-present.so.0.0.0
7f250c14e000-7f250c14f000 r--p 00001000 00:23 142708 /usr/lib64/libxcb-present.so.0.0.0
7f250c14f000-7f250c150000 rw-p 00002000 00:23 142708 /usr/lib64/libxcb-present.so.0.0.0
7f250c155000-7f250c157000 r-xp 00000000 00:23 142704 /usr/lib64/libxcb-dri3.so.0.0.0
7f250c157000-7f250c356000 ---p 00002000 00:23 142704 /usr/lib64/libxcb-dri3.so.0.0.0
7f250c356000-7f250c357000 r--p 00001000 00:23 142704 /usr/lib64/libxcb-dri3.so.0.0.0
7f250c357000-7f250c358000 rw-p 00002000 00:23 142704 /usr/lib64/libxcb-dri3.so.0.0.0
7f250c35d000-7f250c374000 r-xp 00000000 00:23 142706 /usr/lib64/libxcb-glx.so.0.0.0
7f250c374000-7f250c573000 ---p 00017000 00:23 142706 /usr/lib64/libxcb-glx.so.0.0.0
7f250c573000-7f250c575000 r--p 00016000 00:23 142706 /usr/lib64/libxcb-glx.so.0.0.0
7f250c575000-7f250c576000 rw-p 00018000 00:23 142706 /usr/lib64/libxcb-glx.so.0.0.0
7f250c57d000-7f250c5a6000 r-xp 00000000 00:23 147685 /usr/lib64/libglapi.so.0.0.0
7f250c5a6000-7f250c7a5000 ---p 00029000 00:23 147685 /usr/lib64/libglapi.so.0.0.0
7f250c7a5000-7f250c7a9000 r--p 00028000 00:23 147685 /usr/lib64/libglapi.so.0.0.0
7f250c7a9000-7f250c7aa000 rw-p 0002c000 00:23 147685 /usr/lib64/libglapi.so.0.0.0
7f250c7aa000-7f250c7ab000 rw-p 00000000 00:00 0
7f250c7ad000-7f250c7b9000 r-xp 00000000 00:23 16237 /usr/lib64/libdrm.so.2.4.0
7f250c7b9000-7f250c9b8000 ---p 0000c000 00:23 16237 /usr/lib64/libdrm.so.2.4.0
7f250c9b8000-7f250c9b9000 r--p 0000b000 00:23 16237 /usr/lib64/libdrm.so.2.4.0
7f250c9b9000-7f250c9ba000 rw-p 0000c000 00:23 16237 /usr/lib64/libdrm.so.2.4.0
7f250c9bd000-7f250c9cc000 r-xp 00000000 00:23 17064 /usr/lib64/libwayland-server.so.0.1.0
7f250c9cc000-7f250cbcc000 ---p 0000f000 00:23 17064 /usr/lib64/libwayland-server.so.0.1.0
7f250cbcc000-7f250cbce000 r--p 0000f000 00:23 17064 /usr/lib64/libwayland-server.so.0.1.0
7f250cbce000-7f250cbcf000 rw-p 00011000 00:23 17064 /usr/lib64/libwayland-server.so.0.1.0
7f250cbd5000-7f250cbe1000 r-xp 00000000 00:23 17061 /usr/lib64/libwayland-client.so.0.3.0
7f250cbe1000-7f250cde0000 ---p 0000c000 00:23 17061 /usr/lib64/libwayland-client.so.0.3.0
7f250cde0000-7f250cde2000 r--p 0000b000 00:23 17061 /usr/lib64/libwayland-client.so.0.3.0
7f250cde2000-7f250cde3000 rw-p 0000d000 00:23 17061 /usr/lib64/libwayland-client.so.0.3.0
7f250cde5000-7f250cdf1000 r-xp 00000000 00:23 143525 /usr/lib64/libgbm.so.1.0.0
7f250cdf1000-7f250cff1000 ---p 0000c000 00:23 143525 /usr/lib64/libgbm.so.1.0.0
7f250cff1000-7f250cff2000 r--p 0000c000 00:23 143525 /usr/lib64/libgbm.so.1.0.0
7f250cff2000-7f250cff3000 rw-p 0000d000 00:23 143525 /usr/lib64/libgbm.so.1.0.0
7f250cff5000-7f250cff8000 r-xp 00000000 00:23 142720 /usr/lib64/libxcb-shape.so.0.0.0
7f250cff8000-7f250d1f7000 ---p 00003000 00:23 142720 /usr/lib64/libxcb-shape.so.0.0.0
7f250d1f7000-7f250d1f8000 r--p 00002000 00:23 142720 /usr/lib64/libxcb-shape.so.0.0.0
7f250d1f8000-7f250d1f9000 rw-p 00003000 00:23 142720 /usr/lib64/libxcb-shape.so.0.0.0
7f250d1fd000-7f250d203000 r-xp 00000000 00:23 142730 /usr/lib64/libxcb-xfixes.so.0.0.0
7f250d203000-7f250d403000 ---p 00006000 00:23 142730 /usr/lib64/libxcb-xfixes.so.0.0.0
7f250d403000-7f250d404000 r--p 00006000 00:23 142730 /usr/lib64/libxcb-xfixes.so.0.0.0
7f250d404000-7f250d405000 rw-p 00007000 00:23 142730 /usr/lib64/libxcb-xfixes.so.0.0.0
7f250d405000-7f250d409000 r-xp 00000000 00:23 142702 /usr/lib64/libxcb-dri2.so.0.0.0
7f250d409000-7f250d608000 ---p 00004000 00:23 142702 /usr/lib64/libxcb-dri2.so.0.0.0
7f250d608000-7f250d609000 r--p 00003000 00:23 142702 /usr/lib64/libxcb-dri2.so.0.0.0
7f250d609000-7f250d60a000 rw-p 00004000 00:23 142702 /usr/lib64/libxcb-dri2.so.0.0.0
7f250d60d000-7f250d60e000 r-xp 00000000 00:23 16041 /usr/lib64/libX11-xcb.so.1.0.0
7f250d60e000-7f250d80d000 ---p 00001000 00:23 16041 /usr/lib64/libX11-xcb.so.1.0.0
7f250d80d000-7f250d80e000 r--p 00000000 00:23 16041 /usr/lib64/libX11-xcb.so.1.0.0
7f250d80e000-7f250d80f000 rw-p 00001000 00:23 16041 /usr/lib64/libX11-xcb.so.1.0.0
7f250d815000-7f250d824000 r-xp 00000000 00:23 16164 /usr/lib64/libbz2.so.1.0.6
7f250d824000-7f250da23000 ---p 0000f000 00:23 16164 /usr/lib64/libbz2.so.1.0.6
7f250da23000-7f250da24000 r--p 0000e000 00:23 16164 /usr/lib64/libbz2.so.1.0.6
7f250da24000-7f250da25000 rw-p 0000f000 00:23 16164 /usr/lib64/libbz2.so.1.0.6
7f250da25000-7f250da41000 r-xp 00000000 00:23 16345 /usr/lib64/libgraphite2.so.3.0.1
7f250da41000-7f250dc40000 ---p 0001c000 00:23 16345 /usr/lib64/libgraphite2.so.3.0.1
7f250dc40000-7f250dc42000 r--p 0001b000 00:23 16345 /usr/lib64/libgraphite2.so.3.0.1
7f250dc42000-7f250dc43000 rw-p 0001d000 00:23 16345 /usr/lib64/libgraphite2.so.3.0.1
7f250dc45000-7f250dcbc000 r-xp 00000000 00:23 139850 /usr/lib64/libfreebl3.so
7f250dcbc000-7f250debb000 ---p 00077000 00:23 139850 /usr/lib64/libfreebl3.so
7f250debb000-7f250debd000 r--p 00076000 00:23 139850 /usr/lib64/libfreebl3.so
7f250debd000-7f250debe000 rw-p 00078000 00:23 139850 /usr/lib64/libfreebl3.so
7f250debe000-7f250dec2000 rw-p 00000000 00:00 0
7f250dec5000-7f250df33000 r-xp 00000000 00:23 140812 /usr/lib64/libpcre.so.1.2.5
7f250df33000-7f250e133000 ---p 0006e000 00:23 140812 /usr/lib64/libpcre.so.1.2.5
7f250e133000-7f250e134000 r--p 0006e000 00:23 140812 /usr/lib64/libpcre.so.1.2.5
7f250e134000-7f250e135000 rw-p 0006f000 00:23 140812 /usr/lib64/libpcre.so.1.2.5
7f250e135000-7f250e1b4000 r-xp 00000000 00:23 16783 /usr/lib64/liborc-0.4.so.0.22.0
7f250e1b4000-7f250e3b3000 ---p 0007f000 00:23 16783 /usr/lib64/liborc-0.4.so.0.22.0
7f250e3b3000-7f250e3b5000 r--p 0007e000 00:23 16783 /usr/lib64/liborc-0.4.so.0.22.0
7f250e3b5000-7f250e3b9000 rw-p 00080000 00:23 16783 /usr/lib64/liborc-0.4.so.0.22.0
7f250e3bd000-7f250e3e3000 r-xp 00000000 00:23 16263 /usr/lib64/libexpat.so.1.6.0
7f250e3e3000-7f250e5e3000 ---p 00026000 00:23 16263 /usr/lib64/libexpat.so.1.6.0
7f250e5e3000-7f250e5e6000 r--p 00026000 00:23 16263 /usr/lib64/libexpat.so.1.6.0
7f250e5e6000-7f250e5e7000 rw-p 00029000 00:23 16263 /usr/lib64/libexpat.so.1.6.0
7f250e5ed000-7f250e681000 r-xp 00000000 00:23 147689 /usr/lib64/libGL.so.1.2.0
7f250e681000-7f250e880000 ---p 00094000 00:23 147689 /usr/lib64/libGL.so.1.2.0
7f250e880000-7f250e883000 r--p 00093000 00:23 147689 /usr/lib64/libGL.so.1.2.0
7f250e883000-7f250e884000 rw-p 00096000 00:23 147689 /usr/lib64/libGL.so.1.2.0
7f250e884000-7f250e885000 rw-p 00000000 00:00 0
7f250e885000-7f250e88e000 r-xp 00000000 00:23 142714 /usr/lib64/libxcb-render.so.0.0.0
7f250e88e000-7f250ea8d000 ---p 00009000 00:23 142714 /usr/lib64/libxcb-render.so.0.0.0
7f250ea8d000-7f250ea8e000 r--p 00008000 00:23 142714 /usr/lib64/libxcb-render.so.0.0.0
7f250ea8e000-7f250ea8f000 rw-p 00009000 00:23 142714 /usr/lib64/libxcb-render.so.0.0.0
7f250ea95000-7f250ea97000 r-xp 00000000 00:23 142722 /usr/lib64/libxcb-shm.so.0.0.0
7f250ea97000-7f250ec97000 ---p 00002000 00:23 142722 /usr/lib64/libxcb-shm.so.0.0.0
7f250ec97000-7f250ec98000 r--p 00002000 00:23 142722 /usr/lib64/libxcb-shm.so.0.0.0
7f250ec98000-7f250ec99000 rw-p 00003000 00:23 142722 /usr/lib64/libxcb-shm.so.0.0.0
7f250ec9d000-7f250ecc3000 r-xp 00000000 00:23 143530 /usr/lib64/libEGL.so.1.0.0
7f250ecc3000-7f250eec2000 ---p 00026000 00:23 143530 /usr/lib64/libEGL.so.1.0.0
7f250eec2000-7f250eec3000 r--p 00025000 00:23 143530 /usr/lib64/libEGL.so.1.0.0
7f250eec3000-7f250eec4000 rw-p 00026000 00:23 143530 /usr/lib64/libEGL.so.1.0.0
7f250eec5000-7f250ef68000 r-xp 00000000 00:23 143486 /usr/lib64/libpixman-1.so.0.32.8
7f250ef68000-7f250f168000 ---p 000a3000 00:23 143486 /usr/lib64/libpixman-1.so.0.32.8
7f250f168000-7f250f16f000 r--p 000a3000 00:23 143486 /usr/lib64/libpixman-1.so.0.32.8
7f250f16f000-7f250f170000 rw-p 000aa000 00:23 143486 /usr/lib64/libpixman-1.so.0.32.8
7f250f175000-7f250f217000 r-xp 00000000 00:23 143044 /usr/lib64/libfreetype.so.6.11.4
7f250f217000-7f250f416000 ---p 000a2000 00:23 143044 /usr/lib64/libfreetype.so.6.11.4
7f250f416000-7f250f41c000 r--p 000a1000 00:23 143044 /usr/lib64/libfreetype.so.6.11.4
7f250f41c000-7f250f41d000 rw-p 000a7000 00:23 143044 /usr/lib64/libfreetype.so.6.11.4
7f250f41d000-7f250f478000 r-xp 00000000 00:23 16394 /usr/lib64/libharfbuzz.so.0.940.0
7f250f478000-7f250f677000 ---p 0005b000 00:23 16394 /usr/lib64/libharfbuzz.so.0.940.0
7f250f677000-7f250f678000 r--p 0005a000 00:23 16394 /usr/lib64/libharfbuzz.so.0.940.0
7f250f678000-7f250f679000 rw-p 0005b000 00:23 16394 /usr/lib64/libharfbuzz.so.0.940.0
7f250f67d000-7f250f67e000 r-xp 00000000 00:23 146665 /usr/lib64/libgthread-2.0.so.0.4400.1
7f250f67e000-7f250f87d000 ---p 00001000 00:23 146665 /usr/lib64/libgthread-2.0.so.0.4400.1
7f250f87d000-7f250f87e000 r--p 00000000 00:23 146665 /usr/lib64/libgthread-2.0.so.0.4400.1
7f250f87e000-7f250f87f000 rw-p 00001000 00:23 146665 /usr/lib64/libgthread-2.0.so.0.4400.1
7f250f885000-7f250f88c000 r-xp 00000000 00:23 140484 /usr/lib64/libcrypt-2.21.so
7f250f88c000-7f250fa8b000 ---p 00007000 00:23 140484 /usr/lib64/libcrypt-2.21.so
7f250fa8b000-7f250fa8c000 r--p 00006000 00:23 140484 /usr/lib64/libcrypt-2.21.so
7f250fa8c000-7f250fa8d000 rw-p 00007000 00:23 140484 /usr/lib64/libcrypt-2.21.so
7f250fa8d000-7f250fabb000 rw-p 00000000 00:00 0
7f250fabd000-7f250fade000 r-xp 00000000 00:23 141248 /usr/lib64/libselinux.so.1
7f250fade000-7f250fcdd000 ---p 00021000 00:23 141248 /usr/lib64/libselinux.so.1
7f250fcdd000-7f250fcde000 r--p 00020000 00:23 141248 /usr/lib64/libselinux.so.1
7f250fcde000-7f250fcdf000 rw-p 00021000 00:23 141248 /usr/lib64/libselinux.so.1
7f250fcdf000-7f250fce1000 rw-p 00000000 00:00 0
7f250fce5000-7f250fd0a000 r-xp 00000000 00:23 17048 /usr/lib64/libv4lconvert.so.0.0.0
7f250fd0a000-7f250ff0a000 ---p 00025000 00:23 17048 /usr/lib64/libv4lconvert.so.0.0.0
7f250ff0a000-7f250ff0c000 r--p 00025000 00:23 17048 /usr/lib64/libv4lconvert.so.0.0.0
7f250ff0c000-7f250ff0d000 rw-p 00027000 00:23 17048 /usr/lib64/libv4lconvert.so.0.0.0
7f250ff0d000-7f250ff5f000 rw-p 00000000 00:00 0
7f250ff65000-7f250ff7c000 r-xp 00000000 00:23 17038 /usr/lib64/libusb-1.0.so.0.1.0
7f250ff7c000-7f251017b000 ---p 00017000 00:23 17038 /usr/lib64/libusb-1.0.so.0.1.0
7f251017b000-7f251017c000 r--p 00016000 00:23 17038 /usr/lib64/libusb-1.0.so.0.1.0
7f251017c000-7f251017d000 rw-p 00017000 00:23 17038 /usr/lib64/libusb-1.0.so.0.1.0
7f251017d000-7f251018c000 r-xp 00000000 00:23 16891 /usr/lib64/libraw1394.so.11.1.0
7f251018c000-7f251038b000 ---p 0000f000 00:23 16891 /usr/lib64/libraw1394.so.11.1.0
7f251038b000-7f251038c000 r--p 0000e000 00:23 16891 /usr/lib64/libraw1394.so.11.1.0
7f251038c000-7f251038d000 rw-p 0000f000 00:23 16891 /usr/lib64/libraw1394.so.11.1.0
7f251038d000-7f25103d3000 r-xp 00000000 00:23 16377 /usr/lib64/libgstvideo-1.0.so.0.405.0
7f25103d3000-7f25105d2000 ---p 00046000 00:23 16377 /usr/lib64/libgstvideo-1.0.so.0.405.0
7f25105d2000-7f25105d4000 r--p 00045000 00:23 16377 /usr/lib64/libgstvideo-1.0.so.0.405.0
7f25105d4000-7f25105d8000 rw-p 00047000 00:23 16377 /usr/lib64/libgstvideo-1.0.so.0.405.0
7f25105d8000-7f25105d9000 rw-p 00000000 00:00 0
7f25105dd000-7f2510615000 r-xp 00000000 00:23 16375 /usr/lib64/libgsttag-1.0.so.0.405.0
7f2510615000-7f2510814000 ---p 00038000 00:23 16375 /usr/lib64/libgsttag-1.0.so.0.405.0Abgebrochen (Speicherabzug geschrieben)

Error with Artistic / Photoillustration

Go to Artistic / Photoillustration. For Smoothing style, choose selective gaussian:

[gmic_gimp]./error/ *** Error in ./gimp_tk_photoillustration_preview/gimp_split_preview/*repeat/(...)/gimp_tk_photoillustration/*repeat/*local/*if/ *** Command '-gimp_selective_smoothing': Undefined argument '$7', in expression '$7' (for 6 arguments specified).

and choose wavelet:

[gmic_gimp]./error/ *** Error in ./gimp_tk_photoillustration_preview/gimp_split_preview/*repeat/(...)/gimp_tk_photoillustration/*repeat/*local/*if/ *** Command '-gimp_haar_smoothing': Undefined argument '$6', in expression '$6' (for 5 arguments specified).

Other smoothing styles work.

Version: G'MIC pour GIMP 1.6.5.2 - Linux 64 bits

Gimp plugin error

Received this error when running a python plugin I had written. The plugin works (minus the three '128') with the previous version, but fails in the current stable version (1.6.5.1)

The plugin (the one I wrote) performs no file actions.

The three '128' values were added to correspond to the new versions color code request, but the script is other wise unchanged.

A strip down version (suitable for bug testing) is available if needed, but essentially all that is needed is the command string on the first line of this output (which shows the error).

[gmic_gimp]./error/ When running command '-gimp_plasma 1.0,7.66,2,1,0, 128, 128, 128', this error occured :
*** Error in ./gimp_plasma/substitute/ ** Unknown filename '6-8'.
Traceback (most recent call last):
File "/usr/lib/gimp/2.0/python/gimpfu.py", line 735, in response
dialog.res = run_script(params)
File "/usr/lib/gimp/2.0/python/gimpfu.py", line 361, in run_script
return apply(function, params)
File "/home/[snip]/.gimp-2.8/plug-ins/horiz_seamless_noise_layer.py", line 12, in do_it
pdb.plug_in_gmic( inImage, noiseLayer, 1, gmicStr)
RuntimeError: calling error
[gmic]-1./ Start G'MIC interpreter.
[gmic]-1./gimp_plasma/_if/ Force image [0] to be in RGB mode.
[gmic]-1./gimp_plasma/_if/ Fill image [0] with random values, in range [0,255].
[gmic]-1./gimp_plasma/ Draw plasma fractal on image [0], with alpha 1, beta 7.66 and scale 2.
[gmic]-1./gimp_plasma/ Normalize image [0] in range [0,255].
[gmic]-1./gimp_plasma/_substitute/ Input file '6-8' at position 1
[gmic]-1./gimp_plasma/_substitute/ *** Error *** Unknown filename '6-8'.
[gmic]-1./gimp_plasma/ Abort G'MIC interpreter.

blend mode plug-ins

  • Can [layer] blend modes be added to GIMP via G'MIC?
  • KPT2 is not 64bit friendly. It was 16bit. Are you aware of a clone? (or would you)
  • are there other clones of KPT[3|5|7|x]

Online Gmic user

Could someone advise why the online GMIC is not working. I keep getting a server issue. I have used this program online for many months and it won't open today. Yesterday was fine. Please help

Broken links "Filter explained here"

There are a few links Filter explained here that are broken:

  • Artistic / Photoillustration
  • Colors / Metallic look
  • Colors / Vintage style
  • Details / Dynamic range increase
  • Details / Mask creator
  • Details / Portrait retouching
  • Stereoscopic 3d / 3d conversion
  • Stereoscopic 3d / 3d video conversion
  • Stereoscopic 3d / Lenticular print
  • Stereoscopic 3d / Single image stereogram
  • Testing / Naggobot / Gmic structure tensors
  • Testing / Tom keil / Dof manipulation

Error when previewing Montage

Config: G'MIC and G'MIC for GIMP 1.6.5.1 on Xubuntu 15.04

When clicking on Arrays & tiles > Montage, I have an error.

Verbose output:

[gmic_gimp]./error/ *** Error in ./gimp_montage_preview/montage/*if/montage/*if/*repeat/__montage/*if/ *** A '-endif' command is missing, before return point.

Very verbose output:

[gmic_gimp]./preview/ -v 0 -gimp_montage_preview 0,"V(H(0,1),H(2,V(3,4)))",1,0.5,0,0,0,0,0,255,0,0,0,0,0
[gmic]-1./ Start G'MIC interpreter.
[gmic]-1./ Set verbosity level to 0.
[gmic]-1./gimp_montage_preview/ Set local variable w='440'.
[gmic]-1./gimp_montage_preview/ Set local variable h='293'.
[gmic]-1./gimp_montage_preview/ Render RGBA image [0] over a checkerboard background.
[gmic]-1./gimp_montage_preview/ Set local variable code0='X'.
[gmic]-1./gimp_montage_preview/ Set local variable code1='V(H(0,1),H(2,V(3,4)))'.
[gmic]-1./gimp_montage_preview/ Set local variable code2='H'.
[gmic]-1./gimp_montage_preview/ Set local variable code3='V'.
[gmic]-1./gimp_montage_preview/ Set local variable code4='A'.
[gmic]-1./gimp_montage_preview/ Set local variable code5='B'.
[gmic]-1./gimp_montage_preview/ Force image [0] to be in RGBA mode.
[gmic]-1./gimp_montage_preview/ Create scaled montage from image [0], with layout code 'X' and scale 0.
[gmic_gimp]./error/ *** Error in ./gimp_montage_preview/montage/*if/montage/*if/*repeat/__montage/*if/ *** A '-endif' command is missing, before return point.
[gmic]-1./ Start G'MIC interpreter.
[gmic]-1./gimp_error_preview/gimp_print_preview/ Keep image [0] (1 image left).
[gmic]-1./gimp_error_preview/gimp_print_preview/ Render RGBA image [0] over a checkerboard background.
[gmic]-1./gimp_error_preview/gimp_print_preview/ Input image at position 1, with values (1;1^1;0.5^0;0.5) (1 image 1x2x1x3).
[gmic]-2./gimp_error_preview/gimp_print_preview/ Input image at position 2, with values (1.5,0,1.5;0,0,0;1.5,0,1.5) (1 image 3x3x1x1).
[gmic]-3./gimp_error_preview/gimp_print_preview/ Resize images [1,2] to 440x293x1x3, with linear interpolation, dirichlet boundary conditions and alignment (0,0,0,0).
[gmic]-3./gimp_error_preview/gimp_print_preview/ Multiply images [0,1,2].
[gmic]-1./gimp_error_preview/gimp_print_preview/ Cut image [0] in range [0,255].
[gmic]-0./gimp_error_preview/gimp_print_preview/*local/ Input empty image at position 0 (1 image 0x0x0x0).
[gmic]-1./gimp_error_preview/gimp_print_preview/*local/ Draw text 'Preview error:' at position (0,0) on image [0], with font height 32, opacity 1 and color (255).
[gmic]-1./gimp_error_preview/gimp_print_preview/*local/ Resize image [0] to 100%x140%x1x1, with no interpolation, dirichlet boundary conditions and alignment (0,0,0,0).
[gmic]-1./gimp_error_preview/gimp_print_preview/*local/ Input black image at position 0 (1 image 176x45x1x3).
[gmic]-1./gimp_error_preview/gimp_print_preview/*local/ Fill image [0] with color (255,200,128).
[gmic]-2./gimp_error_preview/gimp_print_preview/*local/ Append images [0,1] along the 'c'-axis, with alignment 0.
[gmic]-0./gimp_error_preview/gimp_print_preview/*local/ Input image at position 0, with values (42,42,42,32,69,114,114,111,114,32,105(...)17,114,110,32,112,111,105,110,116,46) (1 image 138x1x1x1).
[gmic]-1./gimp_error_preview/gimp_print_preview/*local/ Fill image [0] with expression '>if(i>32||j(-1)<40,j(-1)+1,0)'.
[gmic]-2./gimp_error_preview/gimp_print_preview/*local/ Compute boolean equality between image [1] and 0.
[gmic]-2./gimp_error_preview/gimp_print_preview/*local/ Multiply image [1] by 256.
[gmic]-2./gimp_error_preview/gimp_print_preview/*local/ Compute pointwise maximum of all images [0,1] together.
[gmic]-1./gimp_error_preview/gimp_print_preview/*local/ Split image [0] in 'discard' mode, according to value sequence '256'.
[gmic]-3./gimp_error_preview/gimp_print_preview/*local/ Split images [0,1,2] along the 'y'-axis, into blocs of 52 pixels.
[gmic]-1./gimp_error_preview/gimp_print_preview/*local/*repeat/*local/ Input empty image at position 1 (1 image 0x0x0x0).
[gmic]-2./gimp_error_preview/gimp_print_preview/*local/*repeat/*local/ Draw text '*** Error in ./gimp_montage_preview/montage/*if/mont' at position (0,0) on image [1], with font height 15, opacity 1 and color (255).
[gmic]-2./gimp_error_preview/gimp_print_preview/*local/*repeat/*local/ Remove image [0] (1 image left).
[gmic]-1./gimp_error_preview/gimp_print_preview/*local/*repeat/*local/ Input empty image at position 1 (1 image 0x0x0x0).
[gmic]-2./gimp_error_preview/gimp_print_preview/*local/*repeat/*local/ Draw text 'age/*if/*repeat/__montage/*if/' at position (0,0) on image [1], with font height 15, opacity 1 and color (255).
[gmic]-2./gimp_error_preview/gimp_print_preview/*local/*repeat/*local/ Remove image [0] (1 image left).
[gmic]-1./gimp_error_preview/gimp_print_preview/*local/*repeat/*local/ Input empty image at position 1 (1 image 0x0x0x0).
[gmic]-2./gimp_error_preview/gimp_print_preview/*local/*repeat/*local/ Draw text '*** A '-endif' command is missing, before' at position (0,0) on image [1], with font height 15, opacity 1 and color (255).
[gmic]-2./gimp_error_preview/gimp_print_preview/*local/*repeat/*local/ Remove image [0] (1 image left).
[gmic]-1./gimp_error_preview/gimp_print_preview/*local/*repeat/*local/ Input empty image at position 1 (1 image 0x0x0x0).
[gmic]-2./gimp_error_preview/gimp_print_preview/*local/*repeat/*local/ Draw text 'return point.' at position (0,0) on image [1], with font height 15, opacity 1 and color (255).
[gmic]-2./gimp_error_preview/gimp_print_preview/*local/*repeat/*local/ Remove image [0] (1 image left).
[gmic]-4./gimp_error_preview/gimp_print_preview/*local/ Append images [0,1,2,3] along the 'y'-axis, with alignment 0.
[gmic]-1./gimp_error_preview/gimp_print_preview/*local/ Input image at position 0, with values '255' (1 image 392x60x1x3).
[gmic]-2./gimp_error_preview/gimp_print_preview/*local/ Append images [0,1] along the 'c'-axis, with alignment 0.
[gmic]-3./gimp_error_preview/gimp_print_preview/ Append images [1,2] along the 'y'-axis, with alignment 0.5.
[gmic]-2./gimp_error_preview/gimp_print_preview/*if/ Resize image [1] to 440x293x1x4, with no interpolation, dirichlet boundary conditions and alignment (0.5,0.5,0,0).
[gmic]-2./gimp_error_preview/gimp_print_preview/*if/ Blend all images [0,1] together, using 'alpha' mode and opacity 1.
[gmic]-1./ End G'MIC interpreter.

G'Mic crashes....

Gimp 2.8.16
G'MIC 1.7.2

  1. Open an Image
  2. Start G'MIC
  3. Chose filter Artistic, Dream Smoothing (note, the same problem occurs on other filters).
  4. Click Apply...do not close G'MIC
  5. In Gimp, select File, Revert...
  6. G'MIC crashes....see attached image.
    error

Focus not put on the filter tree

Config: G'MIC and G'MIC for GIMP 1.6.5.1 on Xubuntu 15.04

When I click on a filter inside the filter tree, for example Array [faded]:

capture d ecran_2015-08-07_02-50-57

I would expect that the focus is put on it, so by using arrows up and down, I would move throw the tree (Array [mirrored] / Array [random colors] / Array [random] / ...) with the keyboard. It would be convenient: just keep an eye on the preview area and see results for browsed filters.

Command line error with arguments containing spaces

Config: G'MIC and G'MIC for GIMP 1.6.5.1 on Xubuntu 15.04

When text contains spaces, the filter Rendering / Quick copyright works inside GIMP, but fails in the command line.

With default settings, the following is output in the log:

[gmic_gimp]./preview/ -v -99 -gimp_quick_copyright "\251 G'MIC",27,255,255,255,128,1,3,5,1

This command:

gmic source.png -gimp_quick_copyright "\251 G'MIC",27,255,255,255,128,1,3,5,1 -o source2.png

fails:

*** Error *** Command '-gimp_quick_copyright': Undefined argument '$2', in expression '$2' (for 1 argument specified).

If we remove the space, it works:

gmic source.png -gimp_quick_copyright "\251_G'MIC",27,255,255,255,128,1,3,5,1 -o source2.png

Tileable rotation crashes G'mic with 'Maximum size factor' = 0

G'mic 1.6.8 64 bits (as a plugin)
Gimp 2.8.16
Windows 7 64 bits, 12gb ram

Source RGB picture 1920x1980x3

Calling the G'mic plugin called "Tileable rotation" and dragging the 'Maximum size factor' to zero crashes G'mic instantaneously.

Other parameters :
[X] Preview
All visibles
New layer(s)
Verbose (layer name)
Preview mode ...
Normal
Angle 45
Maximum size factor 0
Array mode None

Re-opening plugin from there on crashes plugin instantaneously.

Possible solution : Start 'Maximum size factor' variable at 1 instead of 0

Workaround : Quit Gimp, start Gimp, open G'mic and update plugins to reset parameter values.

Guidlines to troubleshoot

Greetings
I have downloaded the gmic_win64.zip file and extracted to a folder. Whenever I try to run the gmic.exe -h command in either powershell or cmd line I get a message that the program have crashed.
I don't think it is a bug but I have not other way to request information on what I can do to troubleshoot this issue.

Is there any log files or a way to force the system to generate log files so that I can troubleshoot?
System: Win 7 64

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.