Allow "Save As" options for selected format (Windows version has this already)
Moderators: helmut, XnTriq, xnview, Dreamer
- winnylinny
- Posts: 167
- Joined: Fri Apr 17, 2020 5:35 pm
Allow "Save As" options for selected format (Windows version has this already)
Currently, for the Windows version of XnViewMP, when you go to "Save As", you can select the format, and change the format's options (such as quality, filter strength, etc).
However, for the Linux version of XnViewMP, you can only choose the format, but you cannot configure the settings when saving. You are limited to select PNG, WEBP, JPG, etc, but you cannot change anything with the quality, metadata, filter strength, and other options of the format selected.
However, for the Linux version of XnViewMP, you can only choose the format, but you cannot configure the settings when saving. You are limited to select PNG, WEBP, JPG, etc, but you cannot change anything with the quality, metadata, filter strength, and other options of the format selected.
- winnylinny
- Posts: 167
- Joined: Fri Apr 17, 2020 5:35 pm
Re: Allow "Save As" options for selected format (Windows version has this already)
Is this possible for Linux?
I cannot change the settings of the format when saving a new image (with XnViewMP on Linux). It only gives me the ability to do so under the Windows' version.
I cannot change the settings of the format when saving a new image (with XnViewMP on Linux). It only gives me the ability to do so under the Windows' version.
Re: Allow "Save As" options for selected format (Windows version has this already)
Sorry but only possible on windows
Pierre.
- winnylinny
- Posts: 167
- Joined: Fri Apr 17, 2020 5:35 pm
Re: Allow "Save As" options for selected format (Windows version has this already)
Why is that? Why can't an "Options" button be placed near the "Save" button?

Re: Allow "Save As" options for selected format (Windows version has this already)
XnView MP is implemented using the toolkit Qt. My guess is that on Windows Qt allows for adding additional buttons on standard dialogs while it doesn't on Linux. So very likely it's a technical limitation that "Options" button isn't available in XnView MP on Linux.winnylinny wrote: Wed Mar 02, 2022 1:57 pmWhy is that? Why can't an "Options" button be placed near the "Save" button?
![]()
I think the "Option" button is very important for a smooth workflow. Therefore a way to display this button in the save dialog should be added on all platforms unless it's impossible technically.
- winnylinny
- Posts: 167
- Joined: Fri Apr 17, 2020 5:35 pm
Re: Allow "Save As" options for selected format (Windows version has this already)
It's a very important feature. Because every time I want to save an image, I need to first go into Tools -> Settings -> Formats -> Write, and then adjust the options, and then finally save the image. But then I must change it again through Tools -> Settings -> Formats -> Write for another image at a later time.helmut wrote: Sun Mar 06, 2022 10:34 pmI think the "Option" button is very important for a smooth workflow. Therefore a way to display this button in the save dialog should be added on all platforms unless it's impossible technically.
With Windows, I simply click "Options" during the save dialog, and I can do it there. In fact, this is true for almost any application (GIMP, Krita, IrfanView, etc). The missing feature is unique to XnViewMP on Linux.

Re: Allow "Save As" options for selected format (Windows version has this already)
@Pierre: Is it possible to add an "Option" button on all platforms or is it technically impossible on some platforms?helmut wrote: Sun Mar 06, 2022 10:34 pmXnView MP is implemented using the toolkit Qt. My guess is that on Windows Qt allows for adding additional buttons on standard dialogs while it doesn't on Linux. So very likely it's a technical limitation that "Options" button isn't available in XnView MP on Linux.
I think the "Option" button is very important for a smooth workflow. Therefore a way to display this button in the save dialog should be added on all platforms unless it's impossible technically.
Re: Allow "Save As" options for selected format (Windows version has this already)
No sorry, else i need to remake the file selector dialog but in this case the native one will not be usedhelmut wrote: Thu Mar 17, 2022 8:24 pm@Pierre: Is it possible to add an "Option" button on all platforms or is it technically impossible on some platforms?

Pierre.
-
- Posts: 68
- Joined: Mon Feb 02, 2009 11:46 pm
Re: Allow "Save As" options for selected format (Windows version has this already)
Can I add a suggestion for a kind of workaround ?
How about adding a general option (toggle on/off) to make XnView MP to ask for file compression settings after confirming output file path/name.
That way, the user can at least have a choice whether to go into options and change file savings parameters (fit a user that use same setting all time) whenever it is a need of changing a file format parameter, or can have this dialogue box appear every time after using File --> Save As, and confirm, that fits better when a user want to tweak image compression settings very often.
How about adding a general option (toggle on/off) to make XnView MP to ask for file compression settings after confirming output file path/name.
That way, the user can at least have a choice whether to go into options and change file savings parameters (fit a user that use same setting all time) whenever it is a need of changing a file format parameter, or can have this dialogue box appear every time after using File --> Save As, and confirm, that fits better when a user want to tweak image compression settings very often.
- winnylinny
- Posts: 167
- Joined: Fri Apr 17, 2020 5:35 pm
Re: Allow "Save As" options for selected format (Windows version has this already)
That's a brilliant idea!Sprintdriver wrote: Fri Mar 18, 2022 8:43 pm Can I add a suggestion for a kind of workaround ?
How about adding a general option (toggle on/off) to make XnView MP to ask for file compression settings after confirming output file path/name.
That way, the user can at least have a choice whether to go into options and change file savings parameters (fit a user that use same setting all time) whenever it is a need of changing a file format parameter, or can have this dialogue box appear every time after using File --> Save As, and confirm, that fits better when a user want to tweak image compression settings very often.

One can toggle this setting "off", so XnViewMP for Linux will behave as normal when saving files.
One can toggle this setting "on", so XnViewMP for Linux will prompt you with the "Format Options" before saving the file. <--- I would mostly leave this option enabled.
After all, such a feature exists when you go to "Batch Convert".
Re: Allow "Save As" options for selected format (Windows version has this already)
You means show 'format setting' after confirming filename, right?Sprintdriver wrote: Fri Mar 18, 2022 8:43 pm How about adding a general option (toggle on/off) to make XnView MP to ask for file compression settings after confirming output file path/name.
Pierre.
- winnylinny
- Posts: 167
- Joined: Fri Apr 17, 2020 5:35 pm
Re: Allow "Save As" options for selected format (Windows version has this already)
Yes. This would satisfy all users of XnViewMP (for Linux.)xnview wrote: Thu Mar 24, 2022 9:56 amYou means show 'format setting' after confirming filename, right?Sprintdriver wrote: Fri Mar 18, 2022 8:43 pm How about adding a general option (toggle on/off) to make XnView MP to ask for file compression settings after confirming output file path/name.
1) Those who don't care (or don't want to be prompted when going to "Save As"), will simply leave this new option at the default (disabled). When they enter a filename and hit "Save", it will save the image without prompting any quality/compression options. The quality/compression will use whatever they configured under Settings -> Formats -> Write
2) Those who want to be prompted can set this new option to "enabled", and thus whenever they go to "Save As" and then click "Save", they will be prompted for that image format's quality/compression/metadata settings.
This is actually similar to how some other software applications behave (e.g, "GIMP").
While I still believe it would be much more preferable to have an "Options" button (such as XnViewMP for Windows), the above method is still better than what Linux users currently have.
-
- Posts: 68
- Joined: Mon Feb 02, 2009 11:46 pm
Re: Allow "Save As" options for selected format (Windows version has this already)
Yes, that's the idea.xnview wrote: Thu Mar 24, 2022 9:56 am You means show 'format setting' after confirming filename, right?
Re: Allow "Save As" options for selected format (Windows version has this already)
See issue for current status and some details.
Pierre.
- winnylinny
- Posts: 167
- Joined: Fri Apr 17, 2020 5:35 pm