Code Monkey home page Code Monkey logo

gmic-qt's People

Contributors

0-wiz-0 avatar 0xc0000054 avatar aferrero2707 avatar albert-github avatar alvinhochun avatar amyspark avatar antonio-rojas avatar bigbruno avatar c-koi avatar cgilles avatar chris-morgan avatar cryptomilk avatar darix avatar dtschump avatar eszlari avatar hallarempt avatar jtojnar avatar lilyinstarlight avatar myselfhimself avatar omicron321 avatar pan93412 avatar ptfish8 avatar q-okolom avatar radhermit avatar rherault-pro avatar starinspace avatar stefantalpalaru avatar tcberner avatar tokyogeometry 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

gmic-qt's Issues

no global settings I can find for qt interface

I used the logfile in the gtk version to see the cli commands used to generate effects, and I intended recently to parse it with some simple python scripts for batch file processing. Pretty simple, look for lines with 'apply' in the first segment, parse out the command and args, keep track of them in a command list and you have a sequence of actions to batch process a whole photoshoot.

So I found out the gtk version is deprecated and downloaded the qt version and I'm hitting some massive impediments, which if it requires me to fix in a branch and merge later or just keep my own version somewhere publicly accessible I can live with that.

The issues:

  • I can't seem to find a way to change the default (or global) settings for output messages to log the actions to a file, it would seem I have to literally change the settings for each and every single effect to have the output messages get sent somewhere I can parse them.

- When I open the logfile, it has no distinguishing features between lines that were "previewed" in the QT editor vs applying them to the GIMP window. This completely prevents me from parsing the logfile for completed actions vs my tweaking values to find settings I like.

My desired workflow would be to open an image from a shoot in GIMP, use gmic-qt plugin to alter the image in stages, run my script to parse the logfile into discrete steps which I could apply to all images.
I plan more features but if this part isn't possible it ruins the whole project. What really kills me is this would have been nearly trivial in the gtk version but in this version I see no way to directly do these things.

[Krita plugin] Missing Linux (and Mac OSX) packages, no compiling instructions

Hi,

I wanted to test G'mic Krita plugin with Krita 3.2 RC, but on this page, only Debian and Windows packages are available.
I know the project is young, but I can't test it with an Archlinux distribution, and I suppose Ubuntu and Fedora should be supported too. Or you can provide a generic static Linux packages, or an Appimage as Krita do.
If you don't have the time to do that, please at least provides some compiling instructions for beginners.

I'm sorry I don't have the necessary skills to help with this, but with some compiling instructions I can try to create a PKGBUILD for AUR and the Archlinux community.

Background of radio/check buttons becomes dark with light (default) theme

Steps to reproduce the bug:

  • Start the G'MIC plug-in interface, with default theme (light gray).
  • Go to Settings and select Theme -> Dark. Click OK.
  • Instead of closing the plug-in, go again to 'Settings' -> background of radio and check buttons is now dark (see attached screenshot).

gmic_bug_light_theme

Not a critical bug though :p

Can the G'MIC plugins output and re-input files?

I've been trying to implement a JIFF ('JPEG') glitch script in G'MIC and the quickest way to do it is to mess with the data of a JPEG file that's already been saved from within the GIMP plugin. I've asked about it in a giant thread on discuss.pixls.us and I've got a no from a very experienced G'MIC user, though they say that it's possible in the CLI interface. It would be more convenient to have input and output operations within the plugin so that one can make images similar to the one demonstrated here.

Can't build on Debian 9

Hi. I try to build G'MIC Qt on my Debian 9. Error is:

Project MESSAGE: GMIC PATH ../gmic/src
Project MESSAGE: Prerelease date is 170624
Project MESSAGE: Linux platform
Project MESSAGE: Target host software is GIMP
Project MESSAGE: OpenMP enabled
Project MESSAGE: Release build
Project ERROR: fftw3 development package not found

but libfftw3-dev is installed. What's wrong?

Questions about translation

Hi, I'm Tyson Tan from Krita's simplified Chinese community. May I ask how do I contribute to the translation of gmic and gmic-qt? I only see a few translation files in the repository that contain only the base UI strings, while all the filters together must have thousands of strings to translate. I tried to find related documentation but with no luck. Can you help me? Thanks!

