]> sipb.mit.edu Git - ikiwiki.git/blob - doc/bugs/svg_and_pdf_conversion_fails.mdwn
addendum: rationale for not changing everything
[ikiwiki.git] / doc / bugs / svg_and_pdf_conversion_fails.mdwn
1 when using the [[img plugin|plugins/img]] with an svg file, it is supposed to
2 convert it into a png for display in all browsers, and because the typical use
3 case is rendering small preview versions.
4
5 this currently doesn't work (at least with graphicsmagick-libmagick-dev-compat
6 1.3.18-1) due to the sequence imagemagick options are set, needs an extension
7 to work for pdfs (or any other imagemagick compatibile file) too, and should
8 have an additional parameter for page selection.
9
10 i've provided a series of [[!taglink patch]]es in the chrysn/imgforpdf [[git]]
11 branch.
12
13 i'd prefer to go a step further, and not only convert pdf and svg files to png,
14 but everything (with the possible exception of jpg files), as most other image
15 formats can't be displayed in a browser anyway -- but i didn't in this patch
16 series, as it would alter the file names of existing images, i don't know if
17 that needs special care or breaks something i don't use; this way, my patches
18 should be safe for inclusion.
19
20 --[[chrysn]]