Skip to content

eduardovegas/IRA

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Image Rescaling Application (IRA)

Available modes

  • Downscale
  • Upscale

Available methods

  • Bilinear
  • Bicubic
  • Lanczos
  • GFPGAN
  • Real-ESRGAN

Authenticating with Replica

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.

Usage

Option 1: Run with Python

Ensure you have the required packages installed: Tkinter (Tk), OpenCV, Replicate, and Requests. Run the Python script with the following command:

python rescaler.py

Option 2: Use the Standalone Executable

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

Optional Flags

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.

About

Image Rescaling Application (IRA)

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages