/r/gmic

Photograph via snooOG

G'MIC is a full-featured open-source framework for image processing, distributed under the CeCILL free software licenses (LGPL-like and/or GPL-compatible). It provides several user interfaces to convert / manipulate / filter / visualize generic image datasets, ranging from 1D scalar signals to 3D+t sequences of multi-spectral volumetric images, hence including 2D color images (https://gmic.eu).

G'MIC is a full-featured open-source framework for image processing, distributed under the CeCILL free software licenses (LGPL-like and/or GPL-compatible). It provides several user interfaces to convert / manipulate / filter / visualize generic image datasets, ranging from 1D scalar signals to 3D+t sequences of multi-spectral volumetric images, hence including 2D color images.

/r/gmic

442 Subscribers

1

GMIC won't appear in photoshop

I was having some trouble with gmic in photoshop. I tried using the posterize feature but it just put an image with lines on it in my downloads folder, it didn't do anything for my work for Photoshop. So i uninstalled in and downloaded GmicPlugin_arm64_win11.zip from https://github.com/0xC0000054/gmic-8bf/releases. But it won't show in photoshop. It doesnt show gmic at all and when i open photoshop it says that it was removed. I put the files in C:\Program Files\Common Files\Adobe\Plug-Ins\CC. Please help.

1 Comment
2024/07/08
21:40 UTC

1

merging of thousands of images into one

Hello!

I wonder if it's possible to use g'mic to merge around 8000 images, all 32-bit full-float EXR, into one 32-bit full-float EXR?

I'm not sure what the best operation would be, but I think I want to add them together as if it was one long exposure, but normalise it back to a regular exposure. So I think I would also need to divide the intensity of each image by the total number of images, and then add them onto each other. Or maybe that's the same as doing a mean?

regards,

Thomas

2 Comments
2024/06/24
13:29 UTC

1

Please help me convert a series of commands that work on G'MIC-qt into a bash prompt command line

SORRY, NEVERMIND. THE PROBLEM WAS THAT G'MIC'S COMMAND LINE DEBIAN PACKAGE IS OLDER THAN WHAT'S THERE ON GIMP OR KRITA, UPDATING IT TO THE ONE AVAILABLE ON GMIC'S SITE FIXES IT.

I thought it was a single thing shared, with the QT GUIs being merely "frontends" that used the same command line/library thing, which seems they upgrade by themselves regularly.

Maybe it's useful to leave it here so that perhaps more people hitting their heads on the wall can perhaps find this "solution" that I found somewhat unexpected. But it's okay to delete it if that's preferred, of course.

______________________________________________________________________

On GIMP/Krita I came up with this series of filters:

fx_tune_hsv 2,0,0,0,100,100,100,2,255,255,255,100,100,100,2,211,211,211,100,100,100,0,255,0,0,100,12.5,0,0,255,255,0,100,12.5,0,0,0,255,0,100,12.5,0,0,0,255,255,100,12.5,0,0,0,0,255,100,12.5,0,0,255,0,255,100,12.5,0 fx_smooth_bilateral 10,7,2,0,0,50,50 to_gray

If I put it within the "custom" loop within G'MIC qt, the preview works, as I wanted.

But I couldn't figure out how to use the very same command sequence as a bash prompt one-liner. I've tried things like:

gmic input.jpg fx_tune_hsv 2,0,0,0,100,100,100,2,255,255,255,100,100,100,2,211,211,211,100,100,100,0,255,0,0,100,12.5,0,0,255,255,0,100,12.5,0,0,0,255,0,100,12.5,0,0,0,255,255,100,12.5,0,0,0,0,255,100,12.5,0,0,255,0,255,100,12.5,0 fx_smooth_bilateral 10,7,2,0,0,50,50 to_gray output.jpg

and that with the input file preceded by either --input or -i, same with --output -o, and also adding an hyphen before each command ( "-fx_tune_hsv" ).

