Commit Graph

126 Commits

Author SHA1 Message Date
John Cupitt
c3102b15bb add python3 support 2014-12-10 17:02:51 +00:00
John Cupitt
9866127e6a small cleanups 2014-12-10 15:31:22 +00:00
John Cupitt
7daa70ead3 add tiny demo prog 2014-12-10 15:03:33 +00:00
John Cupitt
9694cc8adb output ref_count in object summary
tiny Vips.py fix too
2014-12-10 09:23:51 +00:00
John Cupitt
aa6c883434 ignore missing class methods in Vips.py
thanks Ben

see https://github.com/jcupitt/libvips/issues/199
2014-12-05 12:50:53 +00:00
John Cupitt
ed6eaa4662 tiny fixes 2014-11-28 17:55:55 +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
John Cupitt
dda412c85f add command-line option parsing to python 2014-11-18 11:29:32 +00:00
John Cupitt
e3afa878e6 better support for drawing operations
much more mem efficient for repeated draws

doc updates too
2014-11-16 11:07:42 +00:00
John Cupitt
d25beeddac remove wrap7 class
and pyvips8 now knows about deprecated args and ops
2014-11-14 22:41:05 +00:00
John Cupitt
b40bad04bb hide deprecated args to operations in python 2014-11-14 12:19:25 +00:00
John Cupitt
865fd9da5e more docstring updates 2014-11-13 20:07:12 +00:00
John Cupitt
6a25b04974 better docstrings
you now see:

class_method(cls, *args, **kwargs) method of gi.types.GObjectMeta
instance
    make a black image
    usage:
       out = Vips.Image.black(width, height, bands = gint)

    where:
       out        - Output image, VipsImage

    required parameters:
       width      - Image width in pixels, gint
       height     - Image height in pixels, gint

    optional parameters:
       bands      - Number of bands in image, gint
2014-11-13 14:37:59 +00:00
John Cupitt
f8200d67a8 tiny hacks 2014-11-12 15:03:58 +00:00
John Cupitt
326854843a tinkering with pyvips8 docs 2014-11-11 14:59:06 +00:00
John Cupitt
70e470b0a5 fiddle with pyvips8 docstrings 2014-11-10 22:37:16 +00:00
John Cupitt
bbf49be063 cleanup and bump to 7.42 2014-11-03 12:01:53 +00:00
John Cupitt
2acd185ee2 cleanups 2014-10-16 11:22:03 +01:00
John Cupitt
a8f4ed7871 fix up ifthenelse and set_value 2014-10-16 10:58:54 +01:00
John Cupitt
fc4c8b9cd7 constants as images working 2014-10-16 10:43:29 +01:00
John Cupitt
10b9374cb9 start adding auto image constants 2014-10-15 14:56:44 +01:00
John Cupitt
b2de6d983c add build rules for new py binding 2014-10-14 14:56:49 +01:00
John Cupitt
e1ed7f28d5 more Vips.py cleanups 2014-10-14 14:28:59 +01:00
John Cupitt
9e272ce78a use @classmethod decorators 2014-10-14 12:39:45 +01:00
John Cupitt
6fb967ac3b more py tweaks
fast startup, reorganised python/
2014-10-14 10:17:33 +01:00
John Cupitt
bb360ae410 use more overrides 2014-10-13 15:06:35 +01:00
John Cupitt
6e37d3a549 oops 2014-10-13 14:21:47 +01:00
John Cupitt
a0988ffc31 start using overrides in Python 2014-10-13 14:21:05 +01:00
John Cupitt
23c04fcfee update tests again 2014-10-05 09:28:17 +01:00
John Cupitt
2e2cc9ea7a add get_value()
and set_value(), do auto blob/unblob
2014-10-01 14:59:23 +01:00
John Cupitt
3067fee56f add ICC tests 2014-10-01 12:28:25 +01:00
John Cupitt
9112e7d525 warn on profile save data loss 2014-09-30 21:28:16 +01:00
John Cupitt
d9ee892077 conversion tests done 2014-09-29 21:40:08 +01:00
John Cupitt
86910e2e72 oops 2014-09-29 16:29:32 +01:00
John Cupitt
154796a8dc rename VIPS_ANGLE_0 as VIPS_ANGLE_D0
and other similar cases

VIPS_ANGLE_0 becomes Vips.Angle.0 in Python, which is very inconvenient, so we
rename ... the D stands for degrees, I think
2014-09-29 13:56:55 +01:00
John Cupitt
d46f08c314 more tests 2014-09-28 18:08:53 +01:00
John Cupitt
fd8dbdb08c more colour tests 2014-09-27 12:29:23 +01:00
John Cupitt
e458365970 use vips__substitute() more
should probably remove vips_snprintf() from a few more places
2014-09-27 11:37:28 +01:00
John Cupitt
61bae5eeff more tests 2014-09-26 15:01:56 +01:00
John Cupitt
7d19abbae3 fix vips_region_paint() for float types 2014-09-25 17:40:41 +01:00
John Cupitt
33c2458233 more tests 2014-09-25 14:00:17 +01:00
John Cupitt
7915308155 test for bandrank and bandmean 2014-09-25 09:58:51 +01:00
John Cupitt
b402bb173f test pyvips bandjoin 2014-09-24 21:57:56 +01:00
John Cupitt
fd9300750d test extra band handling in dE 2014-09-24 14:52:24 +01:00
John Cupitt
0a327af138 fixed extra band handling, again 2014-09-24 14:46:03 +01:00
John Cupitt
06366cf75b fix up deCMC again 2014-09-24 13:16:38 +01:00
John Cupitt
d7083d7a03 make arrayimage ref/unref 2014-09-23 14:38:46 +01:00
John Cupitt
2cfffaa54e start conversion tests 2014-09-22 13:50:09 +01:00
John Cupitt
5ebe12273a more of colour unittest done 2014-09-18 15:04:12 +01:00
John Cupitt
c1b9665052 start colour unit test 2014-09-18 08:36:37 +01:00