Optimization: The file export dialog with activated 'auto-refresh' compress the picture two times (preview and saving)

Older bugs which are supposed to be fixed in 0.84. *** Please try to reproduce your bug and confirm the bug fix. ***

Moderators: XnTriq, helmut, xnview, Dreamer

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

Optimization: The file export dialog with activated 'auto-refresh' compress the picture two times (preview and saving)

Post by masterjp »

The file export dialog saves the picture file as expected, but not very efficency.
Maybe you can change the way it works, because some file formats (e.g. PNG, WEBP, AVIF, JPEG XL, etc.) need much time to compress the picture (depends on size and format)!

Here are the current steps of XnViewMP:
------------------------------------------------

1. The active 'auto-refresh' checkbox in export dialog compress the picture with the selected settings and save it to calculate the final filesize
2. The generated picture file will not be temperory saved :!:
3. If you use the export button to save the picture file, XnViewMP will compress the original picture again :!: to save it.

:arrow: XnViewMP compress the picture two times with activated 'auto-refresh' checkbox!

Optimized workflow:
-------------------------
1. The active 'auto-refresh' checkbox shoud compress the picture with the selected settings and save it temporary to temp folder to calculate the final filesize
2. If the user select the export button, XnViewMP should not compress the picture again and move the temporary stored final picture from step 1 to the destination directory with the entered filename.

You will save 1 step and much time, if you do not compress a picture two times!

These technic should work for all file formats in file export dialog!
PC: Intel 8700k + Asus Z370-F + 16 GB RAM G.Skill + Asus RTX 3050 OC + Samsung SSD
OS: Windows 10 Pro 64bit 22H2 |
GFX: XN-View 2.51.6 | XnViewMP 1.8.0 | XnConvert 1.100.1 | Adobe Photoshop Elements 2024 | Elements XXL 11 | Paint.Net
User avatar
xnview
Author of XnView
Posts: 44366
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: Optimization: The file export dialog with activated 'auto-refresh' compress the picture two times (preview and savin

Post by xnview »

See issue for current status and some details.
Pierre.
User avatar
xnview
Author of XnView
Posts: 44366
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: Optimization: The file export dialog with activated 'auto-refresh' compress the picture two times (preview and savin

Post by xnview »

This problem is supposed to be fixed in XnView MP 0.99.7. Please check and confirm the bug fix here.
Pierre.