Why is GIMP the default host in the README example?

Is there a way to build G`Mic without any GTK dependency?

And if yes, why is GIMP the default host in the README example then?
Isnt the Qt port supposed to work with Qt programms like Krita?
Why should i build gmic-qt with GIMP?

screenshot_20170710_222705

digikam host build fails in 2.9.3

/build/gmic/src/gmic-2.9.3/gmic-qt/src/Host/digiKam/gmicqttoolplugin.cpp: In member function ‘void DigikamEditorGmicQtPlugin::GmicQtToolPlugin::slotGmicQt()’:
/build/gmic/src/gmic-2.9.3/gmic-qt/src/Host/digiKam/gmicqttoolplugin.cpp:121:45: error: ‘configuredTranslator’ is not a member of ‘LanguageSelectionWidget’
  121 |     QString lang = LanguageSelectionWidget::configuredTranslator();
      |                                             ^~~~~~~~~~~~~~~~~~~~
make[2]: *** [CMakeFiles/Editor_GmicQt_Plugin.dir/build.make:1086: CMakeFiles/Editor_GmicQt_Plugin.dir/src/Host/digiKam/gmicqttoolplugin.cpp.o] Error 1

Cursor change after point() movements

Seemingly in "Spherize", "Flower", "Euclidean - polar" and "Kaleidoscope [polar/blended]" after some movements of Center the cursor does not change back to default!

For "Flower" it would be good to fix the former distance and angle, (white point moves the red too)!
2018-06-20_12-13-47

This is
image

G'MIC preview window isn't gamma corrected for linear images

G'MIC version: 2.1.3, inside Krita.
Platform: Windows

Currently linear images are displayed correctly inside main Krita window, but there is no gamma correction inside G'MIC window. Maybe some kind of switch or option is needed for this?

To replicate:

  • download current Krita 4.0 from https://binary-factory.kde.org/job/Krita_Nightly_Build/
  • open exr from provided link
  • set g'mic to Basic adjustments filter
  • image inside G'MIC windows will be darker and more saturated (no gamma correction)
    Sidenote: some weird colors are visible when zooming out.

Sample file to test:
http://gl.ict.usc.edu/Data/HighResProbes/probes/uffizi-large.exr
From:
http://gl.ict.usc.edu/Data/HighResProbes/

gmic-qt with paint.net and gimp 2.8

hi,
i'm using gmic-qt with paint.net and with gimp 2.8 on windows
i tested with this on gimp : https://www.fosshub.com/GMIC.html?dwl=gmic_2.9.6_gimp2.8_win64.exe
and this on paint.net : https://github.com/0xC0000054/pdn-gmic/releases/download/v2.9.6/Gmic_win64.zip

and i got this with the Montage filter :
on gimp
image

there is no imput layer settings on the left as i can see on some video and as it's said in the help text, is this normal ?
when i try to use the Montage, it doesnt take care of each layers (9 layers) with auto and custom layout.

almost the same on paint.NET with the same layers (but nothing work at all here on each montage type)
image

the i try the stand alone and the online tool, but it seems they only care about 1 picture file
ty for this amaizing software ! :)

New CMake doesn't succeed: Qt5LinguistTools missing

I'm trying to compile gmic-qt with the new CMake from @boudewijnrempt , and I get this error:

$:~/work/src/gmic-qt/build$ cmake ../
-- Using CMake version: 3.5.1
Building version:gimp
G'Mic path: ../gmic/src
CMake Error at CMakeLists.txt:46 (find_package):
  By not providing "FindQt5LinguistTools.cmake" in CMAKE_MODULE_PATH this
  project has asked CMake to find a package configuration file provided by
  "Qt5LinguistTools", but CMake did not find one.

  Could not find a package configuration file provided by "Qt5LinguistTools"
  with any of the following names:

    Qt5LinguistToolsConfig.cmake
    qt5linguisttools-config.cmake

  Add the installation prefix of "Qt5LinguistTools" to CMAKE_PREFIX_PATH or
  set "Qt5LinguistTools_DIR" to a directory containing one of the above
  files.  If "Qt5LinguistTools" provides a separate development package or
  SDK, be sure it has been installed.


-- Configuring incomplete, errors occurred!
See also "/home/dtschump/work/src/gmic-qt/CMakeFiles/CMakeOutput.log".

By the way, I can confirm I already have all the required dependencies to compile gmic-qt on my system, using the .pro file with qmake.
Any idea ?

Latest version of the Windows GIMP plugin does not work with GIMP 2.10.24

Downloaded: https://www.fosshub.com/GMIC.html?dwl=gmic_2.9.6_gimp2.10_win64.exe

Install in GIMP 2.10.24 and it is not working. See GIMP issue https://gitlab.gnome.org/GNOME/gimp/-/issues/6670.

Looks like it is caused by an incompatible version of libgobject-2.0.0.dll. gmic apparently needs a version that includes function g_memdup2. It should include it's own version of this library instead of relying on the version included with GIMP.

Windows Defender blocking .exe

Windows protected your PC
Microsoft Defender SmartScreen prevented an unrecognised app from starting. Running this app might put your PC at risk.
Application: gmic_2.9.7_gimp2.10_win64.exe
Publisher: Unknown publisher

make gimp and make gmic-qt throws an error on MacOS 10.13.5 MacPorts 2.5.2

/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -c -pipe -stdlib=libc++ -O2 -Ofast -s -std=gnu++11 -arch x86_64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk -mmacosx-version-min=10.10 -Wall -W -fPIC -Dcimg_use_cpp11=1 -Dcimg_use_fftw3 -Dcimg_use_zlib -Dgmic_build -Dcimg_use_abort -Dgmic_is_parallel -Dcimg_use_curl -Dcimg_use_png -Dcimg_use_rng -Dcimg_appname="gmic" -Dgmic_prerelease="180617" -Dcimg_display=1 -DGMIC_HOST=standalone -Dgmic_gui -Dgmic_build -Dgmic_is_parallel -Dcimg_use_abort -Dcimg_use_vt100 -DQT_NO_DEBUG_OUTPUT -D_IS_MACOS_ -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -Isrc -I../gmic/src -I/opt/local/include -I/opt/local/include/libpng16 -I/opt/local/libexec/qt5/lib/QtWidgets.framework/Headers -I/opt/local/libexec/qt5/lib/QtGui.framework/Headers -I/opt/local/libexec/qt5/lib/QtNetwork.framework/Headers -I/opt/local/libexec/qt5/lib/QtCore.framework/Headers -I.moc -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/System/Library/Frameworks/OpenGL.framework/Headers -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/System/Library/Frameworks/AGL.framework/Headers -I.ui -I/opt/local/libexec/qt5/mkspecs/macx-clang -F/opt/local/libexec/qt5/lib -o .obj/FilterSyncRunner.o src/FilterSyncRunner.cpp
clang: warning: argument unused during compilation: '-s' [-Wunused-command-line-argument]
src/FilterSyncRunner.cpp:41:3: error: use of undeclared identifier 'setStackSize'
setStackSize(8 * 1024 * 1024);
^
1 error generated.
make[1]: *** [Makefile:3203: .obj/FilterSyncRunner.o] Fehler 1
make[1]: Verzeichnis „/Volumes/mbxxxxSD1/Users/xxxx/sw/gmic-qt“ wird verlassen
make: *** [Makefile:528: gmic_qt] Fehler 2

make install cannot find file cs.qm

the build is ok, but install failed for cs.qm file missing.

Builds/gmic-qt$ make -j5 ... [100%] Built target gmic_gimp_qt Install the project... -- Install configuration: "Release" CMake Error at cmake_install.cmake:49 (file): file INSTALL cannot find "/home/dmaugis/Builds/gmic-qt/cs.qm". Makefile:85: recipe for target 'install' failed make: *** [install] Error 1

Support for Gimp 2.99 / 3.0

I noticed the program doesn't work yet on GIMP 2.99 aka: gimp-git [AUR] -- is there something I'm missing or need to do to make it work?

Compile Error

Hi All,
I downloaded last git version of gmic and gmic-qt and typed

git clone https://github.com/dtschump/gmic.git
git clone https://github.com/c-koi/gmic-qt.git
make -C gmic/src CImg.h gmic_stdlib.h
cd gmic-qt

mkdir build
cd build

cmake .. -DGMIC_QT_HOST=gimp -DGMIC_PATH=/root/git/gmic/src/ -DCMAKE_BUILD_TYPE=Release
make -j5

but I had:

`-- Using CMake version: 3.15.2
Building for target host application: gimp
G'MIC path: /root/git/gmic/src/
Found G'MIC repository
Found /root/git/gmic/src//CImg.h
Found /root/git/gmic/src//gmic_stdlib.h
CImg version is [270]
G'MIC version is [270]
-- Found FFTW3
-- FFTW Found Version:
-- Found OpenMP_C: -fopenmp
-- Found OpenMP_CXX: -fopenmp
-- Found OpenMP: TRUE
G'Mic: using OpenMP
Release build
-- The following OPTIONAL packages have been found:

  • CURL
  • OpenMP, A low-level parallel execution library, http://openmp.org/wp/
    Optionally used by gmic-qt
  • X11

