What about some “active” plugins ~ addons ~ tools ?

Ideas for improvements and requests for new features in XnView Classic

Moderators: helmut, XnTriq, xnview

Post Reply
User avatar
Clo
XnThusiast
Posts: 4441
Joined: Sun Oct 17, 2004 4:57 am
Location: Bordeaux, France
Contact:

What about some “active” plugins ~ addons ~ tools ?

Post by Clo »

:arrow: Pierre & All

:) Hello !

• First, to be clear, “active” means here that such a stuff should not be designed to support some new ¦ exotic image-format, but to provide functions currently not supported by XnView, and that could be very useful.

• In order to lighten the Pierre's (heavy) tasks, this could be created by competent users as small programs or libraries, able to bring the wished additional features. On principle, they might be free of charge for a personal use, like XnView is.

• For example, I'ld propose here an extra tool-bar - requested already, and which the lack is getting more and more annoying each day… :|

- Currently, the icons number is limited up to thirty-three by design, since XnView uses a single bitmap for its main tool-bar.
- This system has benefits, but also boring inconveniences, since the addition of one icon is pratically impossible: it should bind a full rebuilding of all existing skins, a pretty mess :P
- Hence, we could have an executable file, "linked" to and working with the main program to get supplemental icons on an extra-bar.

- These icons could launch functions from the menus which have not any icon in the bar currently, they are legion. Indeed, they must be customizable, as well for the command to assign, as for the image to set as icon.

- Pratically, I see a kind of small movable window, normally set at any side of the main "View" window in that mode, but able to be moved externally and hooked to the XnView window when it's set as "adjustable" (Normal according with the Win wording), and that could be hidden easily if needed :

——Image

http://perso.wanadoo.fr/charries/relais ... upplem.png

¤ Above are icons for the JPEG lossless transformations, this could do the trick for the recent Helmut's proposal

¤ The "Hand" is a “hot” area allowing to move the bar anywhere, the <| button is to show / hide the bar…
{ Note : I drew these icons quickly to present that thread, indeed they aren't nice at all :( }
- Of course, the bar can be hooked inside the main window too, and its shape / layout (vertical, horizontal, multi-row…) could be chosen from the options of the plugin.

• Icons could be added as and when required. A right-clic (or a combination of keys ) could open a local-menu to configure the bar, add icons, change their order via Drag & Drop, etc. …
- There are two ways to save these active-plugin settings :

1. The plugin has its own INI file either in the main-program folder or in its sub-folder,
2. Its settings have a general [ActivePlugins] planned section and they are written in the INI file of the main-program…

- This leads to get a list of all allowed XnView menu-commands (and maybe a bunch of others…) to choose which commands and which assigned icons can be added… For instance, in Total Commander such a file exists (it's simply a TXT-format file), as .INC (for INternal Commands). A default ICL exists, but it's possible to use any icon for any command, from DLLs, ICLs, EXEs, or *.ico files…
- TIFF libraries containing icons only are not supported in T.C., but it should be nice they be in XnView if possible… 8)

What do you think ?

:mrgreen: Kind regards,
Claude
Clo
Old user ON SELECTIVE STRIKE till further notice
User avatar
ouistiti
Posts: 353
Joined: Mon Oct 25, 2004 7:28 pm
Location: Belgique
Contact:

Post by ouistiti »

2 All

I wonder about the lack of feedback for that attractive idea… But yet, it could become very useful in many awkward situations.
- Indeed, the example shown should be the most urgent to realize, IMHO…

Thanks to Clo for this idea !

Friendly

Paul
L'important n'est pas de convaincre, mais de donner à réfléchir.
The important thing is not to convince, but to incite to think.

1,77245385090552...
User avatar
xnview
Author of XnView
Posts: 46236
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: What about some “active” plugins ~ addons ~ tools ?

Post by xnview »

Clo wrote: What do you think ?
Currently i have many other important things to do, before an enhancement of toolbar :-)
Pierre.
User avatar
Clo
XnThusiast
Posts: 4441
Joined: Sun Oct 17, 2004 4:57 am
Location: Bordeaux, France
Contact:

