question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Electron: Unable to open profile vips_colourspace: no known route between 'cmyk' and 'srgb'

See original GitHub issue

I 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:closed
  • Created 6 years ago
  • Reactions:1
  • Comments:8 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
calebjessiecommented, Sep 10, 2017

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.

0reactions
lovellcommented, Sep 11, 2017
Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found