Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | img test: skip SVG tests if unsupported by Image::Magick | Simon McVittie | 2014-09-16 |
| | |||
* | Pass -templatedir to get this test passing again. | Amitai Schlair | 2014-09-15 |
| | |||
* | use readfile() instead of reinventing it | Simon McVittie | 2014-09-01 |
| | | | | | This avoids potential action-at-a-distance from locally redefining $/ but never reaching the end of the redefinition's scope. | ||
* | unit test for bugs/image_rescaling_distorts_with_small_pictures | chrysn | 2014-07-15 |
| | |||
* | make img unittest easier to debug | chrysn | 2014-07-15 |
| | |||
* | img plugin: split resizing calculations and actual resizing | chrysn | 2014-07-15 |
| | | | | | | | | | | | | | | | | | | | | | | there is now a size calculating part (which chooses a final size) and a scaling part (which triggers if the sizes calculated by the former indicate a downscaling). this solves the issue of unproportional upscalings (bugs/image_rescaling_distorts_with_small_pictures). also, "small" pdf files (or pdf files without explicit size settings), which would not be converted under the old mechanism, now get rendered to pngs. this commit affects a unit test: while svgs were previously unconditionally rendered to pngs, this now only happens on downscaling. this is intentional -- while a small version of an svg graphic is likely to be more compact when rendered (eg as a preview), a large version would not have that benefit, and why convert something that browsers basically can show and be inconsistend with how other images are handled. the new unit test simply makes the original svg larger to check for the same behaviros as before. | ||
* | drop unittest workaround for new perlmagick | chrysn | 2014-07-04 |
| | | | | just install -extra to make it work | ||
* | drop unittest workaround for perlmagick | chrysn | 2014-07-04 |
| | | | | this was actually http://bugs.debian.org/753770 | ||
* | make unittest work with all all three packages that provide perlmagick | chrysn | 2014-07-04 |
| | |||
* | add unittests for img | chrysn | 2014-07-04 |
this focuses on the features introduced in http://ikiwiki.info/bugs/svg_and_pdf_conversion_fails/ |