Commit Graph

3716 Commits

Author SHA1 Message Date
John Cupitt d53e63e50f note 2015-02-05 14:55:40 +00:00
John Cupitt d6dbfea064 much faster RGB16 -> sRGB path 2015-02-04 16:48:25 +00:00
John Cupitt 0c466b9495 don't use isnormal() to test for crazy FP numbers
it fails for 0.0 and for subnormal numbers, thanks Murat Korkmazov
2015-02-04 15:13:11 +00:00
John Cupitt 9d8080c266 better vips_leak output 2015-02-03 14:49:04 +00:00
John Cupitt 0d509604e5 more transfer annotations 2015-02-02 14:55:19 +00:00
John Cupitt e429772ae8 turn on leak testing in python test suite 2015-02-02 11:36:29 +00:00
John Cupitt eb5fee5e65 add lower-level cache access 2015-02-01 17:56:48 +00:00
John Cupitt fb82a1d72a Merge branch 'master' of github.com:jcupitt/libvips 2015-01-30 21:20:48 +00:00
John Cupitt ce557ba6de add VInterpolate wrapper class
to cplusplus, see https://github.com/jcupitt/libvips/issues/230
2015-01-30 21:19:58 +00:00
John Cupitt 4d1104380b try adding a transfer annotation 2015-01-30 13:55:47 +00:00
John Cupitt 230a939521 remove some debugging 2015-01-29 16:59:38 +00:00
John Cupitt ddb43172f3 use new pyvips8 array constant syntax
also add median filter convenience function
2015-01-29 16:41:11 +00:00
John Cupitt 21b4748fe1 support 2D image array constants in py 2015-01-29 14:52:55 +00:00
John Cupitt d6ff5f24c6 all tests done and working
phew
2015-01-29 14:27:18 +00:00
John Cupitt 93ab9fd661 oop, cache fix 2015-01-29 14:13:51 +00:00
John Cupitt 57196ee702 fix an operation cache bug
when testing two operations for equality, need to check that both had an
optional arg set before testing the value
2015-01-29 13:47:14 +00:00
John Cupitt 2a1a371e5c started test_resample.py 2015-01-29 09:29:10 +00:00
John Cupitt c384e2b664 finish morph
and add erode/dilate convenience functions to Vips.py
2015-01-28 21:58:08 +00:00
John Cupitt b2f23c853e fix pydocs snafu 2015-01-28 21:32:32 +00:00
John Cupitt 810fac4785 start morph test 2015-01-28 21:29:06 +00:00
John Cupitt 2ce472a153 test hist funcs 2015-01-28 17:16:14 +00:00
John Cupitt 27f41d9725 add draw tests 2015-01-28 14:53:34 +00:00
John Cupitt 2e61b6ed67 more tests
create is now done, phew
2015-01-28 13:02:38 +00:00
John Cupitt c0c57f3f4a fix up C docs intro 2015-01-28 11:37:16 +00:00
John Cupitt ecf10f85a1 rewrite vips-cli docs
clearer and better formatting
2015-01-28 09:50:15 +00:00
John Cupitt e8f456a7e2 more tests 2015-01-27 21:45:14 +00:00
John Cupitt 4012341d59 Merge pull request #228 from bgilbert/unpremultiply-performance
Improve performance of openslide2vips argb2rgba()
2015-01-27 09:53:52 +00:00
Benjamin Gilbert 6444a52582 avoid some unnecessary shifts 2015-01-27 04:25:02 -05:00
Benjamin Gilbert 3f6f3bd3c1 avoid multiply/divide when converting opaque pixels 2015-01-27 04:24:49 -05:00
John Cupitt 6676b9a24f tiny README updates 2015-01-26 14:58:49 +00:00
John Cupitt 932988d1c0 Merge pull request #224 from lovell/resize-lucky-seven
Ensure resize operation has the required number of temp images
2015-01-22 13:37:22 +00:00
Lovell Fuller 8fbe8c36fa Resize builder uses 7 temp images
Prevents memory leak and possible segfault
2015-01-22 13:27:52 +00:00
John Cupitt 70b60e1dd5 tiny cleanup 2015-01-22 13:19:21 +00:00
John Cupitt d9709119fa oop, leak in vips_resize()
see https://github.com/jcupitt/libvips/issues/217
2015-01-21 13:17:39 +00:00
John Cupitt 0eca68a088 fix vips_resize() C API
oops, see https://github.com/jcupitt/libvips/issues/223
2015-01-21 09:05:36 +00:00
John Cupitt 29d073c04c now compiles cleanly with -Wstrict-prototypes
some downstream packages were seeing lots of spurious warnings
2015-01-21 09:02:56 +00:00
John Cupitt 6ff1d5320b don't call jpeg_finish_decompress()
all it does is verify the trailing bytes in the file

see https://github.com/lovell/sharp/issues/151
2015-01-20 16:55:35 +00:00
John Cupitt 3afbb51365 clearer docs for load from buffer
add a note on buffer lifetime, see https://github.com/lovell/sharp/issues/151
2015-01-20 15:04:17 +00:00
John Cupitt 229636fc66 rename vipsthumbnail -o as -f
-o stays as a hidden flag

see https://github.com/jcupitt/libvips/issues/216
2015-01-20 09:10:36 +00:00
John Cupitt 23071d73ac Merge branch 'master' of github.com:jcupitt/libvips
Conflicts:
	ChangeLog
2015-01-19 22:03:05 +00:00
John Cupitt dbd98ba86c disable chroma subsample in jpeg-tiff if Q>=90
see https://github.com/jcupitt/libvips/issues/218
2015-01-19 22:01:13 +00:00
John Cupitt f1d901a229 try to handle tiffs with 8-bit colormaps
see

https://github.com/jcupitt/libvips/issues/220
2015-01-19 14:52:57 +00:00
John Cupitt c805b382fe vipsthumbnail sets an error on failure
conversion errors are ignored as before, but on final exit vipsthumbnail will
return an error code if one or more of the conversions failed

see https://github.com/jcupitt/libvips/issues/219
2015-01-13 17:31:09 +00:00
John Cupitt 6a327ffde7 Merge branch 'master' of github.com:jcupitt/libvips 2015-01-13 10:06:19 +00:00
John Cupitt 7b76120d78 oop, fix leak in affine
see: https://github.com/jcupitt/libvips/issues/217
2015-01-13 10:05:27 +00:00
John Cupitt 1ddd7faa01 fix up pygobject tests
again
2015-01-12 13:03:51 +00:00
John Cupitt fd16c60f86 try to make vipsthumbnail manpage clearer
see

https://github.com/jcupitt/libvips/issues/216
2015-01-11 09:48:38 +00:00
John Cupitt eda4ed64f1 rename _!PIXEL etc. to help bindings
ruby gobject-introspection hates numbers at the start of _ separated
names
2015-01-07 14:22:13 +00:00
John Cupitt 6f101ae86b remove VImage::scale()
it clashed with the VipsScale operator, see

https://github.com/jcupitt/libvips/pull/213
2015-01-06 12:00:11 +00:00
John Cupitt 6440830315 required C++ output params were broken
see https://github.com/jcupitt/libvips/pull/213

this now works:

        VImage rows;
	VImage cols = in.profile( &rows );
2015-01-06 11:51:53 +00:00