-- The following REQUIRED packages have been found:

  • Qt5Core
  • Qt5Gui
  • Qt5Widgets
  • Qt5Network
  • Qt5 (required version >= 5.2.0)
  • Qt5LinguistTools
  • PNG
  • ZLIB
  • FFTW3

-- Configuring done
**CMake Error at CMakeLists.txt:483 (add_executable):
Cannot find source file:

src/FilterParameters/CustomDoubleSpinbox.h**

Tried extensions .c .C .c++ .cc .cpp .cxx .cu .m .M .mm .h .hh .h++ .hm
.hpp .hxx .in .txx

-- Generating done
CMake Generate step failed. Build files cannot be regenerated correctly.
`
Can you help me ??

Colorize (interactive) Filter Doesn't complete when using i3wm

Steps to reproduce
1 Grab any old image with "lineart"; can even be very simple.
2 Choose the colorize [interactive] filter and add control points. (I used the Lineart and Image + Colors (2 layers) option)
3 Finish and press Enter.

Expected results: gmic finishes processing the points and you get the image back.
What happens: gmic is stuck in processing with the progress bar at the bottom; nothing happens. You can still cancel it, but the image remains unaltered.

Sometimes works the first time; but after that, it stops working. I've only ever been able to do this when using i3wm; doesn't happen in XFCE, for example.

Might also happen with other interactive filters. I tried color mask [interactive] and the same thing happens.

Problem with build instructions

I need some clarification on the build instructions. The instructions seem like an after thought and are not clear.
For example:

git clone https://github.com/dtschump/gmic.git
git clone https://github.com/c-koi/gmic-qt.git
make -C gmic/src CImg.h gmic_stdlib.h
cd gmic-qt

The make command shows that you are changing directories to gmic/src but the proceeding two files CImg.h and gmic_stdlib.h are not in the gmic/src sub-directory.

I have two further questions:
  1. Are these instructions out of date?
  2. If I already have gmic-devel installed from my distributions repository is that make command necessary or can I just use the cmake option -DGMIC_PATH=/path/to/rpm/installed/gmic?

timeout handling

Calling gmic scripts with "-x" (external programs)calls in gmic_gimp_qt delivers immediate timeout independent of the time set.

This is MacOS 10.14.5/Gimp 2.10 /gmic 2.3.2_pre#180626

Compile Error gmic-qt

Hello/Salut!
Manjaro KDE 18.0.4
I am trying to compile gmic-qt according to directions given on the GitHub page above.
It worked just fine yesterday, but today I get a compile error:

./gmic/src/gmic.cpp: In static member function ‘static const cimg_library::CImg<char>& gmic::decompress_stdlib()’:
../gmic/src/gmic.cpp:2474:59: error: ‘data_gmic_stdlib’ was not declared in this scope
       CImgList<char>::get_unserialize(CImg<unsigned char>(data_gmic_stdlib,1,size_data_gmic_stdlib,1,1,true))[0].
                                                           ^~~~~~~~~~~~~~~~
../gmic/src/gmic.cpp:2474:78: error: ‘size_data_gmic_stdlib’ was not declared in this scope
 ist<char>::get_unserialize(CImg<unsigned char>(data_gmic_stdlib,1,size_data_gmic_stdlib,1,1,true))[0].

Cordially,
Claes in Lund, Sweden

Add HiDPI support

Please add support for HiDPI displays.

All displayed graphics are pixelated. The GREYC icons need to be added with a higher resolution and the preview needs to be scaled correctly.

HiDPI support for Gwenview (might help):
https://phabricator.kde.org/D7581

Open gmic-qt with file

I am one of the developers of PhotoLine image processing software (www.pl32.com).
Users told me, that it is no longer possible to use gmic-qt as an external program in PhotoLine.
PhotoLine has an external program interface. This way, PhotoLine starts an external program and passes a TIFF or PNG image to this program. When the image is changed, PhotoLine updates automaticalla.
One of you last releases removed the option to pass an image to gmic-qt when starting it.
Can you fix this?

We want to submit a Chinese translation of the filter.Help!

We have translated the content of the filter (Simplified Chinese) and made a comparison table (there are many errors, and the content is still being corrected). Now, I want to submit to github, but I don't know how to submit (I haven't used github). please help us.

如果想和我们一起进行翻译校正的小伙伴,可以加我们的翻译群,一起进行校正。企鹅群号:1104411309

CentOS7: Krita 4.0.4 + gmic_krita_qt 2.3.0/2.2.3 - QSharedMemory::attach

Hello, i am running CentOS7 with kernel 3.10.0-514.26.2.el7.x86_64.
I am trying to make Krita work with Stable and PRE versions of Gmic.
I have compiled from sources following the guide using Qt5.6.1.
When i load the plugin via Filter-view in Krita, in terminal i have:
Plugin started true QProcess::ProcessState(Running) gmic-qt: socket Key: "{ea3730a8-37ce-48e2-8242-3379aa1b1de2}" connected Received "command=gmic_qt_get_image_size\nmode=1" Sending "1600,1200" connected Received "command=gmic_qt_get_cropped_images\nmode=1\ncroprect=0,0,1,1" prepareCroppedImages() "" QRectF(0,0 1x1) 1 Converting node "Layer 2" QRect(0,0 1600x1200) "key_{cb707798-7e65-4b0a-b4f3-f8883f577c5c},4c617965722032,1600,1200\n" Sending "key_{cb707798-7e65-4b0a-b4f3-f8883f577c5c},4c617965722032,1600,1200\n" gmic-qt: Could not attach to shared memory area. 5 "QSharedMemory::attach (shmget): doesn't exist" gmic-qt: Could not attach to shared memory area. 5 "QSharedMemory::attach (shmget): doesn't exist"

[Krita plug-in] No optimizations during compilation

It looks like compiling the plug-in with CMake does not turn the optimizations on, leading in much slower plug-in compared to the GIMP version.
In particular, if I generate the Makefile with cmake, then run:

$ make VERBOSE=1

I get this kind of compilation command line for each file:

[ 94%] Building CXX object CMakeFiles/gmic_krita_qt.dir/home/dtschump/work/src/gmic/src/gmic.cpp.o
/usr/bin/c++   -DGMIC_HOST=krita -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_NO_DEBUG_OUTPUT -DQT_WIDGETS_LIB -D_IS_LINUX_ -D_IS_UNIX_ -Dcimg_display=1 -Dcimg_use_abort -Dcimg_use_curl -Dcimg_use_fftw3 -Dcimg_use_fftw3_singlethread -Dcimg_use_openmp -Dcimg_use_png -Dcimg_use_rng -Dcimg_use_vt100 -Dcimg_use_zlib -Dgmic_build -Dgmic_gui -Dgmic_is_parallel -I/home/dtschump/work/src/gmic-qt/build -I/home/dtschump/work/src/gmic-qt -I/home/dtschump/work/src/gmic-qt/include -I/home/dtschump/work/src/gmic-qt/../gmic/src -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -isystem /usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++-64 -isystem /usr/include/x86_64-linux-gnu/qt5/QtWidgets -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtNetwork  -fopenmp   -fopenmp -fPIC -std=gnu++11 -o CMakeFiles/gmic_krita_qt.dir/home/dtschump/work/src/gmic/src/gmic.cpp.o -c /home/dtschump/work/src/gmic/src/gmic.cpp

which clearly exhibits that no -O3 flag is used (and it should, as done by the default ̀Makefileand.profile). This is particularly important when compiling the filegmic.cppbecause it contains all the code that manages the image processing operations, so using-O3makes a **huge** difference on the filter performance (even compared to-O2`!). Note that no optimizations are enabled when compiling the other files as well (though the consequence are probably less visible).

