diff options
author | chrysn <chrysn@fsfe.org> | 2014-07-15 19:40:48 +0200 |
---|---|---|
committer | chrysn <chrysn@fsfe.org> | 2014-07-15 19:40:48 +0200 |
commit | c682c2c17f254f8a2ad8b758ea25599699a26446 (patch) | |
tree | ed1ebfae77705cd326563fb449f64afe6eb2bafb | |
parent | 229c0594d58ce6012931c62e5f9b6a6e05ad9bab (diff) | |
download | ikiwiki-c682c2c17f254f8a2ad8b758ea25599699a26446.tar ikiwiki-c682c2c17f254f8a2ad8b758ea25599699a26446.tar.gz |
patch available
-rw-r--r-- | doc/bugs/image_rescaling_distorts_with_small_pictures.mdwn | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/doc/bugs/image_rescaling_distorts_with_small_pictures.mdwn b/doc/bugs/image_rescaling_distorts_with_small_pictures.mdwn index 6eff2df07..c74818a46 100644 --- a/doc/bugs/image_rescaling_distorts_with_small_pictures.mdwn +++ b/doc/bugs/image_rescaling_distorts_with_small_pictures.mdwn @@ -10,3 +10,15 @@ If you use the rescaling feature of the directive [[ikiwiki/directive/img/]] wit > && ((width > desired width) || (height > desired height)), > it uses exactly the desired size, without preserving aspect ratio. > --smcv + +>> [[!template id=gitbranch branch=chrysn/imgforpdf-and-more author="[[chrysn]]"]] +>> +>> [[!tag patch]] +>> +>> i've implemented a fix for this along with a unit test. +>> +>> the patch branch is based on the imgforpdf branch +>> ([[bugs/svg and pdf conversion fails]]), because it would not cleanly merge. +>> the branch also enhances on how images are handled in preview, falling back +>> to data: urls if the image has not been rendered in a saved version. please +>> review. --[[chrysn]] |