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
When doing a conversion to uncompressed tiff and "linear" in the same pipeline, the resulting image is not as expected.
What is the expected behaviour?
The image should be output by the sample code below "as is" (linear(1, 0) being an idempotent operation). This works well with other formats than uncompressed TIFF.
Please provide a minimal, standalone code sample, without other dependencies, that demonstrates this problem
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.Are you using the latest version of sharp?
sharp
as reported bynpm view sharp dist-tags.latest
.What is the output of running
npx envinfo --binaries --system --npmPackages=sharp --npmGlobalPackages=sharp
?What are the steps to reproduce?
When doing a conversion to uncompressed tiff and "linear" in the same pipeline, the resulting image is not as expected.
What is the expected behaviour?
The image should be output by the sample code below "as is" (linear(1, 0) being an idempotent operation). This works well with other formats than uncompressed TIFF.
Please provide a minimal, standalone code sample, without other dependencies, that demonstrates this problem
Please provide sample image(s) that help explain this problem
This is my test image that I would expect to remain basically unchanged in output with the code above:
This is what the code actually produces (the image is nearly all-white and can therefore hardly be seen):
The text was updated successfully, but these errors were encountered: