MCPcopy Index your code
hub / github.com/Moebytes/Waifu2x-Upscaler

github.com/Moebytes/Waifu2x-Upscaler @v1.0.2

Chat with this repo
repository ↗ · DeepWiki ↗ · release v1.0.2 ↗ · + Follow
3,596 symbols 6,965 edges 26 files 0 documented · 0%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Waifu2x Upscaler

A cute image upscaler!

Features:

  • Upscale images (JPG, PNG, WEBP, AVIF)
  • Upscale animated images (GIF, APNG, Animated WEBP)
  • Upscale videos (MP4, WEBM)
  • Upscale PDFs (PDF)
  • Apply effects such as speed or reverse
  • Video framerate interpolation
  • Customize settings (noise, scale, mode, framerate, etc.)
  • Upscale multiple images (or multiple frames of a gif/video) concurrently
  • Change the upscaler (Waifu2x, Real-ESRGAN, Real-CUGAN, Anime4K, or custom)

Warning: Upscaling too many images in parallel can cause your computer to freeze if it runs out of CPU/RAM.

Waifu2x

Waifu2x only supports scale factors in multiples of 2 from 1/2/4 and noise level -1/0/1/2/3 (set to -1 for no denoise).

Real-ESRGAN

Real-ESRGAN only supports scale factors between 2-4, and all other options are ignored. By setting the scale factor to 4x, it will use the slower Anime4x model that gives better results.

Real-CUGAN

Real-CUGAN only supports scale factors 1/2/3/4, and noise level -1/0/1/2/3 and only noise 0 and 3 for scale factors 3/4.

Custom Models

You can add custom PyTorch models to the "models" folder in the location the app is installed. You need to install python in order to run them. If you have trouble, try installing the dependencies:

pip3 install torch torchvision opencv-python Pillow numpy spandrel --compile --force-reinstall

Design

Our design is available here: https://www.figma.com/design/KXFlnNiiqjK18WgVIqxaVu/Waifu2x-Upscaler

Installation

Download from releases.

Also See

Extension points exported contracts — how you extend this code

Core symbols most depended-on inside this repo

Shape

Method 2,156
Class 1,084
Function 354
Interface 2

Languages

TypeScript100%

Modules by API surface

structures/pdf.worker.js3,451 symbols
components/AdvancedSettings.tsx33 symbols
components/FileContainer.tsx26 symbols
main.ts16 symbols
components/TitleBar.tsx13 symbols
components/GlobalSettings.tsx11 symbols
components/FileContainerList.tsx7 symbols
components/FileSelector.tsx5 symbols
components/DirectoryBar.tsx5 symbols
LocalStorage.tsx5 symbols
components/GroupAction.tsx4 symbols
components/Preview.tsx3 symbols

For agents

$ claude mcp add Waifu2x-Upscaler \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page