Commit Graph

45 Commits

Author SHA1 Message Date
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 5a0a98c922 sync 2014-09-02 14:57:37 +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 a370e5003e vips array types are more binding-friendly
this all works now:

```python
from gi.repository import Vips

a = Vips.ArrayDouble.new([1,2,3])
a.get()

a = Vips.ArrayInt.new([1,2,3])
a.get()

a = Vips.ArrayImage.new([c, d, e])
a.get()
```
2014-08-31 10:41:53 +01:00
John Cupitt 42dac9209a GBoxed almost working 2014-08-29 18:14:22 +01:00
John Cupitt 2ba3a1a674 fix up the vips8 python binding 2014-08-29 17:33:14 +01:00
John Cupitt 2e4ca3211a start fixing up the python binding 2014-08-29 13:51:58 +01:00
Benjamin Gilbert 8cc76a6ba3 Update address for Free Software Foundation
Also update LGPLv2.1 license text from the copy currently on the GNU
website.
2013-03-07 00:40:19 -05:00
John Cupitt 0274a36863 get the vips8 python binding working again 2012-12-08 05:27:57 +00:00
John Cupitt 3540e3ef09 support :level,associated in the vips7 openslide
the vips7 stub for openslide now supports :level,associated mode
options, eg:

$ header CMU-2.svs
CMU-2.svs: 19500x7615 uchar, 4 bands, rgb VipsImage (0x236a060)
$ header CMU-2.svs:2
CMU-2.svs:2: 4875x1903 uchar, 4 bands, rgb VipsImage (0x244c060)
$ header CMU-2.svs:,label
CMU-2.svs:,label: 387x463 uchar, 4 bands, rgb VipsImage (0xa2d060)
$ header CMU-2.svs:2,label
CMU-2.svs:2,label: 387x463 uchar, 4 bands, rgb VipsImage (0x1b23060)
2012-04-11 12:48:41 +01:00
John Cupitt 6ba96b2333 fix hist normalisation
hist norm was broken due to the VipsStats width change
2012-02-28 12:05:25 +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
John Cupitt 2d12a91173 generic vips_call() is working 2012-01-04 14:38:22 +00:00
John Cupitt a6dc0b6fea operation cache works from Python 2012-01-04 13:50:10 +00:00
John Cupitt acd8ce277e just the cache to fix now 2012-01-02 15:50:41 +00:00
John Cupitt 405b89b000 get goi try.py going 2012-01-02 11:06:04 +00:00
John Cupitt 0983b50905 Merge remote-tracking branch 'origin/gobject-introspection' into goi-merge
Conflicts:
	TODO
	libvips/arithmetic/im_recomb.c
	libvips/arithmetic/im_stats.c
	libvips/deprecated/im_measure.c
	libvips/include/vips/header.h
	libvips/include/vips/image.h
	libvips/include/vips/object.h
	libvips/iofuncs/header.c
	libvips/iofuncs/image.c
	libvips/iofuncs/object.c
2011-12-24 17:36:55 +00:00
John Cupitt 39e92f8f1b some work on the new Python binding 2011-12-23 15:20:54 +00:00
John Cupitt 37ad55d9b3 gi test prog
small gi vips test prog
2011-06-22 13:17:16 +01:00
John Cupitt d3b29f9cd2 start gobject-introspection experiments
messing about with gi for python bindings
2011-06-20 08:31:20 +01:00
John Cupitt 863325a257 cleanups before attempting gobject base 2011-06-18 17:47:56 +01:00
John Cupitt e346187043 new python cleanups
seems to work now, try an operation next
2011-06-18 13:34:52 +01:00
John Cupitt 3628692799 add experimental ctypes Python binding
start hacking on a new Python interface
2011-06-17 14:50:14 +01:00
John Cupitt 81df98e88f cleanups 2009-08-16 20:08:34 +00:00
John Cupitt e6f960e80e merged 7.16 changes back into trunk 2008-10-11 21:29:16 +00:00
John Cupitt f250ebdded fix docs, don't wrap varargs in python 2008-07-29 11:30:48 +00:00
John Cupitt 48a5e364e2 add PIL_mode_from_vips () and vips_from_PIL_mode () utility functions 2008-06-03 14:08:16 +00:00
John Cupitt 6e2afe75c7 added .tobuffer()/.frombuffer(), .tostring()/.fromstring() to Python binding 2008-06-03 12:10:36 +00:00
John Cupitt 5d278b725f better support for multiple Python installs 2008-05-12 09:57:45 +00:00
John Cupitt 7ca31b5df4 added VImage::convert2disc 2008-02-11 18:18:53 +00:00
John Cupitt 830c303ada stuff 2008-01-23 17:16:30 +00:00
John Cupitt b6aa0808dc stuff 2007-12-17 19:00:09 +00:00
John Cupitt 95e5712510 stuff 2007-12-14 12:40:39 +00:00
John Cupitt b824e03d10 stuff 2007-10-12 13:03:18 +00:00
John Cupitt 4424f23af1 stuff 2007-09-21 16:13:28 +00:00
John Cupitt 5494f610e2 split to trunk/branches 2007-08-29 16:23:50 +00:00