Skip to content

Instantly share code, notes, and snippets.

@lextra2
Last active May 26, 2019 05:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lextra2/6276bfce1bad21caf964175f8bae4f09 to your computer and use it in GitHub Desktop.
Save lextra2/6276bfce1bad21caf964175f8bae4f09 to your computer and use it in GitHub Desktop.
WAIFU2X.BAT - For https://github.com/nihui/waifu2x-ncnn-vulkan - Makes waifu2x process all .png in this .bat location, and moves them to the newely created UPSCALED folder. Requires all files to be in the same location.
mkdir UPSCALED
for %%a in (*.png) do (
waifu2x "%%a" "UPSCALED\%%~na.png" 1 2 400
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment