2253 Commits

Author SHA1 Message Date
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
f467924156 move ImageProperties.xml
it's now in x/, not x/x/, same as the official tool
2014-09-25 11:16:14 +01:00
John Cupitt
7915308155 test for bandrank and bandmean 2014-09-25 09:58:51 +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
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
cd737bc91a Merge branch 'colour-fix' 2014-09-20 16:53:08 +01:00
John Cupitt
b69613e06a working! 2014-09-20 16:52:44 +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
63fd45f7ad not quite there 2014-09-19 14:59:45 +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
36d1312a32 Merge branch '7.40' 2014-09-18 09:41:24 +01:00
John Cupitt
14a8c5ad47 add @profile option to pngsave
tiff and jpeg save both have a @profile option, this patch adds one to png as
well, see

https://github.com/jcupitt/libvips/issues/180
2014-09-18 09:38:12 +01:00
John Cupitt
bb50478d77 fix more, moreeq
there was a problem with operation caching in complex programs because of
the way we were swapping pointers
2014-09-17 11:21:34 +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
a82fa01781 more tests 2014-09-15 13:58:31 +01:00
John Cupitt
24ff40e9be find_indexed wasn't banning complex images 2014-09-15 13:25:04 +01:00
John Cupitt
133e2f94e9 fix linear with mismatched vectors
we had:

	$ vips linear sarto_ng.v x.v "1 2 3" "4"
	$ vipsheader x.v
	x.v: 1865x2556 float, 1 band, b-w
	$ vips linear sarto_ng.v x.v "1" "4 5 6"
	$ vipsheader x.v
	x.v: 1865x2556 float, 3 bands, b-w

there was a typo in linear.c
2014-09-15 12:41:05 +01:00
John Cupitt
12d623fa25 fix hist_find crash with non-u8/u16 input 2014-09-15 11:42:21 +01:00
John Cupitt
cc599844d2 fix getpoint(0,0)
and add more tests
2014-09-15 09:06:36 +01:00
John Cupitt
ce8d7e5789 tweaks 2014-09-13 18:03:25 +01:00
John Cupitt
8a1397b91f small python fixes 2014-09-13 17:24:59 +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
62a98dbdf7 Merge branch '7.40' 2014-09-11 19:29:09 +01:00
John Cupitt
b21c47b1c5 add @background arg to save
used to flatten A out of images, if necessary

vipsthumbnail rtd-img.png -o x.jpg[background=255]
2014-09-11 09:18:38 +01:00
John Cupitt
980adb394a oops, GRAY is an lcms2 feature 2014-09-10 09:47:38 +01:00
John Cupitt
01bd7cad04 support GRAY as an input and output ICC space
see

https://github.com/jcupitt/libvips/issues/176
2014-09-10 09:37:13 +01:00
John Cupitt
8875e23128 fix a setjmp() loop in pngread
see

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

stupid setjmp()
2014-09-10 09:05:13 +01:00
John Cupitt
2ec0a8b87e Merge branch '7.40'
Conflicts:
	ChangeLog
	configure.ac
2014-09-09 16:58:28 +01:00
John Cupitt
158237254d fix jfif resunit read
see https://github.com/jcupitt/libvips/issues/170

the previous fix just did exif resolution "none", we need jfif "none" as
well
2014-09-09 16:46:16 +01:00
John Cupitt
9a2c38e107 finish python vips8 2014-09-09 14:19:51 +01:00
John Cupitt
cb9360dac9 Merge branch '7.40' 2014-09-09 12:19:09 +01:00
John Cupitt
6269c852cc support exif res unit "none"
well why would you want that, but it seems some images use it
2014-09-09 12:18:21 +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
b746984318 Merge branch '7.40'
Conflicts:
	ChangeLog
	configure.ac
2014-09-08 19:49:09 +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
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