]> sipb.mit.edu Git - ikiwiki.git/commitdiff
patch available
authorchrysn <chrysn@fsfe.org>
Tue, 15 Jul 2014 17:40:48 +0000 (19:40 +0200)
committerchrysn <chrysn@fsfe.org>
Tue, 15 Jul 2014 17:40:48 +0000 (19:40 +0200)
doc/bugs/image_rescaling_distorts_with_small_pictures.mdwn

index 6eff2df071e9ebc3d14a3ac764ad9d898c528e7b..c74818a46b3255a7ab910ee4b8c0867d0274d775 100644 (file)
@@ -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]]