Commit Graph

122 Commits

Author SHA1 Message Date
John Cupitt
e439c5f78f add .svg.gz suffix
allow .x.y suffixes
2016-08-01 14:57:33 +01:00
John Cupitt
fe615af233 Merge branch 'add-svgload-svgz-detection' of https://github.com/felixbuenemann/libvips into felixbuenemann-add-svgload-svgz-detection 2016-08-01 12:09:35 +01:00
John Cupitt
d388f666cb fix tests 2016-07-26 17:28:54 +01:00
John Cupitt
2dc43198e4 final fixups 2016-07-24 14:47:22 +01:00
Felix Bünemann
14953c19e7 Add support for .svgz files to svgload 2016-06-27 01:54:53 +02:00
John Cupitt
a5bef08d4a better reducev multiplication
more accurate, no slower

add more tests too
2016-06-15 13:56:19 +01:00
John Cupitt
88acc23e2b Merge pull request #461 from felixbuenemann/dzsave-zip-compression
Vips dzsave zip compression support
2016-06-08 13:51:35 +01:00
Felix Bünemann
1f9e81309e Add dzsave zip compression support 2016-06-04 02:14:46 +02:00
Felix Bünemann
e71c247764 Make sure test_formats.sh exits on errors
This is required to make sure we fail if a vips command fails, eg. due
to a missing fixture.
2016-06-02 23:10:14 +02:00
John Cupitt
1bf8e0847f run py tests from "make check"
though they fail on ubuntu 16.04 due to giflib dumbness

magickload is also failing, investigate
2016-06-02 23:10:14 +02:00
Felix Bünemann
8b598d5b77 Run python tests without make install
In order to do this, we need to add some stub gi module init files which
allow us to extend the gi overrides path.
2016-06-02 23:10:14 +02:00
John Cupitt
93d0d15f88 Merge branch 'master' into add-tiff-orientation 2016-05-27 20:25:41 +01:00
John Cupitt
cefc4ce64d all done
seems to all work and pass tests
2016-05-27 20:24:48 +01:00
John Cupitt
2590559e56 basic tests 2016-05-27 20:18:25 +01:00
John Cupitt
0b646ffcc7 oops, filename 2016-05-27 16:59:21 +01:00
John Cupitt
f0521d4b5d all done!
a few more tests though
2016-05-27 16:53:25 +01:00
Felix Bünemann
fdeb1b3b12 Test gifload in make check and on Travis CI 2016-05-27 01:26:45 +02:00
Felix Bünemann
f9dc33c8f2 Test svgload in make check and on Travis CI 2016-05-27 01:26:45 +02:00
Henri Chain
701f4aaf6e close right after write 2016-05-24 11:42:23 +02:00
Henri Chain
957c4cbb43 fix hdr-specific typo 2016-05-24 11:40:40 +02:00
Henri Chain
6c1aa2b63f add unit test for radiance buffer save 2016-05-24 11:15:54 +02:00
John Cupitt
6e94df7214 set version before import pyvips8
stops some warnings
2016-05-18 13:41:41 +01:00
John Cupitt
92a6ff19a1 add some more webp tests 2016-05-17 14:08:46 +01:00
Felix Bünemann
4640aab388 Test against system libwebp on Travis CI
* Dropped custom ppa used only for libwebp backport
* Dropped lossless test from `make check` (not supported in 0.1.3)
2016-05-09 12:29:23 +02:00
John Cupitt
8ed8515c49 Merge pull request #439 from felixbuenemann/fix-minimum-required-poppler-version
Fix poppler version requirement, add loader check
2016-05-09 10:17:16 +01:00
Felix Bünemann
8b3bb10b00 Fix test_{threading,thumbnail}.sh without install
Both scripts were not using the $vips variables required to use vips
from the source directory instead of from the system.
2016-05-09 00:48:37 +02:00
Felix Bünemann
bec6b174c9 Fix poppler version requirement, add loader check
This fixes the poppler-glib version requirement to version 0.16, which
is the lowest version that compiles and works properly with pdfload.

Also added a check for pdfload and enabled testing on Travis CI.
2016-05-09 00:16:48 +02:00
Felix Bünemann
27e3198833 Add webp save/load format tests for "make check" 2016-04-24 18:28:53 +02:00
John Cupitt
1a25c7a083 better rounding in vipsthumbnail 2016-03-25 10:42:21 +00:00
John Cupitt
2996947b0d start fixing up test_thumbnail
since --interpolator no longer does anything
2016-03-25 06:11:01 +00:00
John Cupitt
82cecf3d9f bilinear interp. supports complex types
in line with cubic etc.
2016-03-14 10:06:45 +00:00
John Cupitt
f12fef4aa9 fix compile 2016-03-13 11:35:35 +00:00
John Cupitt
dc7902b12f Merge branch 'master' into add-lanczos3 2016-03-13 11:23:03 +00:00
John Cupitt
6368ab0649 add switches to disable rad, analyze and ppm
vips has built-in support for rad, analyze and ppm ... add configure
switches to disable these readers

useful to reduce the attack surface in some applications
2016-03-12 16:48:27 +00:00
John Cupitt
4974a1ed9c better rounding for vips_resize()
we were getting off by one size errors
2016-03-10 19:53:05 +00:00
John Cupitt
9201248623 Merge branch '8.2' 2016-03-06 18:05:12 +00:00
John Cupitt
acf5f5169a fix hist_entropy
there was a copy-paste error in the call to vips_log(), thanks Lovell

see https://github.com/lovell/sharp/issues/295
2016-03-06 18:02:59 +00:00
John Cupitt
2ea5c5f7e5 make python bandrank() work like bandjoin()
we had a custom wrapper for bandjoin(), but bandrank(), a function with
an almost identical interface, did not ... this was confusing

bandrank() now has a custom wrapper too ... this breaks API
unfortunately, but hopefully very few people were using this thing and
it's better to make this change as soon as possible
2016-03-01 12:12:51 +00:00
John Cupitt
d33306836f better rgb16 -> scrgb handling
helps new sharpen tests
2016-02-26 09:08:42 +00:00
John Cupitt
c1f1a7c1b3 improve sharpen for screen work
it was a bit granular (since it was designed for offset work), make sharpen
easier to adjust for smaller effects

- new 'sigma' parameter
- greater parameter range
- more self-tests
2016-02-25 11:16:24 +00:00
John Cupitt
f131aaa082 fix up magickload test again 2016-02-13 14:27:41 +00:00
John Cupitt
c2be771342 fix load from buffer, update APIs 2016-02-12 20:04:46 +00:00
John Cupitt
0081f5e4ef another test file
cmyk pdf test file, though it's not actually used yet
2016-02-10 14:40:52 +00:00
John Cupitt
56e45545d3 fix load from buffer 2016-02-09 11:58:43 +00:00
John Cupitt
153886d2eb add svgload
load from bubffer is not working though, strange ... it seems to be
generating a 16-biit image?
2016-02-09 11:01:12 +00:00
John Cupitt
676d35ed74 add pdfload tests 2016-02-08 20:39:39 +00:00
John Cupitt
8cffd136e9 finish reduce
and fix up bicubic a bit, it works better on int32 images now
2016-02-07 17:41:39 +00:00
John Cupitt
39e6963033 start tests 2016-01-29 17:55:54 +00:00
John Cupitt
f3e3514b03 test embed profile in tiff
test embed from file
2016-01-22 22:06:20 +00:00
John Cupitt
af8b43b16d fix to make check in non-C locales
"make check" uses bc, which needs '.' as a decimal sep.

https://github.com/jcupitt/libvips/issues/367
2016-01-17 09:29:25 +00:00