Moebits / waifu2x

waifu2x image upscaling in Node.js
MIT License
70 stars 11 forks source link

Waifu2x.upscaleImage is not a function. #30

Closed JeshMate closed 1 year ago

JeshMate commented 1 year ago

ive imported it correctly into a mjs file import Waifu2x from "waifu2x"; and ive provided a base image i want to upscale but regardless of it being correct. it is saying: TypeError: Waifu2x.upScaleImage is not a function ive tried looking through the export functions and it all looks good, read the documentation and still to no avail.

Moebits commented 1 year ago

Check capitalization

JeshMate commented 1 year ago

According to the exports in the package, what's said in the TypeError contains correct capitalization.