waifu2x
Version:
2x upscaling of images with waifu2x
11 lines (10 loc) • 372 B
text/typescript
import waifu2x from "./waifu2x"
import path from "path"
const start = async () => {
const progress = (current: number, total: number) => {
console.log(`${current}/${total}`)
}
const result = await waifu2x.upscaleGIF("./images/gifs/chibi.gif", "./images/gifs/chibi2x.gif", {upscaler: "real-cugan", scale: 1})
console.log(result)
}
start()