From: Joey Hess Date: Wed, 29 Jun 2011 18:40:30 +0000 (-0400) Subject: img: Generate png format thumbnails for svg images. X-Git-Tag: 3.20110707~30 X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/commitdiff_plain/ae1857b43cf55a393a507b8434f172cbdb29d5b0?hp=ae1857b43cf55a393a507b8434f172cbdb29d5b0 img: Generate png format thumbnails for svg images. Imagemagick does not generate svg images very well, but it can convert them to png quite well. For browsers that don't yet support displaying svg, this also provides a workaround; just scale the svg down to get a png. But the workaround is partial, since scaling the image larger, or leaving it the same size will cause the original svg to be displayed. Since browsers are actively improving svg support, this is good enough for me. ---