| Welcome, Guest |
You have to register before you can post on our site.
|
| Forum Statistics |
» Members: 4,807
» Latest member: Sarvarian
» Forum threads: 7,892
» Forum posts: 42,969
Full Statistics
|
| Latest Threads |
How to change mouse wheel...
Forum: General questions
Last Post: rich2005
21 minutes ago
» Replies: 9
» Views: 18,865
|
Software-update: Affinity...
Forum: Other graphics software
Last Post: denzjos
57 minutes ago
» Replies: 0
» Views: 15
|
Converting python plugin-...
Forum: Gimp 2.99 & Gimp 3.0
Last Post: migf1
Yesterday, 01:01 PM
» Replies: 66
» Views: 57,443
|
A way to disable gimps ov...
Forum: General questions
Last Post: rich2005
Yesterday, 08:17 AM
» Replies: 6
» Views: 506
|
Installing LayerFX for Gi...
Forum: General questions
Last Post: rich2005
06-14-2026, 01:51 PM
» Replies: 1
» Views: 137
|
Help with coloring comic ...
Forum: General questions
Last Post: denzjos
06-14-2026, 08:41 AM
» Replies: 2
» Views: 209
|
Is it possible to save TI...
Forum: Windows
Last Post: ScanEditor
06-13-2026, 07:48 PM
» Replies: 2
» Views: 193
|
GIMP windows oversized at...
Forum: Installation and usage
Last Post: JimT777
06-13-2026, 12:19 PM
» Replies: 1
» Views: 3,244
|
Most accurate way to colo...
Forum: General questions
Last Post: denzjos
06-13-2026, 10:18 AM
» Replies: 5
» Views: 381
|
ofn3-layer-tiles
Forum: Extending the GIMP
Last Post: Phoenix
06-13-2026, 01:18 AM
» Replies: 11
» Views: 9,706
|
|
|
| Documentation |
|
Posted by: Deedolith - 01-08-2025, 11:16 PM - Forum: Extending the GIMP
- Replies (3)
|
 |
Hello,
I am looking for any Gimp 3 python API documentation link.
For now, I am mainly searching on Google, wich most of the time, yeld Gimp 2 API results (outdated), or C API (nice but translating from C to python is a PITA, too many trials and errors).
|
|
|
| Plug-in help |
|
Posted by: Deedolith - 01-07-2025, 05:28 PM - Forum: Extending the GIMP
- Replies (12)
|
 |
Hello,
I am having an hard time writing my first plus-in in Python.
I wrote a simple "Hello World" plug-in.
It show up in the menus (so the do_create_procedure member function work as intended).
It show up in the python procedures browser (so the do_query_procedures member function work as intended).
But it does not produce anything in the errors window and that leave me completly clueless.
What did I do wrong ?
Here is the source code:
Code:
import sys
import gi
gi.require_version('Gimp', '3.0')
from gi.repository import Gimp
gi.require_version('GimpUi', '3.0')
from gi.repository import GimpUi
from gi.repository import GLib
class Plugin (Gimp.PlugIn):
def do_query_procedures(self):
return [ "fl-plug-in-Hello-World" ]
def do_set_i18n (self, name):
return False
def do_create_procedure(self, name):
procedure = Gimp.ImageProcedure.new(self, name,
Gimp.PDBProcType.PLUGIN,
self.run, None)
procedure.set_image_types("*")
procedure.set_menu_label("Hello World Python plug-in")
procedure.add_menu_path('<Image>/Filters/My Scripts/')
procedure.set_documentation("Hello World",
"Python 3 plug-in for GIMP 3.0",
name)
procedure.set_attribution("Fabrice", "Lambert", "2025")
return procedure
def run(self, procedure, run_mode, image, n_drawables, drawables, config, run_data):
Gimp.message("Hello world!")
# do what you want to do, then, in case of success, return:
return procedure.new_return_values(Gimp.PDBStatusType.SUCCESS, GLib.Error())
Gimp.main(Plugin.__gtype__, sys.argv)
|
|
|
| CMYK issue: Krita or Cyan |
|
Posted by: enrimoore - 01-04-2025, 11:27 AM - Forum: Other graphics software
- Replies (14)
|
 |
Hello everybody and happy new year
I am asking here: Cyan is integrated with Gimp.
I need to convert RGB to CMYK for printing.
I wanted to use Cyan or Krita, they seem equivalent.
I found something very odd to me, so after a lot of tests, imho the issue is that
whatever the optional settings, with the exact same conversion to CMYK, tif and jpg :
a difference of about 95% exists between the jpg and tiff versions
(using a very consistent application)
The two CMYK versions, tif or jpg, are not even similar obviously. Even visually.
Many other tests suggest that this cannot be caused just by jpg loss of quality.
I would use the tif format, but this strange total difference seems worrying to me.
No idea if somebody way more knowledgeable, can suggest something.
I emailed the developer of Littlecms, but I don't know if they will clarify.
Maybe somebody can just confirm that the tiff version should be correct enough?
Btw, the only format producing an output equivalent to tif, is Photoshop, psd format.
Also, the result is the same with Krita or Cyan. I think they use Littlecms.
Thanks for any help or suggestion and best
enri
|
|
|
|