Commit Graph

3531 Commits

Author SHA1 Message Date
John Cupitt 6e2135d8b5 mask builders take prec, not integer
vips_gaussmat() and vips_logmat() used to default to float, but
vips_conv() defaulted to int ... so this failed:

	vips gaussmat m.v 2 0.1 --separable
	vips convsep k2.jpg x.jpg m.v

since we were using a small float mask with an integer convolution

This change makes everything int by default, with gaussmat having a new
param called --precision whose arg can be int or float.

The old @integer param is deprecated.
2014-12-16 20:48:11 +00:00
John Cupitt 1f85ef7fbb more convsep tests 2014-12-16 14:58:21 +00:00
John Cupitt d62bec6ecc bug in copy fallback
for bandmean, rank and bool on one band images.
2014-12-16 14:14:32 +00:00
John Cupitt 9b3351f73a vips_getpoint() frees input region sooner
we were leaving a region active after _build(), which caused problems later if
another operation triggered a rewind (for example)
2014-12-16 13:26:01 +00:00
John Cupitt 71bb0e81d1 better Vips.py install
more work on test_convolution
2014-12-15 18:12:47 +00:00
John Cupitt 649c0afb61 use vips_sum() in vips_compass() 2014-12-15 16:14:02 +00:00
John Cupitt c95088c68e tiny polish 2014-12-15 11:57:35 +00:00
John Cupitt b803b8f304 oops 2014-12-12 15:56:16 +00:00
John Cupitt 7f34722f9f update gtk-doc Makefile.am
"make check" now works in docs
2014-12-12 15:51:07 +00:00
John Cupitt 195fb15f5e test for missing "future" package
see https://github.com/jcupitt/libvips/issues/208

not sure why this fails silently without the extra try block
2014-12-12 15:21:58 +00:00
John Cupitt a9109904c1 make check both py2 and py3 2014-12-12 14:50:31 +00:00
John Cupitt b4b8b8bd96 use bytes() for VipsBlob in python3 2014-12-11 13:08:14 +00:00
John Cupitt d5c164898e note 2014-12-11 09:33:12 +00:00
John Cupitt a7a025707a fix default interpolator in similarity
was not defaulting correctly
2014-12-10 17:32:56 +00:00
John Cupitt c3102b15bb add python3 support 2014-12-10 17:02:51 +00:00
John Cupitt 9866127e6a small cleanups 2014-12-10 15:31:22 +00:00
John Cupitt 7daa70ead3 add tiny demo prog 2014-12-10 15:03:33 +00:00
John Cupitt 069ff8982c zero out edge tile buffers before tiff jpeg write
see https://github.com/jcupitt/libvips/issues/204

thanks iwbh15
2014-12-10 09:41:31 +00:00
John Cupitt 9694cc8adb output ref_count in object summary
tiny Vips.py fix too
2014-12-10 09:23:51 +00:00
John Cupitt 64bdadadf2 expand tiff write res range
see

https://github.com/jcupitt/libvips/issues/206
2014-12-10 09:23:13 +00:00
John Cupitt aa6c883434 ignore missing class methods in Vips.py
thanks Ben

see https://github.com/jcupitt/libvips/issues/199
2014-12-05 12:50:53 +00:00
John Cupitt ecc0975667 arg another attempt to fix travis 2014-12-05 12:31:15 +00:00
John Cupitt ae51bbd71d try to fix travis again 2014-12-04 23:03:25 +00:00
John Cupitt 76653e9e78 add notes to logs for @density 2014-12-04 21:47:46 +00:00
John Cupitt 31d3f714ca Merge pull request #200 from lovell/magickload-density
Expose 'density' attribute for magickload
2014-12-04 21:43:00 +00:00
John Cupitt 9f0032ac03 maybe this fixes travis 2014-12-04 21:40:38 +00:00
John Cupitt 9ae19ed727 quieter gobject-introspection scan
and make sure gtk-doc.make isn't a symlink
2014-12-04 17:43:41 +00:00
Lovell Fuller 14c8aa33fc Expose 'density' attribute for magickload
Allows control of vector format resolution
2014-12-04 17:01:06 +00:00
John Cupitt f8cca8e59d load and save XMP metadata in tiff
see https://github.com/jcupitt/libvips/issues/198
2014-12-03 09:03:09 +00:00
John Cupitt 90b78fe9c6 remove -pthread from libs
we should get it from cflags, I think
2014-12-01 13:10:02 +00:00
John Cupitt 44122ea880 more .pc changes
see https://github.com/jcupitt/libvips/issues/196
2014-12-01 12:38:49 +00:00
John Cupitt dbc404ed66 fix nip2 build on win
we have to statically link on win if we are using cfitsio ... make sure
-ljpeg gets into the link line, it doesn't have a .pc

https://github.com/jcupitt/libvips/issues/196
2014-11-29 14:32:08 +00:00
John Cupitt a651f4b1b4 add Libs.private to help static link with mingw
see https://github.com/jcupitt/libvips/issues/196
2014-11-29 11:27:36 +00:00
John Cupitt b9aef076d4 don't make the .pc libs list ourselves
see https://github.com/jcupitt/libvips/issues/196

thanks bgilbert
2014-11-29 09:56:59 +00:00
John Cupitt ed6eaa4662 tiny fixes 2014-11-28 17:55:55 +00:00
John Cupitt 9be2d6cc8d improve vipsthumbnail with broken images
if there was an incorrect embedded profile, no fallback import profile,
and an export profile, vipsthumbnail could crash

see https://github.com/jcupitt/libvips/issues/186
2014-11-28 17:54:01 +00:00
John Cupitt ffe90ef38a add .szi as a synonym for .zip
in dzsave
2014-11-26 14:26:57 +00:00
John Cupitt a927c79cd9 update build from git notes 2014-11-26 11:07:10 +00:00
John Cupitt eb692a3624 Merge pull request #195 from homerjam/patch-1
Added note for building on OSX from source (from #179)
2014-11-26 00:07:36 +00:00
homerjam 730e6413b1 Added note for building on OSX from source (from #179) 2014-11-25 23:44:58 +00:00
John Cupitt 4c3461967b duuh fix up misplaced patch 2014-11-25 12:05:04 +00:00
John Cupitt 6bfe9b45b7 Merge branch '7.40' 2014-11-25 12:04:24 +00:00
John Cupitt f66afb78da fix profile handling in XYZ2scRGB
see

https://github.com/lovell/sharp/issues/125
2014-11-25 12:01:13 +00:00
John Cupitt 4b51a9d61f don't strip profiles in XYZ2scRGB
see

https://github.com/lovell/sharp/issues/125
2014-11-25 11:43:48 +00:00
John Cupitt 9a3fcc74c1 oops, README dropped from dist 2014-11-23 14:02:38 +00:00
John Cupitt 3d1469179c add the test_thumbnail script too 2014-11-20 14:36:04 +00:00
John Cupitt fcc790f6c0 better tiled tiff tilecache on write 2014-11-20 13:28:17 +00:00
John Cupitt 037f6cd162 tiles tiff write needs to cache input
to keep it seq, as it promises to be
2014-11-20 10:07:28 +00:00
John Cupitt 810abeea34 small fixups 2014-11-19 17:32:29 +00:00
John Cupitt ee4416040b make a test suite
put the python and non-nip2 bits of the nip2 suite together

some test images too
2014-11-19 15:01:28 +00:00