We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Expect it to work. I feel like it's probably not a big stretch because things work when you don't try to use a custom Jimp.
If I try to make a custom Jimp with:
let Jimp = new Jimp({ formats: [...defaultFormats, webp], plugins: defaultPlugins, })
I get:
Uncaught ReferenceError: Buffer is not defined.
If I use the default Jimp class like this, then it works fine:
import { Jimp } from "jimp"
Buffer is likely a node specific class that needs to be replaced with a standard JS class.
Try to make a custom jimp with the code above using the workers SDK.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Expected Behavior
Expect it to work. I feel like it's probably not a big stretch because things work when you don't try to use a custom Jimp.
Current Behavior
If I try to make a custom Jimp with:
I get:
If I use the default Jimp class like this, then it works fine:
Buffer is likely a node specific class that needs to be replaced with a standard JS class.
Steps to Reproduce
Try to make a custom jimp with the code above using the workers SDK.
Context
The text was updated successfully, but these errors were encountered: