Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Windows Imaging Component (WIC) Plugin
#8
(08-27-2017, 08:21 AM)Ofnuts Wrote:
(08-27-2017, 06:50 AM)Rene Slijkhuis Wrote: Note: you have to restart GIMP after changing the configuration file of this plug-in.

Does this work? Normally your plugin is re-registered only if Gimp detects a date change in the executable, but config files (that are not known to Gimp) are not taken in account. So just changing the config file doesn't change the registration info. Unless the Window implementation re-registers everything on every startup, but I thought that this bug was fixed in recent versions?

Plugin registration is normally done in the ‘query’ method which is indeed only called when the plugin has changed. I’ve verified this behavior with the latest GIMP version (2.8.22) on Windows.

However, you can also do the registration in the ‘init’ method which is called each time The GIMP starts up. The plugin will look in its own directory for the configuration file and does the reading itself without using GIMP config file mechanisms.

You can find the latest source code here:
https://github.com/ReneSlijkhuis/gimp-wic-plugin
Reply


Messages In This Thread
RE: Windows Imaging Component (WIC) Plugin - by Rene Slijkhuis - 08-27-2017, 08:58 AM

Forum Jump: