Electron: Unable to open profile vips_colourspace: no known route between 'cmyk' and 'srgb'
See original GitHub issueI get this error after building out my electron js app on Windows 10 64-bit.
VipsIcc: File 'C:\Program Files\Assembler\resources\app.asar\node_modules\sharp\lib\icc\sRGB.icc' not found icc_transform: unable to open profile "C:\Program Files\Assembler\resources\app.asar\node_modules\sharp\lib\icc\sRGB.icc" vips_colourspace: no known route between 'cmyk' and 'srgb'
I checked for the file to see if it actually exists or not and sure enough it’s there. Error only happens after I build the app so I’m not sure if this is an issue with the electron builder or the sharp package.
Any ideas?
Issue Analytics
- State:
- Created 6 years ago
- Reactions:1
- Comments:8 (5 by maintainers)
Top Results From Across the Web
No known route from 'cmyk' to 'srgb' when processing images
From the 1000's of images, it appears that only 1 is troublesome, returning the error. Errors: icc_transform: no input profile ...
Read more >8 common mistakes when working with color and how to fix ...
1. Working with an old or cheap monitor · 2. Not calibrating your monitor · 3. Messing with color profiles · 4. Designing...
Read more >Did You Know InDesign Ignores CMYK Profiles?
Here's something every InDesign user should know, but almost none do: InDesign, by default, completely ignores CMYK profiles you have embedded in your ......
Read more >Color conversion and ink management (Acrobat Pro)
Acrobat uses the source color spaces of objects in a PDF to determine what (if any) color conversion is required, for example, from...
Read more >Designing for Print - Pixelmator Community
1. Don't use a wide gamut profile. · 2. When picking colors for your design, use the CMYK sliders in the Colors window:...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

I see what you mean. Seeing that this isn’t an issue with sharp itself and more with the packager I’m using I no longer want to take up your time! Thanks for your help anyway, Lovell.
https://github.com/electron/electron/issues/8206 seems relevant here.