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? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
I followed the instructions on https://jimp-dev.github.io/jimp/guides/getting-started/ and expect to get an image of width 100px
I get a huge crash
import { Jimp } from "jimp"; const name = "IMG_6637.JPG"; const image = await Jimp.read(`event/${name}`); console.log({ width: image.width, height: image.height }); image.resize({ width: 100 }); await image.write("test/output.png");
but with
image.resize({ width: 100 });
which I found at https://jimp-dev.github.io/jimp/api/jimp/classes/jimp/#resize then it does work
Screenshots
The text was updated successfully, but these errors were encountered:
Hey,
The resize function should receive an object following the "ResizeOptionsSchema" instead.
I've created a pull request to fix the docs :)
Sorry, something went wrong.
No branches or pull requests
Expected Behavior
I followed the instructions on https://jimp-dev.github.io/jimp/guides/getting-started/ and expect to get an image of width 100px
Current Behavior
I get a huge crash
Failure Information (for bugs)
Steps to Reproduce
but with
which I found at https://jimp-dev.github.io/jimp/api/jimp/classes/jimp/#resize then it does work
Screenshots
Context
Failure Logs
The text was updated successfully, but these errors were encountered: