Commit Graph

3227 Commits

Author SHA1 Message Date
John Cupitt 7ca9121c32 gtk-doc fixes 2014-09-06 08:01:13 +01:00
John Cupitt 6f8b5c6745 bring the rest of the API into python 2014-09-05 23:18:16 +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 7608524f61 fix up gtk-doc comments
fewer warnings now, phew
2014-09-03 14:32:55 +01:00
John Cupitt 4793c69bba turn VipsBlob into a proper type
with a .get() method we call call from Python
2014-09-02 21:59:11 +01:00
John Cupitt 5a0a98c922 sync 2014-09-02 14:57:37 +01:00
John Cupitt 501e900be5 tiny polish 2014-09-02 13:40:37 +01:00
John Cupitt e9ce212b62 make out of order read a fatal error
For png and jpg, out of order must always be a fatal error, since you
can't read from a specific y position.

This was a g_assert() before which meant that this test was missing from
production builds. It's now always a fatal error.
2014-09-02 09:37:08 +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
John Cupitt f8f288c1a6 vips_init() comes back
we need a public function for bindings
2014-08-29 13:51:03 +01:00
John Cupitt 43eddbef7a Merge branch '7.40' 2014-08-28 17:19:58 +01:00
John Cupitt 70b35f5ec5 update ChangeLog 2014-08-28 16:44:03 +01:00
John Cupitt 0eecb1ba06 Merge pull request #167 from lovell/webp-read-buffer-leak-7.40
Ensure Read struct is freed when reading WebP image data from a buffer
2014-08-28 16:40:40 +01:00
John Cupitt e09185860d Merge pull request #168 from lovell/png-save-buffer-unref-area-7.40
Correct VipsArea ref count in PNG buffer output
2014-08-28 16:38:29 +01:00
Lovell Fuller bdf7126e8f Correct VipsArea ref count in PNG buffer output 2014-08-28 15:54:10 +01:00
Lovell Fuller e13f6bf6b6 Ensure read_free is called for WebP buffer data 2014-08-28 12:09:10 +01:00
John Cupitt 180142b2b1 Merge branch '7.40'
Conflicts:
	ChangeLog
	configure.ac
2014-08-27 14:00:54 +01:00
John Cupitt e6401448d4 Merge branch 'master' of github.com:jcupitt/libvips 2014-08-27 13:58:48 +01:00
John Cupitt 86b729150c fix memleak in type.c
see

https://github.com/jcupitt/libvips/pull/164
2014-08-27 13:46:51 +01:00
John Cupitt 30aae507a3 fix memleak in tilecache 2014-08-26 17:07:44 +01:00
John Cupitt a75ddfbd5a fix matlab load
oops, width and height were swapped
2014-08-21 22:01:40 +01:00
John Cupitt 04692c29dd enlarge the buffered tilecache
helps vipsthumbnail under load
2014-08-21 15:14:26 +01:00
John Cupitt 694d86e5c5 fix vipsthumbnail on very-many-core systems
see:

https://github.com/jcupitt/libvips/issues/160

we were using UNBUFFERED, but on very-many-core systems this can get out
of order enough to make vipspng free the read object early
2014-08-21 13:05:29 +01:00
John Cupitt 5125cc535c Merge branch '7.40'
Conflicts:
	TODO
2014-08-19 18:04:24 +01:00
John Cupitt 41ec99b8d5 note 2014-08-19 18:03:19 +01:00
John Cupitt 573b94e3ec more docs argh 2014-08-19 17:57:27 +01:00
John Cupitt af84b3097c more docs work 2014-08-19 16:57:37 +01:00
John Cupitt 03577ad832 fix dzsave date attr on Windows
see

https://github.com/jcupitt/libvips/issues/157

thanks John
2014-08-18 21:30:26 +01:00
John Cupitt a70da5b2d9 Merge remote-tracking branch 'origin/7.40' 2014-08-18 17:41:17 +01:00
John Cupitt dfc8ade079 fix up vips_version*() docs 2014-08-18 16:01:26 +01:00
John Cupitt 7c8ec68448 more vips_check_init() out of API
now private
2014-08-18 15:53:17 +01:00
John Cupitt 1abcc1eae4 rename vips_init() as VIPS_INIT()
stops a deprecation warning from gtk-doc

vips_init() is now a compat macro
2014-08-18 15:27:10 +01:00
John Cupitt cb2b217434 fix 16-bit PNG save
see

https://github.com/jcupitt/libvips/issues/156
2014-08-18 13:54:06 +01:00
John Cupitt 31f969abec oops, fix without-cxx compilation
see

https://github.com/jcupitt/libvips/issues/155

thanks Andrea
2014-08-17 18:12:48 +01:00
John Cupitt 2e2809a6b4 Merge remote-tracking branch 'origin/7.40'
Conflicts:
	ChangeLog
2014-08-17 10:00:03 +01:00
John Cupitt c646356b4f Merge branch 'master' of github.com:jcupitt/libvips
Conflicts:
	ChangeLog
	TODO
2014-08-17 09:58:24 +01:00