rbakaou / Scapix

An image upscaling and denoiser app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Downloads

Welcome to Scapix

Scapix is an image,gif and video upscaling and denoiser app developed with electron, react, waifu2x and ffmpeg.
Warning, the code for this is pretty bad, i'd have to rewrite it from scratch to make it a bit better

Installation (Windows)

Head over to the releases on github to download the latest version of Scapix. After downloading the ScapixSetup.exe, run it and it will install the program, once done you should be able to find the executable on the desktop. The Setup takes 5/10 seconds to open, wait untill it opens, if you run it again it will error out.

Other OS

I do not own other OS to test things out so i'm not 100% sure how things are going to work but to make it work for other OS you should be able to just clone the repo, replace the ffmpeg bin to the one for your OS and then go to node_modules/waifu2x/waifu2x and download or build the correct files for your OS from here and replace the windows one. Then follow the building steps to create the executable

Usage

Drag and drop your files or select them in the upper part of the page, then chose your denoise and upscale options, once you are ready, press the "Run all" button.

Now the images will be in a pending state waiting for the previous one to be processed, there are 4 status colors:

White/Black (dark mode) = idle
Yellow = pending
Green = finished
Red = error

You can read the output information clicking the "i" icon on the right of the image after it finished processing

You can also view the difference between original and upscaled images by clicking the "eye" icon

Building from source

If you want to build the app you have to follow those building steps:

After finishing your changes you have to close the dev server and run:

npm run deploy-step1

This ^ will create the react bundle in ./bundle (time ~= 2min)

npm run deploy-step2

This ^ will create the electron package (time ~= 10min)

You should now go to

./scapix-win32-x64/resources/app/node_modules/

And delete the .cache file, reason being that the packaged file exceeds window's max directory length of 260 characters

npm run deploy-step3

This ^ will run the build.js file which will create the setup of the application that can then be used to install the program. (time ~= 20min)

Credits

Waifu2x module
Waifu2x Models
ffmpeg

About

An image upscaling and denoiser app

License:MIT License


Languages

Language:JavaScript 74.8%Language:CSS 20.9%Language:HTML 4.3%Language:Shell 0.0%