IM with rsvg-convert produces image with blown out colors when converting an svg to jpg. I am using IM 7 with RSVG-CONVERT 2.42. Tested on windows 10, windows server, ubuntu 18.04, AWS linux box. Every platform produces same incorrect output. Here is a link to stackoverflow thread I just posted.
https://stackoverflow.com/questions/542 ... vg-convert
Incorrect gamma color correction from svg to jpg
-
- Posts: 12159
- Joined: 2010-01-23T23:01:33-07:00
- Authentication code: 1151
- Location: England, UK
Re: Incorrect gamma color correction from svg to jpg
Experimentation suggests that RSVG is not correctly linearizing linked images before applying filters (SVG color-interpolation-filters="linearRGB"). Workarounds include:
1. Use Inkscape as the delegate. Simply ensure Inkscape is installed and on the system path. ImageMagick will then use it.
2. Or: Pre-process your images before rasterising the SVG.
1. Use Inkscape as the delegate. Simply ensure Inkscape is installed and on the system path. ImageMagick will then use it.
2. Or: Pre-process your images before rasterising the SVG.
snibgo's IM pages: im.snibgo.com