thecameleon
Posts: 8
Joined: Wed Jan 08, 2020 1:36 pm

Remove ICC Profile from exported chart image

Hello,

I have an issue on a specific client environment where Windows Photo Viewer can't open the generated .jpg file because of the ICC Profile embedded in the image. With Paint it opens normally.

If I remove the ICC Profile with this manipulation:
- Open image file with Notepad++, or any other similar hex editors.
- Find ICC_PROFILE inside the text and replace to ICC_PROFILX (generally on the first text line of file)
- Save the edited file. That is all!
Then the picture will open with Windows Photo Viewer.

1) Is there a setting for defining the ICC Profile to use / or to remove from the generated file definition ?
2) Shall I look in offline-exporting.js instead ?
3) Are there any drawbacks from removing this profile ?

Thank you !
michal.f
Posts: 1114
Joined: Thu Aug 12, 2021 12:04 pm

Re: Remove ICC Profile from exported chart image

Hello,

Thanks for contacting us with your question!

You can try to use offline-exporting module and export this using base64, maybe that will fix the problem.

Or you can use a local export server and on his side try to modify the picture in the way you describe if you have enough backend experience. https://www.highcharts.com/docs/export- ... the-server

Anyway, I will report this bug on GitHub and the developers will take a look at it.

Let me know if you have any further questions!
Best regards!
Michał Filipiec
Highcharts Developer
https://blacklabel.pl/highcharts/

Return to “Highcharts Usage”