0.0.7 • Published 11 months ago

image-upscaler v0.0.7

Weekly downloads
-
License
MIT
Repository
-
Last release
11 months ago

image-upscaler

Installation

To use image-upscaler, you'll need to include the provided TypeScript file in your project.

  1. Download the image-upscaler.ts file from this repository.
  2. Add the file to your project directory.

Usage

  1. Import the image-upscaler class into your TypeScript code:

    import { upscaleOneImage } from "image-upscaler";
    
    type ModelName =
      | "realesrgan-x4fast"
      | "realesrgan-x4plus-anime"
      | "realesrgan-x4plus"
      | "remacri"
      | "ultramix_balanced"
      | "ultrasharp";
    
    upscaleOneImage({
      image: "image.png",
      model: "realesrgan-x4fast",
      width: "1024",
      height: "1024",
    });
  2. Import the upscaleOneImage class into your Javascript code:

    const { upscaleOneImage } = require("image-upscaler");
    
    upscaleOneImage({
      image: "image.png",
      model: "realesrgan-x4fast",
      width: "1024",
      height: "1024",
    });

Support Me

If you find this project helpful or want to show your appreciation, you can support me by buying me a coffee. Your support is greatly appreciated!

0.0.7

11 months ago

0.0.6

11 months ago

0.0.5

11 months ago

0.0.4

11 months ago

0.0.3

11 months ago

0.0.2

11 months ago

0.0.1

11 months ago