XnViewMP can remember the file type (image format), which was used last used when saving an image (nice feature in any case).
However if the user works with different image formats (like .jpg and .png), this feature makes you do extra clicks.
Consider the scenarion:
1. Open .PNG image.
2. Modify it and save with different name (select same format).
3. Open .JPG imge (or any other format different from the previous one).
4. Modify it and try to save with different name => The app autoselects .PNG format (why?!)
I think, at the 4-th step the app should use the original file extension (.JPG).
In general the app should re-use the original extension, when it is known and supported.
If such behavior isn't acceptable for everyone, let it be an option in the settings.
Version: 0.97.0 (32-bit)
OS: Windows 7 64-bit SP1
Related suggestion - Save Dialog: Select type by extension (looks like an issue report).
Use original file extension when saving it after modification
Moderators: helmut, XnTriq, xnview, Dreamer
Re: Use original file extension when saving it after modification
'Save as' keep lastest format used
Pierre.
Re: Use original file extension when saving it after modification
Yes, I understand this.
For my use cases such behavior is hardly usable.
I don't see a reason why I would want to save edited (cropped/resized/etc.) JPEG-photo as PNG, or edited PNG-screenshot as JPEG: in most cases I save in the same (original) format.
My suggestion is about a configurable option which could tune this behavior. Let it be off/disabled by default so the current behavior is kept as is.
For my use cases such behavior is hardly usable.
I don't see a reason why I would want to save edited (cropped/resized/etc.) JPEG-photo as PNG, or edited PNG-screenshot as JPEG: in most cases I save in the same (original) format.
My suggestion is about a configurable option which could tune this behavior. Let it be off/disabled by default so the current behavior is kept as is.
- winnylinny
- Posts: 167
- Joined: Fri Apr 17, 2020 5:35 pm
Re: Use original file extension when saving it after modification
I have to agree with AntonK. By default, "Save As" should use the same image format as the file which is being edited.
Are you editing a PNG image? It should default to PNG as the format when saving.
Are you editing a JPG image? It should default to JPG as the format when saving.
Are you editing a BMP image? It should default to BMP as the format when saving.
Are you editing a GIF image? It should default to GIF as the format when saving.
So what if the last time you saved an image it was PNG? The most recent image you are editing is a JPG, and so when you go to "Save As", it should assume you want to save it as... JPG. Why would it make any sense to save a JPG as a PNG simply because the last time you edited an image it "just so happened" to be a PNG file you were working with yesterday?
Are you editing a PNG image? It should default to PNG as the format when saving.
Are you editing a JPG image? It should default to JPG as the format when saving.
Are you editing a BMP image? It should default to BMP as the format when saving.
Are you editing a GIF image? It should default to GIF as the format when saving.
So what if the last time you saved an image it was PNG? The most recent image you are editing is a JPG, and so when you go to "Save As", it should assume you want to save it as... JPG. Why would it make any sense to save a JPG as a PNG simply because the last time you edited an image it "just so happened" to be a PNG file you were working with yesterday?
Re: Use original file extension when saving it after modification
See issue for current status and some details.
Pierre.
Re: Use original file extension when saving it after modification
This problem is supposed to be fixed in XnView MP 0.98.0. Please check and confirm the bug fix here.
Pierre.
Re: Use original file extension when saving it after modification
This problem still doesn't seem to be fixed (so save as will save in a different file format than the original file - why?!) and I'm using Version 1.4.5 64bits in June 2023
Re: Use original file extension when saving it after modification
There is an option like 'For 'Save as', use original format' (in General => File operations) which should be enabled to make this feature active.
becka, it may be disabled in your case.
becka, it may be disabled in your case.
Re: Use original file extension when saving it after modification
You're right! Thanks so much, all now works