Commit Graph

3272 Commits

Author SHA1 Message Date
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
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
e09aa1d4be Merge branch 'master' of github.com:jcupitt/libvips 2014-09-15 11:30:37 +01:00
John Cupitt
cc599844d2 fix getpoint(0,0)
and add more tests
2014-09-15 09:06:36 +01:00
John Cupitt
876a7538af more tests 2014-09-14 21:30:27 +01:00
John Cupitt
d14a6ea2c7 test the last couple of overloads
they are actually defined in terms of other overloads, but test them
anyway
2014-09-14 13:16:36 +01:00
John Cupitt
d0f7efcd1e self-test of all overloads done
woo and it passes
2014-09-14 11:51:05 +01:00
John Cupitt
2c1c9b94fe abs unittest done 2014-09-13 19:49:03 +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
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
ca0437d002 Merge branch '7.40' 2014-09-12 12:03:47 +01:00
John Cupitt
e4461ae1f9 fix vipsthumbnail with broken embedded profiles
if the embedded profile is broken or incompatible with the specified
output profile, retry with the specified input profile

see

https://github.com/jcupitt/libvips/issues/178
2014-09-12 10:51:49 +01:00
John Cupitt
b1f3acf17b fix vipsthumbnail
with input cmyk and output rgb profiles both specified ... it was
importing twice, causing a band mismatch

see

https://github.com/jcupitt/libvips/issues/177
2014-09-12 09:04:58 +01:00
John Cupitt
62c73d5109 small bugs, start unit tests 2014-09-11 21:54:52 +01:00
John Cupitt
62a98dbdf7 Merge branch '7.40' 2014-09-11 19:29:09 +01:00
John Cupitt
4eeacd3c1f fix intro header list 2014-09-11 19:28:17 +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
cfcf9a84ce Merge branch '7.40' 2014-09-10 11:59:01 +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
4c51e6aa0b draw and hough working in Python 2014-09-09 13:19:44 +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
a8becfc9d4 bump version to 7.40.8 2014-09-08 19:47:01 +01:00
John Cupitt
0fb1fc974d Merge pull request #171 from lovell/remove-config-empty-else-7.40
Prevent the version of autotools in Redhat/Centos 6 generating empty else statements
2014-09-08 19:35:27 +01:00
Lovell Fuller
a620170362 Prevent empty else block in configure
Enables libvips to compile on RHEL/Centos 6
2014-09-08 18:56:51 +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
5ab3009ce2 add thread_shutdown() to python
see https://github.com/jcupitt/libvips/issues/170
2014-09-07 10:21:01 +01:00
John Cupitt
a26df2a8a9 get ready for class methods 2014-09-07 09:36:34 +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
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