Commit Graph

35 Commits

Author SHA1 Message Date
John Cupitt
ef847de996 done arithmetic testsuite
all passes, woo
2014-09-17 12:03:06 +01:00
John Cupitt
8b9dc20684 add relational overloads to python
and tests
2014-09-17 09:39:57 +01:00
John Cupitt
de594151a5 rename NOTEQUAL as NOTEQ
since <= is LESSEQ

python has some relational overloads now
2014-09-16 17:25:20 +01:00
John Cupitt
65a062e4a1 more self-tests
started on relational overloads
2014-09-16 14:53:49 +01:00
John Cupitt
e8f5c606df add log and trig
to selftest and vips8 python
2014-09-16 12:47:00 +01:00
John Cupitt
4968b9edaf fix optional output args in python
oh arg we have to return a dict

also, test hough circle and line, and add maxpos/minpos
2014-09-16 10:47:24 +01:00
John Cupitt
1c1f7a205a more optional output arg support 2014-09-16 08:36:29 +01:00
John Cupitt
c20c85b474 getting ready for hough test 2014-09-15 14:55:08 +01:00
John Cupitt
c4a3e9a1a0 add VIPS_ARGUMENT_MODIFY
a flag for arguments meaning the operator will modify an input

the python binding uses this to take a copy of the arg before calling
2014-09-15 14:47:34 +01:00
John Cupitt
cc599844d2 fix getpoint(0,0)
and add more tests
2014-09-15 09:06:36 +01:00
John Cupitt
8a1397b91f small python fixes 2014-09-13 17:24:59 +01:00
John Cupitt
12304166ce basic arith tests done
small improvements to python binding
2014-09-13 09:08:16 +01:00
John Cupitt
666a0a6f83 fix avg of complex
oops, can't avg mod2, duh
2014-09-12 14:01:20 +01:00
John Cupitt
62c73d5109 small bugs, start unit tests 2014-09-11 21:54:52 +01:00
John Cupitt
9a2c38e107 finish python vips8 2014-09-09 14:19:51 +01:00
John Cupitt
4c51e6aa0b draw and hough working in Python 2014-09-09 13:19:44 +01:00
John Cupitt
84e55b86e6 added class methods to python
we now have Vips.Image.black(w, h), woo
2014-09-08 14:53:37 +01:00
John Cupitt
a26df2a8a9 get ready for class methods 2014-09-07 09:36:34 +01:00
John Cupitt
751982d9f0 add make vips matrix from python array 2014-09-05 14:53:05 +01:00
John Cupitt
92570b119c python new_from_memory()/write_to_memory() done 2014-09-05 12:54:07 +01:00
John Cupitt
22e075d05a add const to vipsblob 2014-09-04 11:23:37 +01:00
John Cupitt
eca5ed12de buffer load/save in python works 2014-09-03 21:34:26 +01:00
John Cupitt
8a976a1e73 auto un-VipsBlob-ification 2014-09-03 17:54:36 +01:00
John Cupitt
8f39f8ba3b start unboxing returns from Python 2014-09-03 14:59:35 +01:00
John Cupitt
6779e141a7 add Python .write_to_buffer()
now we need to be able to get the bytes from a VipsBlob
2014-09-01 17:44:33 +01:00
John Cupitt
804a2e6fca finish python operator overloads 2014-09-01 15:28:55 +01:00
John Cupitt
f03dc3754f start adding python operator overloads 2014-09-01 11:32:17 +01:00
John Cupitt
e6dba689ce auto array-ize scalars in python 2014-09-01 09:41:14 +01:00
John Cupitt
8a6a846452 all python assignment in one place
ready for type conversions to go in
2014-08-31 22:51:04 +01:00
John Cupitt
3b43bd76f3 set options in filenames in vips8 Python
now supports "fred.jpg[Q=90]" in Vips.Image.new_from_file() etc.
2014-08-31 21:16:39 +01:00
John Cupitt
2ba3a1a674 fix up the vips8 python binding 2014-08-29 17:33:14 +01:00
John Cupitt
0274a36863 get the vips8 python binding working again 2012-12-08 05:27:57 +00:00
John Cupitt
1e3edd7b1e mvoe vips7 wrap back to vips7 names
improve cache trace formatting too
2012-01-06 14:56:24 +00:00
John Cupitt
d5034b0485 add --vips-cache-trace
and rename cache-print as cache-dump
2012-01-06 09:36:04 +00:00
John Cupitt
c190c8e660 new Python binding
just a test thing for now, but seems to work OK

some small tweaks to help gobject-introspction
2012-01-05 13:26:25 +00:00