Is it possible to enhance the features of XnView doing my own programming ?
I am a programmer myself and I think I am able to quickly learn to work with any decent programming language and with any decent interface to a host system.
So I would be very happy to be allowed to add some special features to XnView, in case I decide to use it. In fact I would be happy to publish any results of that work as open source for XnView officials and all users freely using it.
Does XnView allow for a kind of Plugins ? Is there a powerful and decently documented interface ? I see there a User group on that behalf, but did not dive into same yet. I did find a manual that seems to include information about plugins, but I cant read French.
Can XnView be handles in a kind of open source way (integrating "plugins" by recompiling) ?
I also found the thread "Lets talk about plugins" here in FAQ, but it does not seem to handle how to write plugins and what they can be made to do.
Later Edit:
I did find the PluginSDK zip file and took a short look into it.
Seemingly you can write plugins using C and Delphi. This would be very good news for me, as - while I in fact mostly do C for embedded programming - for working on a PC I prefer Delphi Language.
OTOH, Delphi only can be used on Windows, and a main benefit of XnView for me is that it can be used on Linux.
So my question is if the "Delphi" SDK can be used with Lazarus/fpc (a Delphi work-alike that runs on many systems including Window, Linux, and Mac).
BTW.: is XnView done in Delphi (and XnViewMP in Lazarus/fpc ?) I would consider this a great Plus.
What do you suggest ?
Thanks-
-Michael
Writing plugins for XnView
Moderators: XnTriq, helmut, xnview
-
- Posts: 6
- Joined: Sat Apr 13, 2013 11:38 am
- Location: Germany
-
- Author of XnView
- Posts: 44746
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France
Re: Writing plugins
Sorry but i don't knowmschnell wrote: OTOH, Delphi only can be used on Windows, and a main benefit of XnView for me is that it can be used on Linux.
So my question is if the "Delphi" SDK can be used with Lazarus/fpc (a Delphi work-alike that runs on many systems including Window, Linux, and Mac).
Pierre.
-
- Posts: 6
- Joined: Sat Apr 13, 2013 11:38 am
- Location: Germany
Re: Writing plugins
In fact at the first glance it looks as if the plugin interface is just a dll interface using functions with stcall calling covention.
So it can be used by most programming languages including C, Delphi and Lazarus/FPC.
The function heades provided in the Delphi sources can easily be used with Lazarus/FPV. So no problem here.
OTOH it seems that the Plugin SDK is dedicated to Windows (dll) and I did not find any documentation regarding doing plugins for Linux (.so-files)
-Michael
(sorry but I can't read any documentation in French language)
So it can be used by most programming languages including C, Delphi and Lazarus/FPC.
The function heades provided in the Delphi sources can easily be used with Lazarus/FPV. So no problem here.
OTOH it seems that the Plugin SDK is dedicated to Windows (dll) and I did not find any documentation regarding doing plugins for Linux (.so-files)
-Michael
(sorry but I can't read any documentation in French language)
-
- Author of XnView
- Posts: 44746
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France
-
- Posts: 6
- Joined: Sat Apr 13, 2013 11:38 am
- Location: Germany
Re: Writing plugins
That is bad news indeed.
But I suppose the plugin interface will be available when coming nearer to v1.0
-Michael
But I suppose the plugin interface will be available when coming nearer to v1.0
-Michael
-
- Author of XnView
- Posts: 44746
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France