-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
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
recomb: bands in must equal matrix width, greyscale image #2584
Comments
Hi, this sample input is a single-channel greyscale image. It looks like the Lines 152 to 154 in df7b8ba
|
Ah, good info @lovell thanks. In the meantime I've worked around it by checking |
Commit f6f16b9 adds a test for this, as well as fixing it. This will be in v0.27.2, thanks for reporting. |
v0.27.2 now available with the fix. |
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?
On the image below (taken from TMDb's API). You'll get an error:
What is the expected behaviour?
The recomb operation succeeds instead of throwing
Are you able to provide a minimal, standalone code sample, without other dependencies, that demonstrates this problem?
Code snippet above, combined with a
pipe
, is all you needAre you able to provide a sample image that helps explain the problem?
The image below, taken from TMDb's
backdrop_image
for Malcolm & Marie: https://image.tmdb.org/t/p/w1280/iOrjCeIyRb4vDY3vbPSaEBCA1D3.jpgnpx envinfo --binaries --system
?The text was updated successfully, but these errors were encountered: