i have the latest version installed (4.7.2.0 as of today 3-aug-2015) but when i'm running the program from the command line it was putting "(copy)" in the destination file name. even though i have the parameter "/Mask=%%F" in my batch file! btw double % is required otherwise the batch file will looks for a variable. I eventually got the problem solved by removing the parameter "/Run" but it should be working without me removing this.. i think a bug was introduced with v4.7.2.0 or perhaps earlier?
everything ok with the below params but if i add "/Run" the dest. file has "(copy)" in it!
/W=500
/H=667
/Filter=lanczos
/Quality=80
/Exif=0
/Xmp=0
/Iptc=0
/Icc=0
/Mask=%%F
/AutoClose
/Conflict=overwrite
/Minimized
/Dest="%dest_full%"
any help here?
command line /Mask not working in v4.7.2.0
Moderator: Fabrice
I've prepared a pre-release version with the fix. Could you test it and let me know if it works correctly for you?
light_image_resizer4_setup_4.7.2.2.exe
light_image_resizer4_setup_4.7.2.2.exe
hi Phil,
thanks for reply. sorry for slow reply as i only just read your reply - i was not subscribed to the thread (default). i've subscribed now
i just installed the latest 4.7.3.0 today. it fixed the file name mask problem when running the program from the command line but there is a new problem. i have "/W=500 /H=667" but the program runs as if i had used "/W=667 /H=667" so my images were resized to 667 pixels wide instead of a maximum of 500.. i tried your earlier version posted above (light_image_resizer4_setup_4.7.2.2.exe) and that problem does not exist in that version so i'll use that until you investigate the problem and release a new update.
one other problem i had with 4.7.3.0 (when run from the command line) was that the unit setting was not defaulting to pixels as stated in the switches.txt file. i had to add "/Unit=pixel" to my batch file.
Lee
thanks for reply. sorry for slow reply as i only just read your reply - i was not subscribed to the thread (default). i've subscribed now
i just installed the latest 4.7.3.0 today. it fixed the file name mask problem when running the program from the command line but there is a new problem. i have "/W=500 /H=667" but the program runs as if i had used "/W=667 /H=667" so my images were resized to 667 pixels wide instead of a maximum of 500.. i tried your earlier version posted above (light_image_resizer4_setup_4.7.2.2.exe) and that problem does not exist in that version so i'll use that until you investigate the problem and release a new update.
one other problem i had with 4.7.3.0 (when run from the command line) was that the unit setting was not defaulting to pixels as stated in the switches.txt file. i had to add "/Unit=pixel" to my batch file.
Lee
I made some changes to the command line parsing, and apparently it switched the unit to percent.
Please try this version and let me know if it works correctly:
light_image_resizer4_setup_4.7.3.1.exe
Please try this version and let me know if it works correctly:
light_image_resizer4_setup_4.7.3.1.exe