SVG to PNG Conversion Problem with 6.9.7-4
Posted: 2018-03-31T12:37:20-07:00
Hello everyone,
I have a weather display setup using a Raspberry Pi and old Kindle similar to the setup described here. The Pi grabs an SVG image from the national weather service and converts it to a PNG that the Kindle can display. I've had this running on an older Pi for a long time with good success. That Pi is running ImageMagick 6.7.7-10. I'm trying to get this setup transferred over to a newer Pi running the latest OS, which installs ImageMagick 6.9.7-4 when I run sudo apt-get install imagemagick. With this version, the SVG to PNG conversion isn't working properly.
For this source SVG, I'm getting this PNG output. As you can see, it's stacking all of the weather icons in the same spot in the upper left without doing the transform operations specified in the SVG file. It's a little hard to tell, but it looks like it may be dumping all of the icons that are defined in the SVG at that location, even if they're not supposed to be displayed at all.
Is there something I need to do differently with 6.9.7-4 to convert SVG to PNG as opposed to 6.7.7-10? Or is this possibly an issue with an external dependency that ImageMagick is using? Any help would be appreciated.
Thanks,
Andy
I have a weather display setup using a Raspberry Pi and old Kindle similar to the setup described here. The Pi grabs an SVG image from the national weather service and converts it to a PNG that the Kindle can display. I've had this running on an older Pi for a long time with good success. That Pi is running ImageMagick 6.7.7-10. I'm trying to get this setup transferred over to a newer Pi running the latest OS, which installs ImageMagick 6.9.7-4 when I run sudo apt-get install imagemagick. With this version, the SVG to PNG conversion isn't working properly.
For this source SVG, I'm getting this PNG output. As you can see, it's stacking all of the weather icons in the same spot in the upper left without doing the transform operations specified in the SVG file. It's a little hard to tell, but it looks like it may be dumping all of the icons that are defined in the SVG at that location, even if they're not supposed to be displayed at all.
Is there something I need to do differently with 6.9.7-4 to convert SVG to PNG as opposed to 6.7.7-10? Or is this possibly an issue with an external dependency that ImageMagick is using? Any help would be appreciated.
Thanks,
Andy