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
stats() on CMYK image: vips_colourspace: no known route from 'cmyk' to 'b-w' #1619
Comments
Hi, is this a CMYK JPEG that is missing a profile? There's no logic in sharp's We could add logic to |
I wouldn't know - I'm told it's just a standard jpeg exported from photoshop. No big deal for me since I can just convert it to a different colorspace when this happens, just figured it might be a bug since you could resize it without issues. Anyway- feel free to close if you feel like this is covered by the new libvips 👍 |
Let's leave this open as I'd like to add a test for this scenario after the next libvips upgrade. Thanks for reporting. |
Commit 417cca6 adds this as a test, which now passes, and switches to use libvips' new built-in profiles. This will be in v0.23.0. |
sharp v0.23.0 / libvips v8.8.1 is now available. |
Hi. Sorry to chime-in that late, but I can't get this to work either:
This returns the same stats, whether I convert to Thanks |
The following code (with a CMYK JPEG as input) gives the error outlined below:
Output:
The following seems to work:
The text was updated successfully, but these errors were encountered: