Commit Graph

47 Commits

Author SHA1 Message Date
John Cupitt
c90b8be0b8 add tiffsave_buffer
add tests

also some cleanups to foreign include files

see https://github.com/jcupitt/libvips/issues/417
2016-10-15 12:29:14 +01:00
John Cupitt
d54df515b8 add some tests 2016-09-08 10:41:01 +01:00
John Cupitt
fe3262f719 test unicode filename support 2016-08-19 09:15:34 +01:00
John Cupitt
91e31cb830 more tweaks for travis 2016-08-14 21:44:55 +01:00
John Cupitt
762c655a5c try to help travis 2016-08-14 21:33:33 +01:00
John Cupitt
5df5793457 done!
all tests done, all pass with magick6 and magick7
2016-08-14 18:39:40 +01:00
John Cupitt
8c05a2bbe8 argh all_frames doesn't work for gif 2016-08-04 15:55:06 +01:00
John Cupitt
40f01fdb2b Merge branch 'master' into add-magick7 2016-08-04 14:15:46 +01:00
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
71fb52afa0 Merge branch 'master' into add-magick7 2016-07-27 08:49:39 +01:00
John Cupitt
d388f666cb fix tests 2016-07-26 17:28:54 +01:00
John Cupitt
43395d4e7b tests pass 2016-07-09 12:19:56 +01:00
Felix Bünemann
14953c19e7 Add support for .svgz files to svgload 2016-06-27 01:54:53 +02:00
Felix Bünemann
1f9e81309e Add dzsave zip compression support 2016-06-04 02:14:46 +02: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
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
92a6ff19a1 add some more webp tests 2016-05-17 14:08:46 +01: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
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
f3e3514b03 test embed profile in tiff
test embed from file
2016-01-22 22:06:20 +00:00
John Cupitt
e81900b187 bandjoin is just an instance function
we had both a class member bandjoin, and an instance member

Vips.Image.bandjoin([i1, i2, i3..])
i1.ibandjoin([i2, i3..])

this was confusing and annoying ... get rid of the class one and just
use bandjoin everywhere, so this is now the way to do it:

i1.bandjoin([i2, i3..])
2016-01-04 14:18:10 +00:00
John Cupitt
dbf9a5ed1c fix dzsave tile-width default
was wrong for google / zoomify layouts

revise tests too
2015-12-30 11:23:33 +00:00
John Cupitt
253cb8e2e3 fix up dzsave overlap handling
There was a mixup with the previous fix to dzsave overlap handling,
correct it and update the test suite.

In the previous revision, dzsave overlapped tiles by overlap and sized
them by tile_size. In fact, tiles should be sized as (tile_size + overlap
* 2), ie. tile_size refers to the number of unique pixels per tile.

See https://github.com/jcupitt/libvips/issues/357
2015-12-17 11:54:38 +00:00
John Cupitt
5916e25c31 rename python bandjoin as ibandjoin
oh argh class and instance methods are in the same namespace, so we have
to rename the instance one as ibandjoin

also, start adding a test for arrayjoin
2015-12-12 12:29:20 +00:00
John Cupitt
db291daf81 two small fixes for dzsave
fix a tiny leak, fix coloured @background
2015-10-06 13:30:25 +01:00
John Cupitt
82b4f2037b add some dzsave tests
does not test all options yet though
2015-09-10 14:07:48 +01:00
John Cupitt
677a7db0db fix the exif mod test 2015-07-17 10:59:42 +01:00
John Cupitt
83cd265e7d one strange issue left 2015-07-16 15:40:11 +01:00
John Cupitt
baf78fc04a oops, fix base64 encode/decode padding
we were adding up to two bytes of null to the end of base64-encoded
binary data due to a signed/unsigned mixup

add a test for this, plus a test for vips file format
2015-05-31 18:17:26 +01:00
John Cupitt
98e80903e0 metadata was not being saved to vips files
broken by the rewind changes a few weeks ago

added a test too
2015-05-28 16:19:32 +01:00
John Cupitt
8ba680605a soname bump, test suite improvements
test suite now tests load from buffer and save to buffer

test suite adapts for differences in newer libMagick

bump soname for safety
2015-05-05 09:40:29 +01:00
John Cupitt
599bc0d75c fix missing lib detect in tests 2015-04-24 10:51:01 +01:00
John Cupitt
dde0eda74e add a test for tiff squash & miniswhite 2015-04-11 22:06:13 +01:00
John Cupitt
5ccb5ad70d add () overload to python
for vips_getpoint()
2015-03-01 12:15:48 +00:00
John Cupitt
53c53006a6 add some more tests for the tiff saver 2015-02-17 15:04:15 +00:00
John Cupitt
c15f37719b add test_foreign.py
plus some more test images
2015-02-16 16:03:39 +00:00