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
John Cupitt
ca9cab48cc
Merge pull request #213 from lovell/doc-pkgconfig-cpp
...
Docs: update pkg-config to use vips8 C++ API
2015-01-05 20:51:04 +00:00
Lovell Fuller
0b34a3403d
Docs: update pkg-config to use vips8 C++ API
2015-01-05 19:43:55 +00:00
John Cupitt
5813b88a52
display ref counts in vips_object_print_all()
2015-01-05 15:17:21 +00:00
John Cupitt
90725b9f5e
more tests
2015-01-05 13:48:35 +00:00
John Cupitt
d0d49caa72
oops, deleted bits of doc/ref by mistake
2015-01-05 13:37:56 +00:00
John Cupitt
3ceec6682f
better error message from getpoint
2015-01-05 13:37:27 +00:00
John Cupitt
ed049b4bf1
add more self-tests
2015-01-04 22:03:08 +00:00
John Cupitt
fd1db58189
rename VipsColourSpace as VipsColourTransform
...
to avoid confusion with VipsColourspace
an internal class, no API change
2015-01-04 21:44:54 +00:00
John Cupitt
ad6f42c869
remove dead proto
...
vips_draw_line_mask() was never implemented .. use
vips__draw_line_direct() instead.
2015-01-02 21:34:34 +00:00
John Cupitt
46d8b93bc3
add file format docs
...
add some docs on the vips file format
2015-01-02 16:35:29 +00:00
John Cupitt
29fa54444e
add a function list to docs
...
lists all C functions and their vips operators
2015-01-02 12:39:20 +00:00
John Cupitt
6c35ae5540
display default and range in usage
...
eg. we now see:
$ vips gamma
gamma an image
usage:
gamma in out
where:
in - Input image, input VipsImage
out - Output image, output VipsImage
optional arguments:
exponent - Gamma factor, input gdouble
default: 2.4
min: 1e-06, max: 1000
operation flags: sequential-unbuffered
2014-12-30 13:16:22 +00:00
John Cupitt
32625146db
cpp can set enums from strings
...
eg.
set("extend", "copy")->
2014-12-30 11:27:04 +00:00
John Cupitt
61cbba4605
remove stray count report
2014-12-27 10:20:01 +00:00
John Cupitt
d077d7c1fc
small stuff
2014-12-27 10:00:01 +00:00
John Cupitt
e93e27cd6e
bump pygobject version check
...
now asks for >=3.12 since we seem to fail on 3.10
see https://github.com/jcupitt/libvips/issues/199
2014-12-27 09:58:51 +00:00
John Cupitt
a43b591e57
Merge pull request #212 from bgilbert/present
...
Drop dependency on Python "future" package
2014-12-27 09:43:53 +00:00
John Cupitt
b01dd59309
fix VipsBlob read
...
oops, forgot the .get()
2014-12-27 09:41:01 +00:00
Benjamin Gilbert
5ed7a24f0c
Drop dependency on Python "future" package
...
It's not widely packaged in Linux distributions, and none of the VIPS
Python code requires Python 3 semantics from any of the builtins future
was replacing.
2014-12-26 21:10:55 -05:00
John Cupitt
01b409bdba
soname bump
...
to reflect changes in vips8 API, see
https://github.com/jcupitt/libvips/issues/211
2014-12-26 16:53:11 +00:00
John Cupitt
366e7e3a5e
add gobject to Requires: line
...
vips C and C++ programs can link directly against things in gobject
without appearing to, for example:
a = VIPS_OBJECT( b );
the macro will expand to include a g_type_check_instance_is_a(). So we
have to have gobject-2.0 in the link line of things like:
g++ -g -Wall hello8.cc `pkg-config vips-cpp --cflags --libs`
see also
https://github.com/jcupitt/libvips/issues/196
2014-12-24 10:10:14 +00:00
John Cupitt
d5f101431b
modernize overrides convention
2014-12-22 11:50:59 +00:00
John Cupitt
1b86de44f4
"make check" works uninstalled
...
and skips tests for missing features
2014-12-22 10:35:26 +00:00
John Cupitt
a560d3b8c2
more osx help
2014-12-20 22:25:19 +00:00
John Cupitt
39c2bf9291
more stuff for homebrew
2014-12-20 17:12:12 +00:00
John Cupitt
932a16b615
improvements to test to help osx
2014-12-20 16:17:44 +00:00
John Cupitt
da007b22e6
fix up introspect program
...
and test with --disable-introspection
2014-12-20 10:28:30 +00:00
John Cupitt
e5b55a9398
try more intro stuff
2014-12-19 17:07:21 +00:00
John Cupitt
cd00d07711
another go at fixing gtk-doc.make
...
discovery! it's copied to the DOCDIR
2014-12-19 09:47:28 +00:00
John Cupitt
ba6f8044af
final doc fixups
...
and update cplusplus binding
2014-12-18 17:20:59 +00:00
John Cupitt
6e6cabb6e0
better pyvips8 notes
2014-12-18 10:25:42 +00:00
John Cupitt
abdd98409d
add configure option for pyvips8
...
it tests for pygobject as well
2014-12-18 09:15:58 +00:00
John Cupitt
d454b9161e
more tests
2014-12-17 21:34:47 +00:00
John Cupitt
dba587916e
fix fastcor for non-uchar images
...
oops, forgot to scale lsk
2014-12-17 17:54:44 +00:00
John Cupitt
59b47f3900
better compt for old vips_gaussmat() code
2014-12-17 10:36:14 +00:00
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