Commit Graph

305 Commits

Author SHA1 Message Date
JonDeen
38c44abc6d Merge branch 'master' into add-hsv 2015-06-20 00:14:51 +02:00
John Cupitt
e107dd11c0 test band fold/unfold factors 2015-06-11 12:49:11 +01:00
JonDeen
ff70185dda weird fits 2015-06-10 11:29:37 +02:00
John Cupitt
e83a3bbfd1 add a test for byteswap() 2015-06-07 16:24:52 +01:00
John Cupitt
e9720afb18 add vips_bandfold()/vips_bandunfold()
was part of vips_copy(), but it was very ugly there
2015-06-05 14:52:05 +01:00
John Cupitt
e84b97038f add mono image -> many band column
or row ... handy for loading LUT images from CSV files
2015-06-04 16:02:41 +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
36331739ab add bandand() bandor() bandeor() to py
convenience funcs
2015-05-26 10:32:15 +01:00
John Cupitt
ec52d1b922 change vips_flatten() alpha rules
now match vips_premultiply()

add tests

foreign knows about new logic
2015-05-09 12:10:42 +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
c3cc4f73a9 more travis poking
and fix a float comparison in test_threading
2015-04-14 11:14:25 +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
5d912fdbbb add [] overload to python
index and slice image bands
2015-02-28 16:53:06 +00:00
John Cupitt
cdeec4a912 small tweaks 2015-02-26 13:15:53 +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
John Cupitt
4d9436f4b3 Merge branch '7.42' 2015-02-13 12:21:46 +00:00
John Cupitt
4d0887f5de fix .dz as a target
and add a test for this as well
2015-02-13 11:17:55 +00:00
John Cupitt
8f7c2c7110 sort out alpha going to and from 16-bit
rewritten sRGB <-> scRGB so that 16-bit alpha is scaled to float 8
2015-02-12 17:50:38 +00:00
John Cupitt
640477dc62 better python imageize
sets interpretation as well ... was causing problems with jpg save
colour transforms
2015-02-10 14:08:37 +00:00
John Cupitt
62177ad24e notes 2015-02-10 10:17:01 +00:00
John Cupitt
e429772ae8 turn on leak testing in python test suite 2015-02-02 11:36:29 +00:00
John Cupitt
230a939521 remove some debugging 2015-01-29 16:59:38 +00:00
John Cupitt
ddb43172f3 use new pyvips8 array constant syntax
also add median filter convenience function
2015-01-29 16:41:11 +00:00
John Cupitt
d6ff5f24c6 all tests done and working
phew
2015-01-29 14:27:18 +00:00
John Cupitt
93ab9fd661 oop, cache fix 2015-01-29 14:13:51 +00:00
John Cupitt
57196ee702 fix an operation cache bug
when testing two operations for equality, need to check that both had an
optional arg set before testing the value
2015-01-29 13:47:14 +00:00
John Cupitt
2a1a371e5c started test_resample.py 2015-01-29 09:29:10 +00:00
John Cupitt
c384e2b664 finish morph
and add erode/dilate convenience functions to Vips.py
2015-01-28 21:58:08 +00:00
John Cupitt
810fac4785 start morph test 2015-01-28 21:29:06 +00:00
John Cupitt
2ce472a153 test hist funcs 2015-01-28 17:16:14 +00:00
John Cupitt
27f41d9725 add draw tests 2015-01-28 14:53:34 +00:00
John Cupitt
2e61b6ed67 more tests
create is now done, phew
2015-01-28 13:02:38 +00:00
John Cupitt
e8f456a7e2 more tests 2015-01-27 21:45:14 +00:00
John Cupitt
90725b9f5e more tests 2015-01-05 13:48:35 +00:00
John Cupitt
ed049b4bf1 add more self-tests 2015-01-04 22:03:08 +00:00
Benjamin Gilbert
5ed7a24f0c Drop dependency on Python "future" package
It's not widely packaged in Linux distributions, and none of the VIPS
Python code requires Python 3 semantics from any of the builtins future
was replacing.
2014-12-26 21:10:55 -05:00
John Cupitt
1b86de44f4 "make check" works uninstalled
and skips tests for missing features
2014-12-22 10:35:26 +00:00
John Cupitt
a560d3b8c2 more osx help 2014-12-20 22:25:19 +00:00
John Cupitt
39c2bf9291 more stuff for homebrew 2014-12-20 17:12:12 +00:00
John Cupitt
932a16b615 improvements to test to help osx 2014-12-20 16:17:44 +00:00
John Cupitt
d454b9161e more tests 2014-12-17 21:34:47 +00:00
John Cupitt
dba587916e fix fastcor for non-uchar images
oops, forgot to scale lsk
2014-12-17 17:54:44 +00:00
John Cupitt
1f85ef7fbb more convsep tests 2014-12-16 14:58:21 +00:00
John Cupitt
d62bec6ecc bug in copy fallback
for bandmean, rank and bool on one band images.
2014-12-16 14:14:32 +00:00
John Cupitt
71bb0e81d1 better Vips.py install
more work on test_convolution
2014-12-15 18:12:47 +00:00
John Cupitt
649c0afb61 use vips_sum() in vips_compass() 2014-12-15 16:14:02 +00:00
John Cupitt
a9109904c1 make check both py2 and py3 2014-12-12 14:50:31 +00:00
John Cupitt
c3102b15bb add python3 support 2014-12-10 17:02:51 +00:00
John Cupitt
3d1469179c add the test_thumbnail script too 2014-11-20 14:36:04 +00:00
John Cupitt
810abeea34 small fixups 2014-11-19 17:32:29 +00:00
John Cupitt
ee4416040b make a test suite
put the python and non-nip2 bits of the nip2 suite together

some test images too
2014-11-19 15:01:28 +00:00