Open roflsunriz opened 1 year ago
Extend for multiple input
@echo off
cd "%~dp0"
for %%q in (%*) do (
echo %%q
realcugan-ncnn-vulkan -i %%q -m models-pro -o "%%~nqx2.png"
)
pause
Little fix for using drag and dropped current directory
@echo off
cd %~dp1
for %%q in (%*) do (
echo %%q
"path-to-realcugan-ncnn-vulkan\realcugan-ncnn-vulkan-20220728-windows\realcugan-ncnn-vulkan.exe" -i %%q -m models-pro -o "%%~nqx2.png"
)
pause
This isn't issue for technically but I don't know where to make so I made here... Enlarges to x2(default) and uses model models-pro, and add "x2" to the end of file name