And maybe some other permutations of possibilities. Some AI chat suggested me also to add a "floating" hyphen before all commands.

But it seems that in any case I get gmic interpreting the first command to actually be an input file:

[gmic]-0./ Start G'MIC interpreter. 
[gmic]-0./ Input file 'input.jpg' at position 0 (1 image 1280x1208x1x3). 
[gmic]-1./ Input file '-fx_tune_hsv' at position 1 [gmic]-1./ *** Error *** Unknown command or filename '-fx_tune_hsv'.

I was trying to see if in that web-GUI for G'MIC there was something analog to that single-command-to-clipboard button on GMIC-qt, but that would give me the entire command line, but it doesn't look like it has it.

Thanks for your time reading it.

0 Comments
2024/06/09
19:48 UTC

1

Montage Filter "Too many input images."

When using the Montage function on G'MIC-Qt I am running into a "Too many input images." error. I used Montage for a project in the past with 2000ish images and was able to process it just fine, but now with just over 3000 images I can't change the type to anything but Auto without getting this error.

Is there a hard limit to the amount of images I'm able to use or am I running into another problem like RAM or something else? Auto works as expected but it's not the look I'm going for.

Edit: I just tried again with 200 images and got the same results.

0 Comments
2024/04/28
14:19 UTC

2

We need help getting G'MIC to work on Gimp 2.99.19 on Linux

Hello I'd like if the G'MIC team could investigate why Gimp doesn't work on the latest Gimp 2.99 anymore. I believe it worked on earlier versions but after I updated from Gimp 2.99.16 to Gimp 2.99.17 it stopped working.

I'd appreciate feed back

2 Comments
2024/03/27
20:09 UTC

1

"Clean Text" multiple layers

G'MIC-Qt Arch/Gnome

Whereas "Repair Scanned document" manages to apply a filter onto all layers one after the other, "Clean Text" weirdly compresses all layers into one single layer. Can this behaviour be replicated? Any idea how to work around this?

2 Comments
2024/01/14
23:46 UTC

5

Barbouillage script on an IR image

Shot on an IR converted DSLR, raw file converted with Darktable using a channel swap and GMIC's barbouillage filter applied through a script.

https://preview.redd.it/pz2s4djlct6c1.jpg?width=1602&format=pjpg&auto=webp&s=4f2c48a73e87dc984f4f143ec73b961ea4106eb8

0 Comments
2023/12/17
08:11 UTC

1

Batch change color mode?

Is it possible to change the color mode for a batch of images? I would like to keep the ones in RGB in RGB and change the Indexed ones without having to worry about sorting hundreds of images. It would be better than changing them individually after finding one whose color mode is Indexed and having to change the mode to RGB.

0 Comments
2023/12/07
14:15 UTC

2

Can Anyone Please Help Me Fix This Problem on GMIC?

