- Downscale
- Upscale
- Bilinear
- Bicubic
- Lanczos
- GFPGAN
- Real-ESRGAN
To utilize the GFPGAN and Real-ESRGAN upscaling, authentication with Replica's API is required. Instructions for exporting your Replica token can be found here.
Ensure you have the required packages installed: Tkinter (Tk), OpenCV, Replicate, and Requests. Run the Python script with the following command:
python rescaler.py
You can run the application without the need to install any additional packages. To download the latest version, simply visit the executable release page.
Once downloaded, you can run the application by executing the following command:
.\rescaler.exe
The application supports the following optional flags for specifying parameters before execution:
options:
-h, --help show this help message and exit
--mode {downscale,upscale}
Specify the mode (downscale or upscale)
--factor FACTOR Scaling factor for resizing
--method {bilinear,bicubic,lanczos,gfpgan,real-esrgan}
Resampling method
--root ROOT Root directory containing the images
For any unspecified parameters, the program will prompt the user for input during execution.