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
Hi, thanks for reporting, this image is CMYK and it looks like the trim() operation is erroneously dropping the K channel internally when determining the background colour, hence the rather cryptic error message. This code could probably do with a bit of a refactor anyway so leave it with me.
Updating sharp from v0.30.7 to v0.31.0, I'm getting an error with the following code:
The error message is a bit cryptic:
Image:
The error is still present in v0.32
The text was updated successfully, but these errors were encountered: