]> sipb.mit.edu Git - ikiwiki.git/commitdiff
svg (and pdf) handling: bug and fix
authorchrysn <chrysn@fsfe.org>
Mon, 7 Apr 2014 09:46:50 +0000 (11:46 +0200)
committerchrysn <chrysn@fsfe.org>
Mon, 7 Apr 2014 09:46:50 +0000 (11:46 +0200)
doc/bugs/svg_and_pdf_conversion_fails.mdwn [new file with mode: 0644]
doc/users/chrysn/interests.mdwn

diff --git a/doc/bugs/svg_and_pdf_conversion_fails.mdwn b/doc/bugs/svg_and_pdf_conversion_fails.mdwn
new file mode 100644 (file)
index 0000000..5b910bc
--- /dev/null
@@ -0,0 +1,17 @@
+when using the [[img plugin|plugins/img]] with an svg file, it is supposed to
+convert it into a png for display in all browsers, and because the typical use
+case is rendering small preview versions.
+
+this currently doesn't work (at least with graphicsmagick-libmagick-dev-compat
+1.3.18-1) due to the sequence imagemagick options are set, needs an extension
+to work for pdfs (or any other imagemagick compatibile file) too, and should
+have an additional parameter for page selection.
+
+i've provided a series of [[!taglink patch]]es in the chrysn/imgforpdf [[git]]
+branch.
+
+i'd prefer to go a step further, and not only convert pdf and svg files to png,
+but everything (with the possible exception of jpg files), as most other image
+formats can't be displayed in a browser anyway.
+
+--[[chrysn]]
index cd7acf3d6c8c93e3fda32768aca58b5fb88939e5..2db49d1baea49d7ab2503b59e49040391ca0c928 100644 (file)
@@ -5,6 +5,7 @@ these are the topics [[chrysn]] is or was interested in inside ikiwiki:
 * [[bugs/preprocessing loop control too tight]]
 * [[bugs/proxy.py utf8 troubles]]
 * [[bugs/pythonproxy-utf8 again]]
+* [[bugs/svg and pdf conversion fails]]
 * [[bugs/Underscores in links don't appear]]
 * [[bugs/unicode encoded urls and recentchanges]]
 * [[bugs/wrong link in recentchanges when reverting an ikiwiki outside git root]]