Not you absolutely…

Post by Clo »

:arrow: Pierre

:) Hello Pierre !

• Please, notice that the topic here is not specially about the extra tool-bar - despite it's a big lack -, it's just an example, but the capability to get "Active plugins" eventually written by competent users, like this exists for Total Commander (which has a myriad !).
- Hence, coming back to this example, any user-programmer could create it according with a minimal information you might provide, of course…

- Whether you would prefer to write it by yourself, I guess that a full rebuilding (about the tool-bar) in the way used by Total Commander (again… ) could solve the issue for a long while… 8)

:mrgreen: Kind regards,
Claude
Clo
Old user ON SELECTIVE STRIKE till further notice
User avatar
Clo
XnThusiast
Posts: 4441
Joined: Sun Oct 17, 2004 4:57 am
Location: Bordeaux, France
Contact:

{ Some months later… }

Post by Clo »

—> Pierre

:) Hello Pierre !

• Another example of the usefulness of some “Active additional Plugins” comes today from a question on the French Forum.

Abstract :
• In brief : The user guest Phifou tried to resize animated GIFs directly with XnView keeping the animation,
that's obviously impossible, and needs a cascade of so complicated handlings to be performed plus using a specialized third-party programme like i.e. GifMovieGear or similar.

• A bit aside, I noticed that (AFAIK) the lack of an “Extract all frames” command doesn't help, an it should be great to get one…


• In such a case, a plugin able to make the animated GIF rebuilding operations from frames resized¦modified with XnView could be an excellent solution.
- In fact, such a plugin might be much smaller than a stand-alone specialized programme, since it could use many existing functionalities of XnView :wink:

—> To All

• Whether you would have ideas about some functionalities where an “Active Plugin” could do the trick, please post here !
T. I. A. !

:mrgreen: Kind regards,
Claude
Clo
Old user ON SELECTIVE STRIKE till further notice
riemenschneider

A new term for that discussion

Post by riemenschneider »

Hi all,

I'm using XnView for years but I am new to the forums. On my search for scripting-possibilitys (or rather feature request about that topic) I discovered this thread. My first thought was: Why don't they use the term "extension"? Everyone who knows FF Extensions would understand what you/we are talking about (and the toolbar-thing too)... So much about these things.

I would welcome nearly every opportunity to expand the (great) capabilities of my beloved XnView. What about VBScript, Python, Perl...? Any plans to "open" XnView for Scripting? Or is that already possible?

Thanks for your work Pierre, Helmut & Co.!

riemenschneider
User avatar
Clo
XnThusiast
Posts: 4441
Joined: Sun Oct 17, 2004 4:57 am
Location: Bordeaux, France
Contact:

Addons, plugins, tools…

Post by Clo »

—> riemenschneider

:) Hello !

• First, thank you to revive that thread !
I'm using XnView for years but I am new to the forums. …
• You are welcome ! And I think really that you might suscribe as a good Member, this allows more possibilities here… :wink:
…My first thought was: Why don't they use the term "extension"?
- Simply because as Total Commander users too, we are in the habit to name these thingies like this, and Plugins, Tools and Addons are more precise words, I guess.
- “Plugins” (for us) are only libraries (not EXEs) and use the maximum stuff of the main programme.
- “Tools” are always executables, dedicated to (or as a better alternative to)
a certain (additional) function for the main programme,
- “Addons" can be i.e. icon-sets, scripts or so…

• I don't know about scripting (but why not ?), however I can say you that Pierre thinks now to allow some "extensions" which could lighten a bit his heavy tasks… :D

:mrgreen: Kind regards,
Claude
Clo
Old user ON SELECTIVE STRIKE till further notice
Post Reply