I am using the latest version of Krita for my Mac OS 11.7, and I was trying out GMIC that came with the program. On GMIC, I was trying to use this effect called Contour (Extract Foreground [Interactive]. However, I was getting an error message that said,

" *** Error in ./fx_extract_foreground/*foreach/*substitute/x_segment/ *** Command 'x_segment': No display available."

Can anyone please tell me how to fix this problem? Does anyone have this problem too?

Thank you!

2 Comments
2023/12/07
07:43 UTC

1

Comic Panel Segmentation

Sometimes when I use G'MIC for comic panel segmentation, it doesn't work. How do I adjust it so it will separate them.

0 Comments
2023/11/27
18:57 UTC

1

Is there a way to install the G'MIC plugin for GIMP on Mac OS?

Hey fellow Mac users and GIMP enthusiasts! I've been diving into GIMP lately and I'm eager to enhance my editing capabilities with the G'MIC plugin. However, I'm struggling to find a straightforward guide on installing it for Mac OS. Has anyone successfully done this, and if so, could you please share your steps or point me in the right direction? Your help would be greatly appreciated! 🖌️💻 #GIMP #MacOS #GMICPlugin #TechHelp

3 Comments
2023/11/25
01:31 UTC

0 Comments
2023/11/24
21:57 UTC

4

Haven't used the GMIC "hard sketch" filter that much, but...

On this shot of the iconic buildings around Amsterdam's central railway station, I love the effect. I did up the saturation and contrast a bit after GMIC did its "thing".

https://preview.redd.it/b5xa7k3l32rb1.jpg?width=1602&format=pjpg&auto=webp&s=baffd27e9fde113cf64facaaf97d2b5fae93c5cc

0 Comments
2023/09/28
20:30 UTC

2

A few of today's infrared images edited with GMIC's dream smoothing and sketch filter

0 Comments
2023/08/21
14:26 UTC

1

Gmic x86/32bits for Gimp 2.10.34?

Hello,

I've updated my Gimp from 2.8 to latest 2.10.34 but then I got error messages from gmic at startup. Then, I uninstalled Gmic but I can't find an installer for windows x86/32bits. Any help?

Thx

2 Comments
2023/07/26
14:58 UTC

2 Comments
2023/07/14
18:45 UTC

1

What am I doing wrong with the GMIC Cutout filter in GIMP?

I don't understand what I'm doing wrong. Do the photos I'm using suck? Am I importing them in a way that's not working with this filter? Is there something I need to do beforehand that would make it work better? It looks more like an abstract painting or pixel art than a stencil/cutout version of the original image. Playing around with the three setting options doesn't really help much - it either ends up looking exactly like the photo with no adjustments or it is a mess.

5 Comments
2023/07/11
01:49 UTC

1

Where is the inverse Fourier transform function?

Hello. I'm using latest G'MIC and GIMP, and I have noticed that the inverse Fourier transform function appears to be missing, therefore I cannot return to my original image. Any help? Thanks.

4 Comments
2023/06/25
19:54 UTC

1

Possible to "stop" an ongoing process and get output as-is?

First and foremost: this tool has completely changed my workflow and I am so grateful for it. Thank you all so much!

I'm using the Photoshop plugin to experiment with some print-sized media and have been running into expectedly lengthy processing issues, even if the filter itself didn't take long to load in the preview. For example, right now I have a process that's been running in the background for over four hours and at this point, I'd rather stop it where it is entirely and see where it got, but I don't think this is possible in the Photoshop plugin GUI.

Totally willing to admit I may be completely misunderstanding how things work behind-the-scenes and what kind of results I'd get from an incomplete render (though much of my work is based on degradation so it might work regardless!), but I just wanted to see if it was possible. I'm comfortable with using a CLI to do this work as well, if there's a flag I can set there instead.

Thank you!

5 Comments
2023/06/06
19:58 UTC

3

I have a path from an image of my model. How can I fill it with text?

I want to use the path selection I made from the image of a girl and FILL it with text.

I do NOT want to follow the path.

Likewise, I want to limit the text to within this path outline so that the image gets a text overlay.

I do not want the TXT to appear outside the image path boundary.

I do not want the limited box shape for text.

I was hoping G'Mic has an element that can achieve this?

0 Comments
2023/06/03
05:26 UTC

3

Help applying a filter to all layers for a gif

I'm playing around with filters for gifs on GIMP, installed GMIC to be able to apply a filter on all layers.

However, the filter is only applied to one layer, with all the other layers coming out weird. I attached screenshots to show what's going on.

2 Comments
2023/05/27
20:44 UTC

9

Release of G'MIC 3.2.4

1 Comment
2023/04/28
11:20 UTC

3

Is there a GMIC filter that does "Crop to content" like Gimp does?

I know Gimp can do this "auto cropping" but if I want to automate a certain task I need to figure out how to do it in GMIC. Thanks

1 Comment
2023/04/27
23:06 UTC

Back To Top