967 Commits

Author SHA1 Message Date
John Cupitt
f2898a8e3b more C++ hacking 2014-10-20 14:54:03 +01:00
John Cupitt
e6a2994c8d small fixes 2014-10-18 15:42:56 +01:00
John Cupitt
14d7ce1e91 first try, not very good 2014-10-16 19:16:45 +01:00
John Cupitt
2acd185ee2 cleanups 2014-10-16 11:22:03 +01:00
John Cupitt
3d4eecf921 add vips8 plugin support 2014-10-09 12:50:16 +01:00
John Cupitt
927b2d7954 remove cimg and gmic
move this to a plugin, it's too big for the core library
2014-10-08 17:51:07 +01:00
John Cupitt
ca2ae681cd add --with-gmic configure option 2014-10-07 14:54:53 +01:00
John Cupitt
3788c85e54 gmic uses an imagevec for input images 2014-10-06 21:52:27 +01:00
John Cupitt
ae7d81d748 update cimg, integrate gmic
try:

$ vips gmic 1 x.jpg 20 1 1 --in0 k2.jpg -- "-blur 10"

output is black, but it does seem to almost work
2014-10-06 14:37:44 +01:00
John Cupitt
9112e7d525 warn on profile save data loss 2014-09-30 21:28:16 +01:00
John Cupitt
d85c5ef3fd Merge branch '7.40' 2014-09-30 12:14:11 +01:00
John Cupitt
cad052544c try to make vips_thread_shutdown() optional
see

https://github.com/jcupitt/ruby-vips/issues/55

it's still better to call vips_thread_shutdown(), but not calling it
should no longer leak memory
2014-09-30 11:28:24 +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
21ae8321f2 Merge branch '7.40'
Conflicts:
	ChangeLog
	configure.ac
2014-09-29 12:37:19 +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
7d19abbae3 fix vips_region_paint() for float types 2014-09-25 17:40:41 +01:00
John Cupitt
08e0d5d962 sync 2014-09-24 09:00:22 +01:00
John Cupitt
d7083d7a03 make arrayimage ref/unref 2014-09-23 14:38:46 +01:00
John Cupitt
26e92486c5 Merge branch '7.40' 2014-09-20 10:17:22 +01:00
John Cupitt
1ce3b53a6d oops, double allocate
thanks Lovell
2014-09-20 09:53:00 +01:00
John Cupitt
6930318f24 Merge branch '7.40' 2014-09-19 12:07:31 +01:00
John Cupitt
006a5d2eb1 oop, dropped a * on the floor 2014-09-19 12:04:11 +01:00
John Cupitt
f18fd4b089 Merge branch '7.40' 2014-09-19 11:49:30 +01:00
John Cupitt
862d7f03ea tiny cache clean-up 2014-09-19 11:38:16 +01:00
Lovell Fuller
20ae6b8af7 Prevent non-critical race condition in op cache
First thread to add an operation 'wins'
2014-09-19 09:18:58 +01:00
John Cupitt
1e6cd1b1a5 clean up length return
read file to mem was using uint for length for historical reasons
2014-09-18 10:19:24 +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
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
9a2c38e107 finish python vips8 2014-09-09 14:19:51 +01:00
John Cupitt
891e6db8f0 Merge branch '7.40' 2014-09-09 11:21:28 +01:00
John Cupitt
d085351f0f fix mono <-> rgb converter extra band handling
see

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

thanks James
2014-09-09 10:07:35 +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
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
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
e6dba689ce auto array-ize scalars in python 2014-09-01 09:41:14 +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
f8f288c1a6 vips_init() comes back
we need a public function for bindings
2014-08-29 13:51:03 +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
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
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