Any idea to fix that?

gimp_qt fails to build with qt-5.11.0

src/Widgets/SearchFieldWidget.cpp: In constructor 'SearchFieldWidget::SearchFieldWidget(QWidget*)':
src/Widgets/SearchFieldWidget.cpp:52:69: error: no matching function for call to 'SearchFieldWidget::connect(QAction*&, const char [17], QLineEdit*&, const char [9])'
connect(_action, SIGNAL(triggered(bool)), _lineEdit, SLOT(clear()));
^
Apparently there have been a lot of API changes in 5.11. The attached
gmic-qt-5.11.txt

patch fixes it on 5.11, and I hope it will not break on older versions.

Preview timeout on MacOS 10.13.6

I successfully built gmic_qt, but consistently get a preview timeout (in the preview window) no matter what timeout duration is set.

The only error I can see is:

*** Error *** Command 'apply_timeout': *** Error in ./fx_laplacian_preview/gui_split_preview/*repeat/(...)/apply_timeout/*if/*local/*thread0/ *** Unknown command or filename '_split_preview' (did you mean '_split_preview' ?).

very-verbose-log.txt

Compile error

Hi again,
after compiled gmic-qt on laptop I tried to compile on desktop with the same distro ( Slackware current) but after configuration OK when I compile I have:

[ 1%] Automatic MOC for target gmic_gimp_qt
[ 1%] Built target gmic_gimp_qt_autogen
[ 2%] Building CXX object CMakeFiles/gmic_gimp_qt.dir/gmic_gimp_qt_autogen/mocs_compilation.cpp.o
In file included from /root/git/gmic-qt/build/gmic_gimp_qt_autogen/mocs_compilation.cpp:2:
/root/git/gmic-qt/build/gmic_gimp_qt_autogen/UVLADIE3JM/moc_ClickableLabel.cpp:9:10: fatal error: ../../../../../sorgenti/git/gmic-qt/src/ClickableLabel.h: No such file or directory
9 | #include "../../../../../sorgenti/git/gmic-qt/src/ClickableLabel.h"
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [CMakeFiles/gmic_gimp_qt.dir/build.make:182: CMakeFiles/gmic_gimp_qt.dir/gmic_gimp_qt_autogen/mocs_compilation.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:77: CMakeFiles/gmic_gimp_qt.dir/all] Error 2
make: *** [Makefile:130: all] Error 2

I think it is related to my PC configuration.. any hints?

Allow hosts to check if the user canceled the plugin

Currently there is no way for a host the know if the user canceled the dialog, this can cause confusing behavior for users.

For example, in the GIMP and Paint.NET plugins if a user clicks the Apply button followed by Cancel it behaves as if the user clicked Ok.
This requires the user to undo the applied G'MIC effect after the G'MIC-Qt plugin has been closed.

The API should provide a method for the host to determine if the user exited the dialog by pressing the Ok button, any other exit method will be treated as if the dialog was canceled.

Use Gimp / gmic-qt filters on commandline

Not sure if this is the right place, but I will give it a try:

I have installed G'Mic Gimp plugin and found the nice filter "Artistic -> Sketch" but can't find a way to use it on the command line.

How to use it?

$gmic -input source.jpg -fx_sketch
[gmic]-0./ Start G'MIC interpreter.
[gmic]-0./ Input file 'source.jpg' at position 0 (1 image 3245x3245x1x3).
[gmic]-1./ Input file '-fx_sketch' at position 1
[gmic]-1./ *** Error *** Unknown command or filename '-fx_sketch'; did you mean 'fx_sketchbw'?

But fx_sketchbw is a completly different filter?

Is there a way to reset a filter parameters to (sane) defaults.

Dear Developers,
sometimes I play so much with a filter settings to find my self painted in a corner (ahah, painted!).
At that point the only way that I know to restart my game using sane defaults is to restart the, say, host of G'MIC-Qt (in my case The Gimp) because closing and restarting the Qt interface reloads the modified settings again and again (note that restarting The Gimp resets all filters settings):

  • is it possible to tell the Qt interface to reload the defaults? or,
  • is it possible to introduce such a mechanism?

If it's possible to introduce such a mechanism, I suggest that it acts on a filter by filter basis, possibly with the option of a global reset but this, imho, is rather a secondary issue because we can always restart the host.
Nice to have G'MIC, thank you very much ֎ g

No make install support?

I noticed that the build instructions have no mention of using make install. Having attempted to do so anyway, nothing happened. Are there plans to implement support for make install?

installing gmic in krita

i have no experience in programming but i've look everywhere and i don't know where else to get help
on how to install this plugin in krita
i'm using windows 10 with krita's verson 4.1.7
if there's no other way but to learn these then please be patient with me and i'll do my best to understand the issue and finally be able to add this plugin to the program
any help would be appreciated thank you

Open more than one layer in GIMP

What I have done:

  • Open an image in GIMP
  • Open a second image (other scale or same scale) as a second layer
  • Select both layers with "chaining" them
  • open GMIC-plugin and choose "Stylize" with "Custom Style (Top Layer)" setting as "Style"

What I expect: The bottom layer of my image get stylized like the top layer.

What happens instead: "Preview warning: At least two layers are required when specifying a custom style"

Did I do something wrong or is that an error/limitation in the plugin?

GIMP version 2.10.12
gmic version 2.7.1
System: Manjaro Linux

fatal error: 'libgimp/gimp.h' file not found

Hi, I'm compiling the source code in Mac OS Sierra and I get the following error:

cmake .. -DGMIC_QT_HOST=gimp -DGMIC_PATH=/Users/sergiohernandez/CLionProjects/gmic/src/ -DCMAKE_BUILD_TYPE=Release

-- Using CMake version: 3.14.3
Building for target host application: gimp
G'MIC path: /Users/sergiohernandez/CLionProjects/gmic/src/
Found G'MIC repository
Found /Users/sergiohernandez/CLionProjects/gmic/src//CImg.h
Found /Users/sergiohernandez/CLionProjects/gmic/src//gmic_stdlib.h
CImg version is [262]
G'MIC version is [262]
-- Found ZLIB: /usr/lib/libz.dylib (found version "1.2.8")
-- Found PNG: /usr/local/lib/libpng.dylib (found version "1.6.37")
-- Found PkgConfig: /opt/local/bin/pkg-config (found version "0.29.2")
-- Found FFTW3
-- FFTW Found Version:
-- Found CURL: /opt/local/lib/libcurl.dylib (found version "7.64.1")
-- Could NOT find OpenMP_C (missing: OpenMP_C_FLAGS OpenMP_C_LIB_NAMES)
-- Could NOT find OpenMP_CXX (missing: OpenMP_CXX_FLAGS OpenMP_CXX_LIB_NAMES)
-- Could NOT find OpenMP (missing: OpenMP_C_FOUND OpenMP_CXX_FOUND)
Release build
-- The following OPTIONAL packages have been found:

  • CURL

-- The following REQUIRED packages have been found:

  • Qt5Core
  • Qt5Gui
  • Qt5Widgets
  • Qt5Network
  • Qt5 (required version >= 5.2.0)
  • Qt5LinguistTools
  • PNG
  • ZLIB
  • FFTW3

-- The following OPTIONAL packages have not been found:

-- Configuring done
-- Generating done
-- Build files have been written to: /Users/sergiohernandez/CLionProjects/gmic-qt/build

make
[ 96%] Building CXX object CMakeFiles/gmic_gimp_qt.dir/src/Host/Gimp/host_gimp.cpp.o
/Users/sergiohernandez/CLionProjects/gmic-qt/src/Host/Gimp/host_gimp.cpp:25:10: fatal error: 'libgimp/gimp.h' file not found
#include <libgimp/gimp.h>
^~~~~~~~~~~~~~~~
1 error generated.
make[2]: *** [CMakeFiles/gmic_gimp_qt.dir/src/Host/Gimp/host_gimp.cpp.o] Error 1
make[1]: *** [CMakeFiles/gmic_gimp_qt.dir/all] Error 2
make: *** [all] Error 2

Can you help me to solve this? thanks.

Allow users to switch the language of interface

2017-09-01 16 41 49

I am using the 3.2.1 appimages of krita.

I think it detects the locale of my os, traditional Chinese, and it decided to switch to simplified Chinese. I checked the source and find out that there is no traditional Chinese available, I assume it is some kind of fallback to simplified Chinese.

I think there should be an option to switch the language of the interface.

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.