1.5.3 - batch convert - output - inconsistent result with backslash

Bugs which have been reproduced by a second user or the developer, or features to do

Moderators: XnTriq, helmut, xnview, Dreamer

User avatar
user0
XnThusiast
Posts: 1384
Joined: Sat May 09, 2015 9:37 am

1.5.3 - batch convert - output - inconsistent result with backslash

Post by user0 »

XnViewMP 1.5.3 64bit
Windows11 (22H2), display resolution 3840x2160, win scaling 150%


Batch convert - output
inconsistent result with backslash


Issue A1 - \
if Output folder begins with backslash, eg "\a" - drive letter will be sourced from original file, eg "c:\a", however..
files from different drives will be saved into single folder, using 1st file drive letter

input: \a
output (for all files): c:\a

Code: Select all

C:\Users\u_admin\Pictures\Screenshots\A.HEIC 3024x4032x24 : loaded
\a\A.heic : saved
		1.44 MiB -> 3.74 MiB (158%)

D:\PROG\feedback\xn\_test\_files\New Folder 2\B.png 500x500x32 : loaded
\a\B.png : saved
		501.54 KiB -> 514.67 KiB (2%)

E:\C.jpg 5312x2988x24 : loaded
\a\C.jpg : saved
		5.12 MiB -> 2.71 MiB (-46%)

Issue A2 - ..\
same result when useing "..\" step back

input: ..\a
output (for all files): C:\Users\u_admin\Pictures\a

Code: Select all

C:\Users\u_admin\Pictures\Screenshots\A.HEIC 3024x4032x24 : loaded
..\a\A.heic : saved
		1.44 MiB -> 3.74 MiB (158%)

D:\PROG\feedback\xn\_test\_files\New Folder 2\B.png 500x500x32 : loaded
..\a\B.png : saved
		501.54 KiB -> 514.67 KiB (2%)

E:\C.jpg 5312x2988x24 : loaded
..\a\C.jpg : saved
		5.12 MiB -> 2.71 MiB (-46%)

Issue B
Status log does not show full output path



Suggestion
A - feature
  • fix
    determine output path for each file individually, based on file's original path
  • remove
    ignore first "\" and treat the rest as subfolder for current path
    unfortunately that will also break "..\" step back functionality
B - status log
  • always show full output path
    the same way as for relative folder, eg "a" will be converted to "drive_letter:\image_path\a"
User avatar
xnview
Author of XnView
Posts: 43163
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: 1.5.3 - batch convert - output - inconsistent result with backslash

Post by xnview »

:bugconfirmed: Thanks to your detailed description I can reproduce
Pierre.