mirror of
https://github.com/Lapikud/lapikud.github.io.git
synced 2026-07-14 23:01:15 +00:00
Change target folders in resize.bat to point to correct folders (need entire path, starting from c: or equiv.)
8 lines
250 B
Batchfile
8 lines
250 B
Batchfile
@echo off
|
|
set "source_folder=\original"
|
|
set "result_folder_1=\optimised"
|
|
|
|
for %%a in ("%source_folder%\*jpg") do (
|
|
call scale.bat -source "%%~fa" -target "%result_folder_1%\%%~nxa" -max-height 300 -max-width 300 -keep-ratio no -force yes
|
|
)
|