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