Plugins and Addons

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

Moderator: xnview

User avatar
Roger27
Posts: 7
Joined: Sat Sep 10, 2011 2:24 am

Re: Plugins and Addons

Post by Roger27 »

I'm hesitating to create a new thread but...
Plugin and linux.
Ok, Linux is GPL, not LGPL or something like that, and that's the reason why it is not possible to put heic in xnviewmp linux.

Just curious.
If I take a look at the plugin in XnviewMP plugin, I get links to somethingblabla.so stuff.
I have somewhere on my system some "libheif.so.something".
Let's say I put a link or a copy of libheif.so.something in /opt/XnView/Plugins/, is my computer going to explode ? Or Xnview being able to use heic?
-edit- : I gonna try :)
Edit : I tried but nothings happen. Don't even know if xnview aknowledge if the plugin is there. Maybe I should first read how to create xnview plugin for linux...?
Old user of XnView since the good old time of the end of the 90ies ;-)
Mostly linux user now.
Sorry for my bad englitsch, me frog eater :D
User avatar
xnview
Author of XnView
Posts: 47839
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: Plugins and Addons

Post by xnview »

Roger27 wrote: Wed Sep 20, 2023 9:34 pm I'm hesitating to create a new thread but...
Plugin and linux.
Ok, Linux is GPL, not LGPL or something like that, and that's the reason why it is not possible to put heic in xnviewmp linux.
XnView MP on linux supports HEIC if libheif is installed
Pierre.
brst
Posts: 3
Joined: Thu Jan 11, 2024 11:09 am

Re: Plugins and Addons

Post by brst »

xnview wrote: Thu Sep 21, 2023 6:51 am XnView MP on linux supports HEIC if libheif is installed
On Linux Mint you need to install libheif-dev:

Code: Select all

apt install libheif-dev
It took me a long time to figure it out, but I'm glad it works now!
igor88
Posts: 18
Joined: Mon Nov 20, 2023 4:50 pm

Re: Plugins and Addons

Post by igor88 »

is it possible at all to create plugin that can sort folder by size\file count?
cmaillebouis
Posts: 4
Joined: Wed Dec 07, 2022 2:34 pm

Re: Plugins and Addons

Post by cmaillebouis »

Pour les déburants en linux, il me semble qu'avec ce codage ce serait mieux :D :

Code: Select all

sudo apt install libheif-dev
User avatar
michel038
XnThusiast
Posts: 1525
Joined: Tue Sep 27, 2016 8:18 am
Location: France

ExifTool Config file

Post by michel038 »

You can enable default settings for ExifTool using a hidden configuration file. It's called .ExifTool_config

If you place this .ExifTool_config file into the AddOn folder (located inside your XnView MP installation directory), ExifTool will automatically apply these settings every time it is called by XnView MP.

For anyone looking to dive deeper into metadata with ExifTool, I recommend adding the following content to your config file:

Code: Select all

@Image::ExifTool::UserDefined::Arguments = (
'-s',
'-a',
'-u',
); 
-a (Allow duplicate tags): Ensures that all metadata tags are displayed, even if they have duplicate names in different groups.

-s (Short tag names): Displays the actual, unmodified tag names used by ExifTool (instead of the descriptive labels), making it much easier if you need to write ExifTool command lines later.

-a (Unknown tags): Displays unknown tags