Skip to content

Scripts that wrap around the macOS AppStore version of waifu2x

License

Notifications You must be signed in to change notification settings

i0ntempest/waifu2x-macos-scripts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 

Repository files navigation

waifu2x-macos-scripts

Introduction

This is the repository where I put my shell scripts that utilizes the CLI interface of waifu2x on macOS (waifu magifier).

Why do you make these?

Most waifu2x upscalers are either Windows only, or lacks some features I want. So I created these, mostly as scripting practices.

Scripts

  • waifu2x.sh

    POSIX sh script. Simple launcher script that passes all args to the executable. Nothing fancy here. Also featured in waifu2x-ios wiki. You need to grant the app file access permission in its GUI before using this. All scripts below depend on this being in your PATH as waifu2x.

  • auto-waifu2x.sh

    POSIX sh script. Assumes you have a certain folder structure under ~/Pictures/ (if not it will create it for you), and does multiple upscaling jobs with different scaling factors with one single command. The upscale() function supports arbitrary factor upscaling (accepts anything from 1 to 4 rather than just 2, 3, and 4, requires ImageMagick).

  • auto-waifu2x-moveimg.sh

    POSIX sh script. Assumes the same folder structure as above, scans a given folder for images and move them into appropriate folder based on their size, for upscaling later. Edit master_res_width variable to set your desired target resolution (3840 by default). Requires ImageMagick.

  • video2x.sh

    Bash script. Basic video upscaler script, resembles early versions of video2x. Should be able to take any video as an input, but output is currently hardcoded to be H.264 mp4. Requires FFmpeg, arbitrary factor upscaling requires ImageMagick.

  • More to be added

Contributing

Ideas and PRs are welcomed.

About

Scripts that wrap around the macOS AppStore version of waifu2x

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages