[v45] - Resize to same original folder automatically rename destination file and does not override original file

Moderator: xnview

User avatar
masterjp
Posts: 657
Joined: Fri Feb 13, 2009 4:37 pm
Location: Duesseldorf, Germany

[v45] - Resize to same original folder automatically rename destination file and does not override original file

Post by masterjp »

I did a resize conversion job of jpeg pictures to reduce the picture size and get a smaller filesize with lower jpeg quality level (.e.g. 80%).
The resize conversion job works well, but the destination file get a new filename with the suffix (1) at the end of the original filename.
Will it be possible to override the original file if you choose the original folder as destination folder?
PC: Intel 8700k + Asus Z370-F + 48 GB RAM Corsair+G.Skill + Asus RTX 3050 OC
OS: Windows 11 Pro 64bit 25H2 |
GFX: XnViewMP 1.11.5 | Adobe Photoshop Elements 2024 + Elements XXL 11
Android 8-16: Samsung S7, S10, S23, TAB S7, S11, Ugoos AM7 TV-Box
Kadet
Posts: 429
Joined: Thu Oct 20, 2022 7:23 pm

Re: [v45] - Resize to same original folder automatically rename destination file and does not override original file

Post by Kadet »

I'm against it. For me, it's protection against making a mistake.
User avatar
xnview
Author of XnView
Posts: 48433
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: [v45] - Resize to same original folder automatically rename destination file and does not override original file

Post by xnview »

Perhaps a dialog if destination file exists that ask for rename/overwrite?
User avatar
B.Douille
Posts: 349
Joined: Sat Sep 09, 2006 9:25 pm
Location: Hte Savoie - France

Re: [v45] - Resize to same original folder automatically rename destination file and does not override original file

Post by B.Douille »

Perhaps a dialog if destination file exists that ask for rename/overwrite?
I agree, crop and resize an original is a significant usage vs keeping the original safe and create a modified copy.

Another way to solve this would be adding a 3rd option at time of saving would help.
Something like "Cancel" "Overwrite" "Select folder"

And other way forward, adding value for XnView, could be adding a tick-box named "Overwrite/Move" or "Suppress original". Such workflow would allow to keep the choice of saving the modified file(s) in another folder and delete the original. All in one go.
Daniel, happy user for 20 years, to manage photo and videos and share them in slideshows (Windows 11, Linux Ubuntu and Android)
User avatar
masterjp
Posts: 657
Joined: Fri Feb 13, 2009 4:37 pm
Location: Duesseldorf, Germany

Re: [v45] - Resize to same original folder automatically rename destination file and does not override original file

Post by masterjp »

I agree with many of you that, as a rule, you choose a folder where the files don't yet exist.
Nevertheless, it can happen that you convert files multiple times because you’re not satisfied with the result (file size or something similar). In that case, you might convert the file a second time.

I think the idea of adding another checkbox or button in the conversion dialog—which optionally allows you to overwrite the file—is a good one.
PC: Intel 8700k + Asus Z370-F + 48 GB RAM Corsair+G.Skill + Asus RTX 3050 OC
OS: Windows 11 Pro 64bit 25H2 |
GFX: XnViewMP 1.11.5 | Adobe Photoshop Elements 2024 + Elements XXL 11
Android 8-16: Samsung S7, S10, S23, TAB S7, S11, Ugoos AM7 TV-Box