Gimp-Forum.net
Plug-in Tutorial - Printable Version

+- Gimp-Forum.net (https://www.gimp-forum.net)
+-- Forum: GIMP (https://www.gimp-forum.net/Forum-GIMP)
+--- Forum: Extending the GIMP (https://www.gimp-forum.net/Forum-Extending-the-GIMP)
+--- Thread: Plug-in Tutorial (/Thread-Plug-in-Tutorial)



Plug-in Tutorial - HueyIroquois - 10-18-2018

How do I create plug-ins? I can't find any tutorials more recent than 2011, and the ones I've found have links to nonexistent pages.


RE: Plug-in Tutorial - HueyIroquois - 10-19-2018

I found something, but I have a problem. After entering this command:

C:\Program Files\GIMP 2\bin>gimptool-2.0 --install "E:\Important\GIMP\Plug-ins\IntensityAdj.c"

I get this error, and I have no idea how to resolve it:

'pkg-config' is not recognized as an internal or external command,
operable program or batch file.
No output from 'pkg-config --cflags gimpui-2.0'


RE: Plug-in Tutorial - rich2005 - 10-19-2018

Simple compiled plugins using that gimptool-2.0 command a lot easier in linux than Windows, even then, old code liable to produce errors.

As far as I know for Windows, you need a whole load of extras, a C compiler 'mingw' + a load of library files.

Not many members here who compile for Windows. My advice: Post again on http://www.gimpchat.com where you might get a suitable answer. I would also include a link to that code IntensityAdj.c I have had a search and can not find that as a file.

Some not-too-old examples of questions from gimpchat
http://gimpchat.com/viewtopic.php?f=8&t=14393 http://gimpchat.com/viewtopic.php?f=9&t=13827 and their problems.


RE: Plug-in Tutorial - Ofnuts - 10-19-2018

You can write plugins in Python. Most of these are technically scripts, but if you use numpy you can write fairy powerful things.