Imagemagick loses gradient on image on Ubuntu

余生颓废 提交于 2019-12-06 15:45:54

After some additional research, I found that the SVG delegate that the "faulty" machine was not using the same as the one on the working machine.

To correct this, I installed rsvg.

apt-get install librsvg2-bin

Then I change ImageMagick's configuration to use rsvg rather than the default delegate.

I just got exactly the same as your "faulty" output on my Mac, with this ImageMagick:

Version: ImageMagick 6.7.6-0 2012-03-17 Q16 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2012 ImageMagick Studio LLC
Features: OpenMP OpenCL   

So, I think the SVG file is incorrect. Try validating it?

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!