You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Are you using the latest version? Is the version currently in use as reported by npm ls sharp the same as the latest version as reported by npm view sharp dist-tags.latest?
Yes
What are the steps to reproduce?
I am trying to apply a b/w mask to an image and trim the transparent area. These are the input image and the mask. Image Mask
This is the code I am using:
What is the expected behaviour?
The expected output should be Expected Image
But I get this Output Image
However I get the correct output when using joinChannel and trim separately on separate files.
Are you able to provide a minimal, standalone code sample, without other dependencies, that demonstrates this problem?
See code sample above
Are you able to provide a sample image that helps explain the problem?
See above images
What is the output of running npx envinfo --binaries --system?
@lovell Thank you for the quick response.
Is there any other alternative to make the process faster as it adds additional time to encode the image twice.
Are you using the latest version? Is the version currently in use as reported by
npm ls sharp
the same as the latest version as reported bynpm view sharp dist-tags.latest
?Yes
What are the steps to reproduce?
I am trying to apply a b/w mask to an image and trim the transparent area. These are the input image and the mask.
Image
Mask
This is the code I am using:
What is the expected behaviour?
The expected output should be Expected Image
But I get this Output Image
However I get the correct output when using
joinChannel
andtrim
separately on separate files.Are you able to provide a minimal, standalone code sample, without other dependencies, that demonstrates this problem?
See code sample above
Are you able to provide a sample image that helps explain the problem?
See above images
What is the output of running
npx envinfo --binaries --system
?The text was updated successfully, but these errors were encountered: