Execution freezes when calling rotate + extract + resize with transparency in background #3722
Closed
3 tasks done
Labels
Milestone
Possible bug
Is this a possible bug in a feature of sharp, unrelated to installation?
npm install sharp
completes without error.node -e "require('sharp')"
completes without error.If you cannot confirm both of these, please open an installation issue instead.
Are you using the latest version of sharp?
sharp
as reported bynpm view sharp dist-tags.latest
.If you cannot confirm this, please upgrade to the latest version and try again before opening an issue.
If you are using another package which depends on a version of
sharp
that is not the latest, please open an issue against that package instead.What is the output of running
npx envinfo --binaries --system --npmPackages=sharp --npmGlobalPackages=sharp
?What are the steps to reproduce?
Download the sample image then run the example script on it
What is the expected behaviour?
I should get an output, but the
toBuffer
promise never resolves. If I change theheight
of the extract transform to 1439 or lower, it works. If I change the resize params to 1920x1080, it works. If I change the bg color param of the rotate transformation to{ r: 0, g: 0, b: 0, alpha: 1 }
, it works.Please provide a minimal, standalone code sample, without other dependencies, that demonstrates this problem
Please provide sample image(s) that help explain this problem
The text was updated successfully, but these errors were encountered: