How to Interact with XnView MP's Batch Processing via Plugin?

Ask for help and post your question on how to use XnView MP.

Moderators: helmut, XnTriq, xnview

StacieSkipper
Posts: 1
Joined: Tue Apr 15, 2025 9:39 am

How to Interact with XnView MP's Batch Processing via Plugin?

Post by StacieSkipper »

Hello everyone,

I'm exploring the possibility of developing a custom plugin for XnView MP that would extend the batch processing capabilities with additional logic (e.g., conditional renaming based on EXIF data, or automatic sorting into folders by dominant image color).

I've gone through the XnView MP documentation but haven't found detailed resources about:
  • Is there a public API or SDK for developing XnView MP plugins, especially for batch processing tasks?
  • Can XnView MP plugins be written in Python or are they strictly limited to C/C++?
  • Is it possible to hook into the batch conversion pipeline to manipulate image metadata or filenames dynamically?
  • Are there any sample plugins or templates available to get started?
If anyone has experience writing custom addons or integrating with XnView MP at a deeper level, your guidance would be greatly appreciated.

Thanks in advance for your support!
Have a nice daySandtrix
User avatar
xnview
Author of XnView
Posts: 45870
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: How to Interact with XnView MP's Batch Processing via Plugin?

Post by xnview »

Currently there is no Plugin SDK to extend 'Batch convert', but please describe what you would like to do? and which information do you need on image file?
Pierre.