From 7c4381c6bb64961e5c7b8b9ea87e8fb2f50e75bc Mon Sep 17 00:00:00 2001 From: chrysn Date: Mon, 7 Apr 2014 11:46:50 +0200 Subject: [PATCH 1/1] svg (and pdf) handling: bug and fix --- doc/bugs/svg_and_pdf_conversion_fails.mdwn | 17 +++++++++++++++++ doc/users/chrysn/interests.mdwn | 1 + 2 files changed, 18 insertions(+) create mode 100644 doc/bugs/svg_and_pdf_conversion_fails.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 index 000000000..5b910bc4f --- /dev/null +++ b/doc/bugs/svg_and_pdf_conversion_fails.mdwn @@ -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]] diff --git a/doc/users/chrysn/interests.mdwn b/doc/users/chrysn/interests.mdwn index cd7acf3d6..2db49d1ba 100644 --- a/doc/users/chrysn/interests.mdwn +++ b/doc/users/chrysn/interests.mdwn @@ -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]] -- 2.44.0