diff -Nru vips-8.6.4/ChangeLog vips-8.6.5/ChangeLog --- vips-8.6.4/ChangeLog 2018-06-13 15:24:52.000000000 +0000 +++ vips-8.6.5/ChangeLog 2018-07-25 09:46:22.000000000 +0000 @@ -1,3 +1,6 @@ +22/7/18 started 8.6.5 +- fix a buffer overflow in the tiff reader [HongxuChen] + 12/3/18 started 8.6.4 - better fitting of fonts with overhanging edges [Adrià] - revise C++ example [fangqiao] diff -Nru vips-8.6.4/configure vips-8.6.5/configure --- vips-8.6.4/configure 2018-06-13 15:32:19.000000000 +0000 +++ vips-8.6.5/configure 2018-07-25 10:06:09.000000000 +0000 @@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.69 for vips 8.6.4. +# Generated by GNU Autoconf 2.69 for vips 8.6.5. # # Report bugs to . # @@ -590,8 +590,8 @@ # Identity of this package. PACKAGE_NAME='vips' PACKAGE_TARNAME='vips' -PACKAGE_VERSION='8.6.4' -PACKAGE_STRING='vips 8.6.4' +PACKAGE_VERSION='8.6.5' +PACKAGE_STRING='vips 8.6.5' PACKAGE_BUGREPORT='vipsip@jiscmail.ac.uk' PACKAGE_URL='' @@ -1612,7 +1612,7 @@ # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF -\`configure' configures vips 8.6.4 to adapt to many kinds of systems. +\`configure' configures vips 8.6.5 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1687,7 +1687,7 @@ if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of vips 8.6.4:";; + short | recursive ) echo "Configuration of vips 8.6.5:";; esac cat <<\_ACEOF @@ -1973,7 +1973,7 @@ test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -vips configure 8.6.4 +vips configure 8.6.5 generated by GNU Autoconf 2.69 Copyright (C) 2012 Free Software Foundation, Inc. @@ -2574,7 +2574,7 @@ This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. -It was created by vips $as_me 8.6.4, which was +It was created by vips $as_me 8.6.5, which was generated by GNU Autoconf 2.69. Invocation command line was $ $0 $@ @@ -3447,7 +3447,7 @@ # Define the identity of the package. PACKAGE='vips' - VERSION='8.6.4' + VERSION='8.6.5' cat >>confdefs.h <<_ACEOF @@ -3553,8 +3553,8 @@ VIPS_MAJOR_VERSION=8 VIPS_MINOR_VERSION=6 -VIPS_MICRO_VERSION=4 -VIPS_VERSION=8.6.4 +VIPS_MICRO_VERSION=5 +VIPS_VERSION=8.6.5 VIPS_VERSION_STRING=$VIPS_VERSION-`date -u -r ChangeLog` # libtool library versioning ... not user-visible (except as part of the @@ -3567,7 +3567,7 @@ # binary interface changes not backwards compatible?: reset age to 0 LIBRARY_CURRENT=50 -LIBRARY_REVISION=3 +LIBRARY_REVISION=4 LIBRARY_AGE=8 # patched into include/vips/version.h @@ -29358,7 +29358,7 @@ # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" -This file was extended by vips $as_me 8.6.4, which was +This file was extended by vips $as_me 8.6.5, which was generated by GNU Autoconf 2.69. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -29424,7 +29424,7 @@ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" ac_cs_version="\\ -vips config.status 8.6.4 +vips config.status 8.6.5 configured by $0, generated by GNU Autoconf 2.69, with options \\"\$ac_cs_config\\" diff -Nru vips-8.6.4/configure.ac vips-8.6.5/configure.ac --- vips-8.6.4/configure.ac 2018-06-13 15:24:52.000000000 +0000 +++ vips-8.6.5/configure.ac 2018-07-25 09:46:22.000000000 +0000 @@ -2,7 +2,7 @@ # also update the version number in the m4 macros below -AC_INIT([vips], [8.6.4], [vipsip@jiscmail.ac.uk]) +AC_INIT([vips], [8.6.5], [vipsip@jiscmail.ac.uk]) # required for gobject-introspection AC_PREREQ(2.62) @@ -18,7 +18,7 @@ # user-visible library versioning m4_define([vips_major_version], [8]) m4_define([vips_minor_version], [6]) -m4_define([vips_micro_version], [4]) +m4_define([vips_micro_version], [5]) m4_define([vips_version], [vips_major_version.vips_minor_version.vips_micro_version]) @@ -38,7 +38,7 @@ # binary interface changes not backwards compatible?: reset age to 0 LIBRARY_CURRENT=50 -LIBRARY_REVISION=3 +LIBRARY_REVISION=4 LIBRARY_AGE=8 # patched into include/vips/version.h diff -Nru vips-8.6.4/debian/changelog vips-8.6.5/debian/changelog --- vips-8.6.4/debian/changelog 2018-07-24 19:17:08.000000000 +0000 +++ vips-8.6.5/debian/changelog 2018-07-26 22:22:33.000000000 +0000 @@ -1,3 +1,11 @@ +vips (8.6.5-1) unstable; urgency=high + + * New upstream release: + - fix a buffer overflow in the tiff reader. + * Update watch file. + + -- Laszlo Boszormenyi (GCS) Thu, 26 Jul 2018 22:22:33 +0000 + vips (8.6.4-1) unstable; urgency=medium * New upstream release (closes: #874759). diff -Nru vips-8.6.4/debian/watch vips-8.6.5/debian/watch --- vips-8.6.4/debian/watch 2018-07-24 19:17:08.000000000 +0000 +++ vips-8.6.5/debian/watch 2018-07-26 22:22:33.000000000 +0000 @@ -1,3 +1,3 @@ version=3 -opts=uversionmangle=s/-alpha(\d+)/~alpha$1/;s/-beta(\d+)/~beta$1/ \ +opts=uversionmangle=s/-([a-zA-Z]+)(\d+)$/~$1$2/ \ https://github.com/jcupitt/libvips/releases .*/releases\/tag/v?(\d\S*) diff -Nru vips-8.6.4/doc/html/extending.html vips-8.6.5/doc/html/extending.html --- vips-8.6.4/doc/html/extending.html 2018-06-13 15:35:15.000000000 +0000 +++ vips-8.6.5/doc/html/extending.html 2018-07-25 10:11:02.000000000 +0000 @@ -37,7 +37,7 @@

All VIPS operations are subclasses of VipsOperation, which in turn - subclasses VipsObject and then GObject. You add an operation to VIPS + subclasses VipsObject and then GObject. You add an operation to VIPS by defining a new subclass of VipsOperation and arranging for its class_init() to be called, perhaps by calling its get_type() function. @@ -80,7 +80,7 @@ operation that's actually in the library.

- GObject has a handy macro to write some of the boilerplate for you. + GObject has a handy macro to write some of the boilerplate for you.

@@ -88,8 +88,8 @@
 

- G_DEFINE_TYPE() defines a function called negative_get_type(), - which registers this new class and returns its GType (a + G_DEFINE_TYPE() defines a function called negative_get_type(), + which registers this new class and returns its GType (a pointer-sized integer). negative_get_type() in turn needs two functions, negative_init(), to initialise a new instance, and negative_class_init(), to initialise a new class. @@ -153,7 +153,7 @@

- In GObject, it needs to set the getters and setters for this class. vips + In GObject, it needs to set the getters and setters for this class. vips has a generic get/set system, so any subclass of VipsObject needs to use the vips ones.

@@ -235,7 +235,7 @@

Next, it creates the output image. This needs to be set with - g_object_set() so that vips can see that it has been assigned. vips + g_object_set() so that vips can see that it has been assigned. vips will also handle the reference counting for you.

@@ -346,7 +346,7 @@

Adding to VIPS

To add the operation to vips, just call negative_get_type(). You can - include the source in your program, or use GModule to make a binary + include the source in your program, or use GModule to make a binary plugin that will be loaded by libvips at startup. There are some example plugins available.

diff -Nru vips-8.6.4/doc/html/func-list.html vips-8.6.5/doc/html/func-list.html --- vips-8.6.4/doc/html/func-list.html 2018-06-13 15:35:15.000000000 +0000 +++ vips-8.6.5/doc/html/func-list.html 2018-07-25 10:11:02.000000000 +0000 @@ -33,7 +33,7 @@

VIPS has a set of operators each of which computes some useful image processing operation. Each operator is - implemented as a GObject class, for example VipsGamma. + implemented as a GObject class, for example VipsGamma. Classes are identified by their unique nickname, in this case gamma. diff -Nru vips-8.6.4/doc/html/index.html vips-8.6.5/doc/html/index.html --- vips-8.6.4/doc/html/index.html 2018-06-13 15:35:15.000000000 +0000 +++ vips-8.6.5/doc/html/index.html 2018-07-25 10:11:02.000000000 +0000 @@ -15,7 +15,7 @@

- For VIPS 8.6.4. + For VIPS 8.6.5. The latest version of this documentation can be found on the VIPS website.

diff -Nru vips-8.6.4/doc/html/libvips-arithmetic.html vips-8.6.5/doc/html/libvips-arithmetic.html --- vips-8.6.4/doc/html/libvips-arithmetic.html 2018-06-13 15:35:15.000000000 +0000 +++ vips-8.6.5/doc/html/libvips-arithmetic.html 2018-07-25 10:11:02.000000000 +0000 @@ -1211,7 +1211,7 @@

...

-

NULL-terminated list of optional named arguments

+

NULL-terminated list of optional named arguments

  @@ -1327,7 +1327,7 @@

...

-

NULL-terminated list of optional named arguments

+

NULL-terminated list of optional named arguments

  @@ -1444,7 +1444,7 @@

...

-

NULL-terminated list of optional named arguments

+

NULL-terminated list of optional named arguments

  @@ -1561,7 +1561,7 @@

...

-

NULL-terminated list of optional named arguments

+

NULL-terminated list of optional named arguments

  @@ -1681,7 +1681,7 @@

...

-

NULL-terminated list of optional named arguments

+

NULL-terminated list of optional named arguments

  @@ -1758,7 +1758,7 @@

...

-

NULL-terminated list of optional named arguments

+

NULL-terminated list of optional named arguments

  @@ -1815,7 +1815,7 @@

...

-

NULL-terminated list of optional named arguments

+

NULL-terminated list of optional named arguments

  @@ -1882,7 +1882,7 @@

...

-

NULL-terminated list of optional named arguments

+

NULL-terminated list of optional named arguments

  @@ -1955,7 +1955,7 @@

...

-

NULL-terminated list of optional named arguments

+

NULL-terminated list of optional named arguments

  @@ -2021,7 +2021,7 @@

...

-

NULL-terminated list of optional named arguments

+

NULL-terminated list of optional named arguments

  @@ -2069,7 +2069,7 @@

...

-

NULL-terminated list of optional named arguments

+

NULL-terminated list of optional named arguments

  @@ -2115,7 +2115,7 @@

...

-

NULL-terminated list of optional named arguments

+

NULL-terminated list of optional named arguments

  @@ -2160,7 +2160,7 @@

...

-

NULL-terminated list of optional named arguments

+

NULL-terminated list of optional named arguments

  @@ -2214,7 +2214,7 @@

...

-

NULL-terminated list of optional named arguments

+

NULL-terminated list of optional named arguments

  @@ -2256,7 +2256,7 @@

...

-

NULL-terminated list of optional named arguments

+

NULL-terminated list of optional named arguments

  @@ -2298,7 +2298,7 @@

...

-

NULL-terminated list of optional named arguments

+

NULL-terminated list of optional named arguments

  @@ -2340,7 +2340,7 @@

...

-

NULL-terminated list of optional named arguments

+

NULL-terminated list of optional named arguments

  @@ -2391,7 +2391,7 @@

...

-

NULL-terminated list of optional named arguments

+

NULL-terminated list of optional named arguments

  @@ -2432,7 +2432,7 @@

...

-

NULL-terminated list of optional named arguments

+

NULL-terminated list of optional named arguments

  @@ -2473,7 +2473,7 @@

...

-

NULL-terminated list of optional named arguments

+

NULL-terminated list of optional named arguments

  @@ -2514,7 +2514,7 @@

...

-

NULL-terminated list of optional named arguments

+

NULL-terminated list of optional named arguments

  @@ -2555,7 +2555,7 @@

...

-

NULL-terminated list of optional named arguments

+

NULL-terminated list of optional named arguments

  @@ -2596,7 +2596,7 @@

...

-

NULL-terminated list of optional named arguments

+

NULL-terminated list of optional named arguments

  @@ -2637,7 +2637,7 @@

...

-

NULL-terminated list of optional named arguments

+

NULL-terminated list of optional named arguments

  @@ -2678,7 +2678,7 @@

...

-

NULL-terminated list of optional named arguments

+

NULL-terminated list of optional named arguments

  @@ -2719,7 +2719,7 @@

...

-

NULL-terminated list of optional named arguments

+

NULL-terminated list of optional named arguments

  @@ -2760,7 +2760,7 @@

...

-

NULL-terminated list of optional named arguments

+

NULL-terminated list of optional named arguments

  @@ -2801,7 +2801,7 @@

...

-

NULL-terminated list of optional named arguments

+

NULL-terminated list of optional named arguments

  @@ -2850,7 +2850,7 @@

...

-

NULL-terminated list of optional named arguments

+

NULL-terminated list of optional named arguments

  @@ -2891,7 +2891,7 @@

...

-

NULL-terminated list of optional named arguments

+

NULL-terminated list of optional named arguments

  @@ -2932,7 +2932,7 @@

...

-

NULL-terminated list of optional named arguments

+

NULL-terminated list of optional named arguments

  @@ -2973,7 +2973,7 @@

...

-

NULL-terminated list of optional named arguments

+

NULL-terminated list of optional named arguments

  @@ -3027,7 +3027,7 @@

...

-

NULL-terminated list of optional named arguments

+

NULL-terminated list of optional named arguments

  @@ -3074,7 +3074,7 @@

...

-

NULL-terminated list of optional named arguments

+

NULL-terminated list of optional named arguments

  @@ -3124,7 +3124,7 @@

...

-

NULL-terminated list of optional named arguments

+

NULL-terminated list of optional named arguments

  @@ -3165,7 +3165,7 @@

...

-

NULL-terminated list of optional named arguments

+

NULL-terminated list of optional named arguments

  @@ -3206,7 +3206,7 @@

...

-

NULL-terminated list of optional named arguments

+

NULL-terminated list of optional named arguments

  @@ -3267,7 +3267,7 @@

...

-

NULL-terminated list of optional named arguments

+

NULL-terminated list of optional named arguments

  @@ -3334,7 +3334,7 @@

...

-

NULL-terminated list of optional named arguments

+

NULL-terminated list of optional named arguments

  @@ -3381,7 +3381,7 @@

...

-

NULL-terminated list of optional named arguments

+

NULL-terminated list of optional named arguments

  @@ -3428,7 +3428,7 @@

...

-

NULL-terminated list of optional named arguments

+

NULL-terminated list of optional named arguments

  @@ -3475,7 +3475,7 @@

...

-

NULL-terminated list of optional named arguments

+

NULL-terminated list of optional named arguments

  @@ -3522,7 +3522,7 @@

...

-

NULL-terminated list of optional named arguments

+

NULL-terminated list of optional named arguments

  @@ -3569,7 +3569,7 @@

...

-

NULL-terminated list of optional named arguments

+

NULL-terminated list of optional named arguments

  @@ -3616,7 +3616,7 @@

...

-

NULL-terminated list of optional named arguments

+

NULL-terminated list of optional named arguments

  @@ -3685,7 +3685,7 @@

...

-

NULL-terminated list of optional named arguments

+

NULL-terminated list of optional named arguments

  @@ -3740,7 +3740,7 @@

...

-

NULL-terminated list of optional named arguments

+

NULL-terminated list of optional named arguments

  @@ -3795,7 +3795,7 @@

...

-

NULL-terminated list of optional named arguments

+

NULL-terminated list of optional named arguments

  @@ -3850,7 +3850,7 @@

...

-

NULL-terminated list of optional named arguments

+

NULL-terminated list of optional named arguments

  @@ -3905,7 +3905,7 @@

...

-

NULL-terminated list of optional named arguments

+

NULL-terminated list of optional named arguments

  @@ -3960,7 +3960,7 @@

...

-

NULL-terminated list of optional named arguments

+

NULL-terminated list of optional named arguments

  @@ -4015,7 +4015,7 @@

...

-

NULL-terminated list of optional named arguments

+

NULL-terminated list of optional named arguments

  @@ -4070,7 +4070,7 @@

...

-

NULL-terminated list of optional named arguments

+

NULL-terminated list of optional named arguments

  @@ -4118,7 +4118,7 @@

...

-

NULL-terminated list of optional named arguments

+

NULL-terminated list of optional named arguments

  @@ -4166,7 +4166,7 @@

...

-

NULL-terminated list of optional named arguments

+

NULL-terminated list of optional named arguments

  @@ -4214,7 +4214,7 @@

...

-

NULL-terminated list of optional named arguments

+

NULL-terminated list of optional named arguments

  @@ -4262,7 +4262,7 @@

...

-

NULL-terminated list of optional named arguments

+

NULL-terminated list of optional named arguments

  @@ -4310,7 +4310,7 @@

...

-

NULL-terminated list of optional named arguments

+

NULL-terminated list of optional named arguments

  @@ -4358,7 +4358,7 @@

...

-

NULL-terminated list of optional named arguments

+

NULL-terminated list of optional named arguments

  @@ -4423,7 +4423,7 @@

...

-

NULL-terminated list of optional named arguments

+

NULL-terminated list of optional named arguments

  @@ -4470,7 +4470,7 @@

...

-

NULL-terminated list of optional named arguments

+

NULL-terminated list of optional named arguments

  @@ -4517,7 +4517,7 @@

...

-

NULL-terminated list of optional named arguments

+

NULL-terminated list of optional named arguments

  @@ -4564,7 +4564,7 @@

...

-

NULL-terminated list of optional named arguments

+

NULL-terminated list of optional named arguments

  @@ -4611,7 +4611,7 @@

...

-

NULL-terminated list of optional named arguments

+

NULL-terminated list of optional named arguments

  @@ -4658,7 +4658,7 @@

...

-

NULL-terminated list of optional named arguments

+

NULL-terminated list of optional named arguments

  @@ -4727,7 +4727,7 @@

...

-

NULL-terminated list of optional named arguments

+

NULL-terminated list of optional named arguments

  @@ -4783,7 +4783,7 @@

...

-

NULL-terminated list of optional named arguments

+

NULL-terminated list of optional named arguments

  @@ -4839,7 +4839,7 @@

...

-

NULL-terminated list of optional named arguments

+

NULL-terminated list of optional named arguments

  @@ -4895,7 +4895,7 @@

...

-

NULL-terminated list of optional named arguments

+

NULL-terminated list of optional named arguments

  @@ -4951,7 +4951,7 @@

...

-

NULL-terminated list of optional named arguments

+

NULL-terminated list of optional named arguments

  @@ -5007,7 +5007,7 @@

...

-

NULL-terminated list of optional named arguments

+

NULL-terminated list of optional named arguments

  @@ -5062,7 +5062,7 @@

...

-

NULL-terminated list of optional named arguments

+

NULL-terminated list of optional named arguments

  @@ -5111,7 +5111,7 @@

...

-

NULL-terminated list of optional named arguments

+

NULL-terminated list of optional named arguments

  @@ -5160,7 +5160,7 @@

...

-

NULL-terminated list of optional named arguments

+

NULL-terminated list of optional named arguments

  @@ -5209,7 +5209,7 @@

...

-

NULL-terminated list of optional named arguments

+

NULL-terminated list of optional named arguments

  @@ -5258,7 +5258,7 @@

...

-

NULL-terminated list of optional named arguments

+

NULL-terminated list of optional named arguments

  @@ -5307,7 +5307,7 @@

...

-

NULL-terminated list of optional named arguments

+

NULL-terminated list of optional named arguments

  @@ -5380,7 +5380,7 @@

...

-

NULL-terminated list of optional named arguments

+

NULL-terminated list of optional named arguments

  @@ -5427,7 +5427,7 @@

...

-

NULL-terminated list of optional named arguments

+

NULL-terminated list of optional named arguments

  @@ -5474,7 +5474,7 @@

...

-

NULL-terminated list of optional named arguments

+

NULL-terminated list of optional named arguments

  @@ -5551,7 +5551,7 @@

...

-

NULL-terminated list of optional named arguments

+

NULL-terminated list of optional named arguments

  @@ -5606,7 +5606,7 @@

...

-

NULL-terminated list of optional named arguments

+

NULL-terminated list of optional named arguments

  @@ -5661,7 +5661,7 @@

...

-

NULL-terminated list of optional named arguments

+

NULL-terminated list of optional named arguments

  @@ -5715,7 +5715,7 @@

...

-

NULL-terminated list of optional named arguments

+

NULL-terminated list of optional named arguments

  @@ -5763,7 +5763,7 @@

...

-

NULL-terminated list of optional named arguments

+

NULL-terminated list of optional named arguments

  @@ -5811,7 +5811,7 @@

...

-

NULL-terminated list of optional named arguments

+

NULL-terminated list of optional named arguments

  @@ -5855,7 +5855,7 @@

...

-

NULL-terminated list of optional named arguments

+

NULL-terminated list of optional named arguments

  @@ -5901,7 +5901,7 @@

...

-

NULL-terminated list of optional named arguments

+

NULL-terminated list of optional named arguments

  @@ -5982,7 +5982,7 @@

...

-

NULL-terminated list of optional named arguments

+

NULL-terminated list of optional named arguments

  @@ -6062,7 +6062,7 @@

...

-

NULL-terminated list of optional named arguments

+

NULL-terminated list of optional named arguments

  @@ -6116,7 +6116,7 @@

...

-

NULL-terminated list of optional named arguments

+

NULL-terminated list of optional named arguments

  @@ -6192,7 +6192,7 @@

...

-

NULL-terminated list of optional named arguments

+

NULL-terminated list of optional named arguments

  @@ -6216,7 +6216,7 @@

Optional arguments:

  • threshold -: gdouble, background / object threshold

  • +: gdouble, background / object threshold

  • background : VipsArrayDouble, background colour

@@ -6278,7 +6278,7 @@

...

-

NULL-terminated list of optional named arguments

+

NULL-terminated list of optional named arguments

  @@ -6303,7 +6303,7 @@

The pixel values are returned in vector , the length of the array in n -. You must free the array with g_free() when you are done with +. You must free the array with g_free() when you are done with it.

See also: vips_draw_point().

[method]

@@ -6343,7 +6343,7 @@

...

-

NULL-terminated list of optional named arguments

+

NULL-terminated list of optional named arguments

  @@ -6396,7 +6396,7 @@

...

-

NULL-terminated list of optional named arguments

+

NULL-terminated list of optional named arguments

  @@ -6447,7 +6447,7 @@

...

-

NULL-terminated list of optional named arguments

+

NULL-terminated list of optional named arguments

  @@ -6516,7 +6516,7 @@

...

-

NULL-terminated list of optional named arguments

+

NULL-terminated list of optional named arguments

  @@ -6577,7 +6577,7 @@

...

-

NULL-terminated list of optional named arguments

+

NULL-terminated list of optional named arguments

  @@ -6648,7 +6648,7 @@

...

-

NULL-terminated list of optional named arguments

+

NULL-terminated list of optional named arguments

  @@ -6699,7 +6699,7 @@

...

-

NULL-terminated list of optional named arguments

+

NULL-terminated list of optional named arguments

  @@ -6753,7 +6753,7 @@

...

-

NULL-terminated list of optional named arguments

+

NULL-terminated list of optional named arguments

  diff -Nru vips-8.6.4/doc/html/libvips-buf.html vips-8.6.5/doc/html/libvips-buf.html --- vips-8.6.4/doc/html/libvips-buf.html 2018-06-13 15:35:15.000000000 +0000 +++ vips-8.6.5/doc/html/libvips-buf.html 2018-07-25 10:11:02.000000000 +0000 @@ -113,7 +113,7 @@ -gboolean +gboolean vips_buf_appendns () @@ -121,7 +121,7 @@ -gboolean +gboolean vips_buf_appends () @@ -129,7 +129,7 @@ -gboolean +gboolean vips_buf_appendf () @@ -137,7 +137,7 @@ -gboolean +gboolean vips_buf_vappendf () @@ -145,7 +145,7 @@ -gboolean +gboolean vips_buf_appendc () @@ -153,7 +153,7 @@ -gboolean +gboolean vips_buf_appendsc () @@ -161,7 +161,7 @@ -gboolean +gboolean vips_buf_appendgv () @@ -169,7 +169,7 @@ -gboolean +gboolean vips_buf_append_size () @@ -177,7 +177,7 @@ -gboolean +gboolean vips_buf_removec () @@ -185,7 +185,7 @@ -gboolean +gboolean vips_buf_change () @@ -193,7 +193,7 @@ -gboolean +gboolean vips_buf_is_empty () @@ -201,7 +201,7 @@ -gboolean +gboolean vips_buf_is_full () @@ -223,7 +223,7 @@ -gboolean +gboolean vips_buf_appendg () @@ -231,7 +231,7 @@ -gboolean +gboolean vips_buf_appendd () @@ -586,7 +586,7 @@

vips_buf_appendns ()

-
gboolean
+
gboolean
 vips_buf_appendns (VipsBuf *buf,
                    const char *str,
                    int sz);
@@ -626,13 +626,13 @@

Returns

-

FALSE on overflow, TRUE otherwise.

+

FALSE on overflow, TRUE otherwise.


vips_buf_appends ()

-
gboolean
+
gboolean
 vips_buf_appends (VipsBuf *buf,
                   const char *str);

Append the whole of str @@ -662,13 +662,13 @@

Returns

-

FALSE on overflow, TRUE otherwise.

+

FALSE on overflow, TRUE otherwise.


vips_buf_appendf ()

-
gboolean
+
gboolean
 vips_buf_appendf (VipsBuf *buf,
                   const char *fmt,
                   ...);
@@ -703,13 +703,13 @@

Returns

-

FALSE on overflow, TRUE otherwise.

+

FALSE on overflow, TRUE otherwise.


vips_buf_vappendf ()

-
gboolean
+
gboolean
 vips_buf_vappendf (VipsBuf *buf,
                    const char *fmt,
                    va_list ap);
@@ -744,13 +744,13 @@

Returns

-

FALSE on overflow, TRUE otherwise.

+

FALSE on overflow, TRUE otherwise.


vips_buf_appendc ()

-
gboolean
+
gboolean
 vips_buf_appendc (VipsBuf *buf,
                   char ch);

Append a single character ch @@ -780,24 +780,24 @@

Returns

-

FALSE on overflow, TRUE otherwise.

+

FALSE on overflow, TRUE otherwise.


vips_buf_appendsc ()

-
gboolean
+
gboolean
 vips_buf_appendsc (VipsBuf *buf,
-                   gboolean quote,
+                   gboolean quote,
                    const char *str);

vips_buf_appendgv ()

-
gboolean
+
gboolean
 vips_buf_appendgv (VipsBuf *buf,
-                   GValue *value);
-

Format and append a GValue as a printable thing. We display text line "3144 + GValue *value);

+

Format and append a GValue as a printable thing. We display text line "3144 bytes of binary data" for BLOBs like icc-profile-data.

Use vips_image_get_as_string() to make a text representation of a field. That will base64-encode blobs, for example.

@@ -817,7 +817,7 @@

value

-

GValue to format and append

+

GValue to format and append

  @@ -825,13 +825,13 @@

Returns

-

FALSE on overflow, TRUE otherwise.

+

FALSE on overflow, TRUE otherwise.


vips_buf_append_size ()

-
gboolean
+
gboolean
 vips_buf_append_size (VipsBuf *buf,
                       size_t n);

Turn a number of bytes into a sensible string ... eg "12", "12KB", "12MB", @@ -860,13 +860,13 @@

Returns

-

FALSE on overflow, TRUE otherwise.

+

FALSE on overflow, TRUE otherwise.


vips_buf_removec ()

-
gboolean
+
gboolean
 vips_buf_removec (VipsBuf *buf,
                   char ch);

Remove the last character, if it's ch @@ -895,13 +895,13 @@

Returns

-

FALSE on failure, TRUE otherwise.

+

FALSE on failure, TRUE otherwise.


vips_buf_change ()

-
gboolean
+
gboolean
 vips_buf_change (VipsBuf *buf,
                  const char *o,
                  const char *n);
@@ -937,13 +937,13 @@

Returns

-

FALSE on overflow, TRUE otherwise.

+

FALSE on overflow, TRUE otherwise.


vips_buf_is_empty ()

-
gboolean
+
gboolean
 vips_buf_is_empty (VipsBuf *buf);

Parameters

@@ -962,13 +962,13 @@

Returns

-

TRUE if the buffer is empty.

+

TRUE if the buffer is empty.


vips_buf_is_full ()

-
gboolean
+
gboolean
 vips_buf_is_full (VipsBuf *buf);

Parameters

@@ -987,7 +987,7 @@

Returns

-

TRUE if the buffer is full.

+

TRUE if the buffer is full.


@@ -1013,7 +1013,7 @@

Returns

-

the NULL-terminated contents of the buffer. This is a pointer to +

the NULL-terminated contents of the buffer. This is a pointer to the memory managed by the buffer and must not be freed.

@@ -1040,14 +1040,14 @@

Returns

-

the NULL-terminated contents of the buffer. This is a pointer to +

the NULL-terminated contents of the buffer. This is a pointer to the memory managed by the buffer and must not be freed.


vips_buf_appendg ()

-
gboolean
+
gboolean
 vips_buf_appendg (VipsBuf *buf,
                   double g);

Append a double, non-localised. Useful for config files etc.

@@ -1075,13 +1075,13 @@

Returns

-

FALSE on overflow, TRUE otherwise.

+

FALSE on overflow, TRUE otherwise.


vips_buf_appendd ()

-
gboolean
+
gboolean
 vips_buf_appendd (VipsBuf *buf,
                   int d);

Append a number. If the number is -ve, add brackets. Needed for @@ -1110,7 +1110,7 @@

Returns

-

FALSE on overflow, TRUE otherwise.

+

FALSE on overflow, TRUE otherwise.


diff -Nru vips-8.6.4/doc/html/libvips-colour.html vips-8.6.5/doc/html/libvips-colour.html --- vips-8.6.4/doc/html/libvips-colour.html 2018-06-13 15:35:15.000000000 +0000 +++ vips-8.6.5/doc/html/libvips-colour.html 2018-07-25 10:11:02.000000000 +0000 @@ -51,7 +51,7 @@ -gboolean +gboolean vips_colourspace_issupported () @@ -769,7 +769,7 @@

Functions

vips_colourspace_issupported ()

-
gboolean
+
gboolean
 vips_colourspace_issupported (const VipsImage *image);

Test if image is in a colourspace that vips_colourspace() can process. For @@ -792,7 +792,7 @@

Returns

-

TRUE if image +

TRUE if image is in a supported colourspace.

@@ -846,7 +846,7 @@

...

-

NULL-terminated list of optional named arguments

+

NULL-terminated list of optional named arguments

  @@ -888,7 +888,7 @@

...

-

NULL-terminated list of optional named arguments

+

NULL-terminated list of optional named arguments

  @@ -930,7 +930,7 @@

...

-

NULL-terminated list of optional named arguments

+

NULL-terminated list of optional named arguments

  @@ -972,7 +972,7 @@

...

-

NULL-terminated list of optional named arguments

+

NULL-terminated list of optional named arguments

  @@ -1014,7 +1014,7 @@

...

-

NULL-terminated list of optional named arguments

+

NULL-terminated list of optional named arguments

  @@ -1056,7 +1056,7 @@

...

-

NULL-terminated list of optional named arguments

+

NULL-terminated list of optional named arguments

  @@ -1098,7 +1098,7 @@

...

-

NULL-terminated list of optional named arguments

+

NULL-terminated list of optional named arguments

  @@ -1140,7 +1140,7 @@

...

-

NULL-terminated list of optional named arguments

+

NULL-terminated list of optional named arguments

  @@ -1181,7 +1181,7 @@

...

-

NULL-terminated list of optional named arguments

+

NULL-terminated list of optional named arguments

  @@ -1222,7 +1222,7 @@

...

-

NULL-terminated list of optional named arguments

+

NULL-terminated list of optional named arguments

  @@ -1284,7 +1284,7 @@

...

-

NULL-terminated list of optional named arguments

+

NULL-terminated list of optional named arguments

  @@ -1330,7 +1330,7 @@

...

-

NULL-terminated list of optional named arguments

+

NULL-terminated list of optional named arguments

  @@ -1371,7 +1371,7 @@

...

-

NULL-terminated list of optional named arguments

+

NULL-terminated list of optional named arguments

  @@ -1420,7 +1420,7 @@

...

-

NULL-terminated list of optional named arguments

+

NULL-terminated list of optional named arguments

  @@ -1469,7 +1469,7 @@

...

-

NULL-terminated list of optional named arguments

+

NULL-terminated list of optional named arguments

  @@ -1514,7 +1514,7 @@

...

-

NULL-terminated list of optional named arguments

+

NULL-terminated list of optional named arguments

  @@ -1555,7 +1555,7 @@

...

-

NULL-terminated list of optional named arguments

+

NULL-terminated list of optional named arguments

  @@ -1600,7 +1600,7 @@

...

-

NULL-terminated list of optional named arguments

+

NULL-terminated list of optional named arguments

  @@ -1645,7 +1645,7 @@

...

-

NULL-terminated list of optional named arguments

+

NULL-terminated list of optional named arguments

  @@ -1694,7 +1694,7 @@

...

-

NULL-terminated list of optional named arguments

+

NULL-terminated list of optional named arguments

  @@ -1736,7 +1736,7 @@

...

-

NULL-terminated list of optional named arguments

+

NULL-terminated list of optional named arguments

  @@ -1777,7 +1777,7 @@

...

-

NULL-terminated list of optional named arguments

+

NULL-terminated list of optional named arguments

  @@ -1818,7 +1818,7 @@

...

-

NULL-terminated list of optional named arguments

+

NULL-terminated list of optional named arguments

  @@ -1860,7 +1860,7 @@

...

-

NULL-terminated list of optional named arguments

+

NULL-terminated list of optional named arguments

  @@ -1902,7 +1902,7 @@

...

-

NULL-terminated list of optional named arguments

+

NULL-terminated list of optional named arguments

  @@ -1955,7 +1955,7 @@ You can test for the presence of an embedded profile with vips_image_get_typeof() with VIPS_META_ICC_NAME as an argument. This will -return GType 0 if there is no profile.

+return GType 0 if there is no profile.

If embedded is not set, the input profile is taken from input_profile @@ -1993,7 +1993,7 @@

...

-

NULL-terminated list of optional named arguments

+

NULL-terminated list of optional named arguments

  @@ -2033,7 +2033,7 @@ You can test for the presence of an embedded profile with vips_image_get_typeof() with VIPS_META_ICC_NAME as an argument. This will -return GType 0 if there is no profile.

+return GType 0 if there is no profile.

If embedded is not set, the input profile is taken from input_profile @@ -2062,7 +2062,7 @@

...

-

NULL-terminated list of optional named arguments

+

NULL-terminated list of optional named arguments

  @@ -2122,7 +2122,7 @@

...

-

NULL-terminated list of optional named arguments

+

NULL-terminated list of optional named arguments

  @@ -2211,7 +2211,7 @@

...

-

NULL-terminated list of optional named arguments

+

NULL-terminated list of optional named arguments

  @@ -2257,7 +2257,7 @@

...

-

NULL-terminated list of optional named arguments

+

NULL-terminated list of optional named arguments

  @@ -2308,7 +2308,7 @@

...

-

NULL-terminated list of optional named arguments

+

NULL-terminated list of optional named arguments

  diff -Nru vips-8.6.4/doc/html/libvips-conversion.html vips-8.6.5/doc/html/libvips-conversion.html --- vips-8.6.4/doc/html/libvips-conversion.html 2018-06-13 15:35:15.000000000 +0000 +++ vips-8.6.5/doc/html/libvips-conversion.html 2018-07-25 10:11:02.000000000 +0000 @@ -642,11 +642,11 @@

Optional arguments:

  • width -: gint, set image width

  • +: gint, set image width

  • height -: gint, set image height

  • +: gint, set image height

  • bands -: gint, set image bands

  • +: gint, set image bands

  • format : VipsBandFormat, set image format

  • coding @@ -654,13 +654,13 @@

  • interpretation : VipsInterpretation, set image interpretation

  • xres -: gdouble, set image xres

  • +: gdouble, set image xres

  • yres -: gdouble, set image yres

  • +: gdouble, set image yres

  • xoffset -: gint, set image xoffset

  • +: gint, set image xoffset

  • yoffset -: gint, set image yoffset

  • +: gint, set image yoffset

Copy an image, optionally modifying the header. VIPS copies images by copying pointers, so this operation is instant, even for very large images.

@@ -691,7 +691,7 @@

...

-

NULL-terminated list of optional named arguments

+

NULL-terminated list of optional named arguments

  @@ -749,11 +749,11 @@ defaults to VIPS_ACCESS_RANDOM.

Normally, only a single thread at once is allowed to calculate tiles. If you set threaded - to TRUE, vips_tilecache() will allow many threads to + to TRUE, vips_tilecache() will allow many threads to calculate tiles at once, and share the cache between them.

Normally the cache is dropped when computation finishes. Set persistent to -TRUE to keep the cache between computations.

+TRUE to keep the cache between computations.

See also: vips_cache(), vips_linecache().

[method]

@@ -777,7 +777,7 @@

...

-

NULL-terminated list of optional named arguments

+

NULL-terminated list of optional named arguments

  @@ -824,7 +824,7 @@ vips_linecache() uses. The default is 1 (a single scanline).

Normally, only a single thread at once is allowed to calculate tiles. If you set threaded - to TRUE, vips_linecache() will allow many threads to + to TRUE, vips_linecache() will allow many threads to calculate tiles at once and share the cache between them.

See also: vips_cache(), vips_tilecache().

[method]

@@ -849,7 +849,7 @@

...

-

NULL-terminated list of optional named arguments

+

NULL-terminated list of optional named arguments

  @@ -903,7 +903,7 @@

...

-

NULL-terminated list of optional named arguments

+

NULL-terminated list of optional named arguments

  @@ -971,7 +971,7 @@

...

-

NULL-terminated list of optional named arguments

+

NULL-terminated list of optional named arguments

  @@ -1018,7 +1018,7 @@

...

-

NULL-terminated list of optional named arguments

+

NULL-terminated list of optional named arguments

  @@ -1106,7 +1106,7 @@

...

-

NULL-terminated list of optional named arguments

+

NULL-terminated list of optional named arguments

  @@ -1183,7 +1183,7 @@

...

-

NULL-terminated list of optional named arguments

+

NULL-terminated list of optional named arguments

  @@ -1231,7 +1231,7 @@

...

-

NULL-terminated list of optional named arguments

+

NULL-terminated list of optional named arguments

  @@ -1267,7 +1267,7 @@

Normally out shows the whole of main . If expand - is TRUE then out + is TRUE then out is made large enough to hold all of main and sub @@ -1331,7 +1331,7 @@

...

-

NULL-terminated list of optional named arguments

+

NULL-terminated list of optional named arguments

  @@ -1354,7 +1354,7 @@

Optional arguments:

  • expand -: TRUE to expand the output image to hold all of the input pixels

  • +: TRUE to expand the output image to hold all of the input pixels

  • shim : space between images, in pixels

  • background @@ -1370,7 +1370,7 @@

    If one is taller or wider than the other, out will be has high as the smaller. If expand - is TRUE, then + is TRUE, then the output will be expanded to contain all of the input pixels.

    Use align to set the edge that the images align on. By default, they align @@ -1424,7 +1424,7 @@

    ...

    -

    NULL-terminated list of optional named arguments

    +

    NULL-terminated list of optional named arguments

      @@ -1446,9 +1446,9 @@

    Optional arguments:

    • across -: gint, number of images per row

    • +: gint, number of images per row

    • shim -: gint, space between images, in pixels

    • +: gint, space between images, in pixels

    • background : VipsArrayDouble, background ink colour

    • halign @@ -1456,9 +1456,9 @@

    • valign : VipsAlign, low, centre or high alignment

    • hspacing -: gint, horizontal distance between images

    • +: gint, horizontal distance between images

    • vspacing -: gint, vertical distance between images

    • +: gint, vertical distance between images

    Lay out the images in in in a grid. The grid is across @@ -1519,7 +1519,7 @@

    ...

    -

    NULL-terminated list of optional named arguments

    +

    NULL-terminated list of optional named arguments

      @@ -1586,7 +1586,7 @@

    ...

    -

    NULL-terminated list of optional named arguments

    +

    NULL-terminated list of optional named arguments

      @@ -1652,7 +1652,7 @@

    ...

    -

    NULL-terminated list of optional named arguments

    +

    NULL-terminated list of optional named arguments

      @@ -1715,7 +1715,7 @@

    ...

    -

    NULL-terminated list of optional named arguments

    +

    NULL-terminated list of optional named arguments

      @@ -1766,7 +1766,7 @@

    ...

    -

    NULL-terminated list of optional named arguments

    +

    NULL-terminated list of optional named arguments

      @@ -1820,7 +1820,7 @@

    ...

    -

    NULL-terminated list of optional named arguments

    +

    NULL-terminated list of optional named arguments

      @@ -1895,7 +1895,7 @@

    ...

    -

    NULL-terminated list of optional named arguments

    +

    NULL-terminated list of optional named arguments

      @@ -1950,7 +1950,7 @@

    ...

    -

    NULL-terminated list of optional named arguments

    +

    NULL-terminated list of optional named arguments

      @@ -2001,7 +2001,7 @@

    ...

    -

    NULL-terminated list of optional named arguments

    +

    NULL-terminated list of optional named arguments

      @@ -2043,7 +2043,7 @@

    ...

    -

    NULL-terminated list of optional named arguments

    +

    NULL-terminated list of optional named arguments

      @@ -2086,7 +2086,7 @@

    ...

    -

    NULL-terminated list of optional named arguments

    +

    NULL-terminated list of optional named arguments

      @@ -2129,7 +2129,7 @@

    ...

    -

    NULL-terminated list of optional named arguments

    +

    NULL-terminated list of optional named arguments

      @@ -2178,7 +2178,7 @@

    ...

    -

    NULL-terminated list of optional named arguments

    +

    NULL-terminated list of optional named arguments

      @@ -2284,7 +2284,7 @@

    ...

    -

    NULL-terminated list of optional named arguments

    +

    NULL-terminated list of optional named arguments

      @@ -2339,7 +2339,7 @@

    ...

    -

    NULL-terminated list of optional named arguments

    +

    NULL-terminated list of optional named arguments

      @@ -2405,7 +2405,7 @@

    ...

    -

    NULL-terminated list of optional named arguments

    +

    NULL-terminated list of optional named arguments

      @@ -2426,14 +2426,14 @@ ...);

    Optional arguments:

    • shift -: gboolean, integer values are shifted

    +: gboolean, integer values are shifted

Convert in to format . You can convert between any pair of formats. Floats are truncated (not rounded). Out of range values are clipped.

Casting from complex to real returns the real part.

If shift - is TRUE, integer values are shifted up and down. For example, + is TRUE, integer values are shifted up and down. For example, casting from unsigned 8 bit to unsigned 16 bit would shift every value left by 8 bits. The bottom bit is copied into the new bits, so 255 would become 65535.

@@ -2466,7 +2466,7 @@

...

-

NULL-terminated list of optional named arguments

+

NULL-terminated list of optional named arguments

  @@ -2508,7 +2508,7 @@

...

-

NULL-terminated list of optional named arguments

+

NULL-terminated list of optional named arguments

  @@ -2550,7 +2550,7 @@

...

-

NULL-terminated list of optional named arguments

+

NULL-terminated list of optional named arguments

  @@ -2592,7 +2592,7 @@

...

-

NULL-terminated list of optional named arguments

+

NULL-terminated list of optional named arguments

  @@ -2634,7 +2634,7 @@

...

-

NULL-terminated list of optional named arguments

+

NULL-terminated list of optional named arguments

  @@ -2676,7 +2676,7 @@

...

-

NULL-terminated list of optional named arguments

+

NULL-terminated list of optional named arguments

  @@ -2718,7 +2718,7 @@

...

-

NULL-terminated list of optional named arguments

+

NULL-terminated list of optional named arguments

  @@ -2760,7 +2760,7 @@

...

-

NULL-terminated list of optional named arguments

+

NULL-terminated list of optional named arguments

  @@ -2802,7 +2802,7 @@

...

-

NULL-terminated list of optional named arguments

+

NULL-terminated list of optional named arguments

  @@ -2844,7 +2844,7 @@

...

-

NULL-terminated list of optional named arguments

+

NULL-terminated list of optional named arguments

  @@ -2886,7 +2886,7 @@

...

-

NULL-terminated list of optional named arguments

+

NULL-terminated list of optional named arguments

  @@ -2942,7 +2942,7 @@

...

-

NULL-terminated list of optional named arguments

+

NULL-terminated list of optional named arguments

  @@ -2962,7 +2962,7 @@ ...);

Optional arguments:

  • band -: gint, msb just this band

+: gint, msb just this band

Turn any integer image to 8-bit unsigned char by discarding all but the most significant byte. Signed values are converted to unsigned by adding 128.

Use band @@ -2991,7 +2991,7 @@

...

-

NULL-terminated list of optional named arguments

+

NULL-terminated list of optional named arguments

  @@ -3033,7 +3033,7 @@

...

-

NULL-terminated list of optional named arguments

+

NULL-terminated list of optional named arguments

  @@ -3089,7 +3089,7 @@

...

-

NULL-terminated list of optional named arguments

+

NULL-terminated list of optional named arguments

  @@ -3135,7 +3135,7 @@

...

-

NULL-terminated list of optional named arguments

+

NULL-terminated list of optional named arguments

  @@ -3189,7 +3189,7 @@

...

-

NULL-terminated list of optional named arguments

+

NULL-terminated list of optional named arguments

  @@ -3236,7 +3236,7 @@

...

-

NULL-terminated list of optional named arguments

+

NULL-terminated list of optional named arguments

  @@ -3301,7 +3301,7 @@

...

-

NULL-terminated list of optional named arguments

+

NULL-terminated list of optional named arguments

  @@ -3351,7 +3351,7 @@

...

-

NULL-terminated list of optional named arguments

+

NULL-terminated list of optional named arguments

  @@ -3401,7 +3401,7 @@

...

-

NULL-terminated list of optional named arguments

+

NULL-terminated list of optional named arguments

  @@ -3459,7 +3459,7 @@

...

-

NULL-terminated list of optional named arguments

+

NULL-terminated list of optional named arguments

  @@ -3501,7 +3501,7 @@

...

-

NULL-terminated list of optional named arguments

+

NULL-terminated list of optional named arguments

  @@ -3543,7 +3543,7 @@

...

-

NULL-terminated list of optional named arguments

+

NULL-terminated list of optional named arguments

  @@ -3585,7 +3585,7 @@

...

-

NULL-terminated list of optional named arguments

+

NULL-terminated list of optional named arguments

  @@ -3630,7 +3630,7 @@

...

-

NULL-terminated list of optional named arguments

+

NULL-terminated list of optional named arguments

  @@ -3690,7 +3690,7 @@

...

-

NULL-terminated list of optional named arguments

+

NULL-terminated list of optional named arguments

  @@ -3734,7 +3734,7 @@

If the images differ in size, the smaller images are enlarged to match the largest by adding zero pixels along the bottom and right.

If blend - is TRUE, then values in out + is TRUE, then values in out are smoothly blended between in1 and in2 @@ -3777,7 +3777,7 @@

...

-

NULL-terminated list of optional named arguments

+

NULL-terminated list of optional named arguments

  @@ -3800,7 +3800,7 @@
  • background : VipsArrayDouble colour for new pixels

  • max_alpha -: gdouble, maximum value for alpha

  • +: gdouble, maximum value for alpha

    Take the last band of in as an alpha and use it to blend the @@ -3841,7 +3841,7 @@

    ...

    -

    NULL-terminated list of optional named arguments

    +

    NULL-terminated list of optional named arguments

      @@ -3869,7 +3869,7 @@ ...);

    Optional arguments:

    • max_alpha -: gdouble, maximum value for alpha

    +: gdouble, maximum value for alpha

    Premultiplies any alpha channel. The final band is taken to be the alpha and the bands are transformed as:

    @@ -3924,7 +3924,7 @@

    ...

    -

    NULL-terminated list of optional named arguments

    +

    NULL-terminated list of optional named arguments

      @@ -3944,7 +3944,7 @@ ...);

    Optional arguments:

    • max_alpha -: gdouble, maximum value for alpha

    +: gdouble, maximum value for alpha

    Unpremultiplies any alpha channel. The final band is taken to be the alpha and the bands are transformed as:

    @@ -4005,7 +4005,7 @@

    ...

    -

    NULL-terminated list of optional named arguments

    +

    NULL-terminated list of optional named arguments

      @@ -4030,7 +4030,7 @@
  • compositing_space : VipsInterpretation to composite in

  • premultiplied -: gboolean, images are already premultiplied

  • +: gboolean, images are already premultiplied

    Composite an array of images together.

    Images are placed in a stack, with in @@ -4093,7 +4093,7 @@

    ...

    -

    NULL-terminated list of optional named arguments

    +

    NULL-terminated list of optional named arguments

      @@ -4149,7 +4149,7 @@

    ...

    -

    NULL-terminated list of optional named arguments

    +

    NULL-terminated list of optional named arguments

      @@ -4195,7 +4195,7 @@

    ...

    -

    NULL-terminated list of optional named arguments

    +

    NULL-terminated list of optional named arguments

      @@ -4243,7 +4243,7 @@

    ...

    -

    NULL-terminated list of optional named arguments

    +

    NULL-terminated list of optional named arguments

      diff -Nru vips-8.6.4/doc/html/libvips-convolution.html vips-8.6.5/doc/html/libvips-convolution.html --- vips-8.6.4/doc/html/libvips-convolution.html 2018-06-13 15:35:15.000000000 +0000 +++ vips-8.6.5/doc/html/libvips-convolution.html 2018-07-25 10:11:02.000000000 +0000 @@ -177,9 +177,9 @@
  • precision : VipsPrecision, calculation accuracy

  • layers -: gint, number of layers for approximation

  • +: gint, number of layers for approximation

  • cluster -: gint, cluster lines closer than this distance

  • +: gint, cluster lines closer than this distance

    Convolution.

    Perform a convolution of in @@ -265,7 +265,7 @@

    ...

    -

    NULL-terminated list of optional named arguments

    +

    NULL-terminated list of optional named arguments

      @@ -326,7 +326,7 @@

    ...

    -

    NULL-terminated list of optional named arguments

    +

    NULL-terminated list of optional named arguments

      @@ -395,7 +395,7 @@

    ...

    -

    NULL-terminated list of optional named arguments

    +

    NULL-terminated list of optional named arguments

      @@ -417,9 +417,9 @@

    Optional arguments:

    • layers -: gint, number of layers for approximation

    • +: gint, number of layers for approximation

    • cluster -: gint, cluster lines closer than this distance

    • +: gint, cluster lines closer than this distance

    Perform an approximate integer convolution of in with mask @@ -470,7 +470,7 @@

    ...

    -

    NULL-terminated list of optional named arguments

    +

    NULL-terminated list of optional named arguments

      @@ -536,7 +536,7 @@

    ...

    -

    NULL-terminated list of optional named arguments

    +

    NULL-terminated list of optional named arguments

      @@ -557,7 +557,7 @@ ...);

    Optional arguments:

    • layers -: gint, number of layers for approximation

    +: gint, number of layers for approximation

    Approximate separable integer convolution. This is a low-level operation, see vips_convsep() for something more convenient.

    The image is convolved twice: once with mask @@ -607,7 +607,7 @@

    ...

    -

    NULL-terminated list of optional named arguments

    +

    NULL-terminated list of optional named arguments

      @@ -629,7 +629,7 @@

    Optional arguments:

    • times -: gint, how many times to rotate and convolve

    • +: gint, how many times to rotate and convolve

    • angle : VipsAngle45, rotate mask by this much between colvolutions

    • combine @@ -637,9 +637,9 @@

    • precision : VipsPrecision, precision for blur, default float

    • layers -: gint, number of layers for approximation

    • +: gint, number of layers for approximation

    • cluster -: gint, cluster lines closer than this distance

    • +: gint, cluster lines closer than this distance

    This convolves in with mask @@ -677,7 +677,7 @@

    ...

    -

    NULL-terminated list of optional named arguments

    +

    NULL-terminated list of optional named arguments

      @@ -736,7 +736,7 @@

    ...

    -

    NULL-terminated list of optional named arguments

    +

    NULL-terminated list of optional named arguments

      @@ -878,7 +878,7 @@

    ...

    -

    NULL-terminated list of optional named arguments

    +

    NULL-terminated list of optional named arguments

      @@ -963,7 +963,7 @@

    ...

    -

    NULL-terminated list of optional named arguments

    +

    NULL-terminated list of optional named arguments

      @@ -1026,7 +1026,7 @@

    ...

    -

    NULL-terminated list of optional named arguments

    +

    NULL-terminated list of optional named arguments

      diff -Nru vips-8.6.4/doc/html/libvips-create.html vips-8.6.5/doc/html/libvips-create.html --- vips-8.6.4/doc/html/libvips-create.html 2018-06-13 15:35:15.000000000 +0000 +++ vips-8.6.5/doc/html/libvips-create.html 2018-07-25 10:11:02.000000000 +0000 @@ -319,7 +319,7 @@

    ...

    -

    NULL-terminated list of optional named arguments

    +

    NULL-terminated list of optional named arguments

      @@ -385,7 +385,7 @@

    ...

    -

    NULL-terminated list of optional named arguments

    +

    NULL-terminated list of optional named arguments

      @@ -439,7 +439,7 @@

    ...

    -

    NULL-terminated list of optional named arguments

    +

    NULL-terminated list of optional named arguments

      @@ -513,7 +513,7 @@

    ...

    -

    NULL-terminated list of optional named arguments

    +

    NULL-terminated list of optional named arguments

      @@ -593,7 +593,7 @@

    ...

    -

    NULL-terminated list of optional named arguments

    +

    NULL-terminated list of optional named arguments

      @@ -614,19 +614,19 @@

    Optional arguments:

    • font -: gchararray, font to render with

    • +: gchararray, font to render with

    • width -: gint, image should be no wider than this many pixels

    • +: gint, image should be no wider than this many pixels

    • height -: gint, image should be no higher than this many pixels

    • +: gint, image should be no higher than this many pixels

    • align : VipsAlign, left/centre/right alignment

    • dpi -: gint, render at this resolution

    • +: gint, render at this resolution

    • autofit_dpi -: gint, read out auto-fitted DPI

    • +: gint, read out auto-fitted DPI

    • spacing -: gint, space lines by this in points

    • +: gint, space lines by this in points

    Draw the string text to an image. out @@ -687,7 +687,7 @@

    ...

    -

    NULL-terminated list of optional named arguments

    +

    NULL-terminated list of optional named arguments

      @@ -743,7 +743,7 @@

    ...

    -

    NULL-terminated list of optional named arguments

    +

    NULL-terminated list of optional named arguments

      @@ -802,7 +802,7 @@

    ...

    -

    NULL-terminated list of optional named arguments

    +

    NULL-terminated list of optional named arguments

      @@ -869,7 +869,7 @@

    ...

    -

    NULL-terminated list of optional named arguments

    +

    NULL-terminated list of optional named arguments

      @@ -921,7 +921,7 @@

    ...

    -

    NULL-terminated list of optional named arguments

    +

    NULL-terminated list of optional named arguments

      @@ -943,7 +943,7 @@
  • bands : number of bands to create

  • ushort -: TRUE for an unsigned short identity

  • +: TRUE for an unsigned short identity

  • size : number of LUT elements for a ushort image

  • @@ -974,7 +974,7 @@

    ...

    -

    NULL-terminated list of optional named arguments

    +

    NULL-terminated list of optional named arguments

      @@ -1070,7 +1070,7 @@

    ...

    -

    NULL-terminated list of optional named arguments

    +

    NULL-terminated list of optional named arguments

      @@ -1160,7 +1160,7 @@

    ...

    -

    NULL-terminated list of optional named arguments

    +

    NULL-terminated list of optional named arguments

      @@ -1230,7 +1230,7 @@

    ...

    -

    NULL-terminated list of optional named arguments

    +

    NULL-terminated list of optional named arguments

      @@ -1320,7 +1320,7 @@

    ...

    -

    NULL-terminated list of optional named arguments

    +

    NULL-terminated list of optional named arguments

      @@ -1396,7 +1396,7 @@

    ...

    -

    NULL-terminated list of optional named arguments

    +

    NULL-terminated list of optional named arguments

      @@ -1477,7 +1477,7 @@

    ...

    -

    NULL-terminated list of optional named arguments

    +

    NULL-terminated list of optional named arguments

      @@ -1561,7 +1561,7 @@

    ...

    -

    NULL-terminated list of optional named arguments

    +

    NULL-terminated list of optional named arguments

      @@ -1653,7 +1653,7 @@

    ...

    -

    NULL-terminated list of optional named arguments

    +

    NULL-terminated list of optional named arguments

      @@ -1750,7 +1750,7 @@

    ...

    -

    NULL-terminated list of optional named arguments

    +

    NULL-terminated list of optional named arguments

      @@ -1822,7 +1822,7 @@

    ...

    -

    NULL-terminated list of optional named arguments

    +

    NULL-terminated list of optional named arguments

      @@ -1902,7 +1902,7 @@

    ...

    -

    NULL-terminated list of optional named arguments

    +

    NULL-terminated list of optional named arguments

      @@ -1989,7 +1989,7 @@

    ...

    -

    NULL-terminated list of optional named arguments

    +

    NULL-terminated list of optional named arguments

      @@ -2054,7 +2054,7 @@

    ...

    -

    NULL-terminated list of optional named arguments

    +

    NULL-terminated list of optional named arguments

      @@ -2111,7 +2111,7 @@

    ...

    -

    NULL-terminated list of optional named arguments

    +

    NULL-terminated list of optional named arguments

      @@ -2132,7 +2132,7 @@ ...);

    Optional arguments:

    • cell_size -: gint, size of Worley cells

    +: gint, size of Worley cells

    Create a one-band float image of Worley noise. See:

    https://en.wikipedia.org/wiki/Worley_noise

    Use cell_size @@ -2169,7 +2169,7 @@

    ...

    -

    NULL-terminated list of optional named arguments

    +

    NULL-terminated list of optional named arguments

      @@ -2191,7 +2191,7 @@

    Optional arguments:

    • cell_size -: gint, size of Perlin cells

    • +: gint, size of Perlin cells

    • uchar : output a uchar image

    @@ -2234,7 +2234,7 @@

    ...

    -

    NULL-terminated list of optional named arguments

    +

    NULL-terminated list of optional named arguments

      diff -Nru vips-8.6.4/doc/html/libvips-draw.html vips-8.6.5/doc/html/libvips-draw.html --- vips-8.6.4/doc/html/libvips-draw.html 2018-06-13 15:35:15.000000000 +0000 +++ vips-8.6.5/doc/html/libvips-draw.html 2018-07-25 10:11:02.000000000 +0000 @@ -277,7 +277,7 @@

    ...

    -

    NULL-terminated list of optional named arguments

    +

    NULL-terminated list of optional named arguments

      @@ -347,7 +347,7 @@

    ...

    -

    NULL-terminated list of optional named arguments

    +

    NULL-terminated list of optional named arguments

      @@ -409,7 +409,7 @@

    ...

    -

    NULL-terminated list of optional named arguments

    +

    NULL-terminated list of optional named arguments

      @@ -464,7 +464,7 @@

    ...

    -

    NULL-terminated list of optional named arguments

    +

    NULL-terminated list of optional named arguments

      @@ -537,7 +537,7 @@

    ...

    -

    NULL-terminated list of optional named arguments

    +

    NULL-terminated list of optional named arguments

      @@ -611,7 +611,7 @@

    ...

    -

    NULL-terminated list of optional named arguments

    +

    NULL-terminated list of optional named arguments

      @@ -672,7 +672,7 @@

    ...

    -

    NULL-terminated list of optional named arguments

    +

    NULL-terminated list of optional named arguments

      @@ -746,7 +746,7 @@

    ...

    -

    NULL-terminated list of optional named arguments

    +

    NULL-terminated list of optional named arguments

      @@ -813,7 +813,7 @@

    ...

    -

    NULL-terminated list of optional named arguments

    +

    NULL-terminated list of optional named arguments

      @@ -840,7 +840,7 @@ : fill the draw_circle

    Draws a circle on image . If fill - is TRUE then the circle is filled, + is TRUE then the circle is filled, otherwise a 1-pixel-wide perimeter is drawn.

    ink is an array of double containing values to draw.

    @@ -887,7 +887,7 @@

    ...

    -

    NULL-terminated list of optional named arguments

    +

    NULL-terminated list of optional named arguments

      @@ -951,7 +951,7 @@

    ...

    -

    NULL-terminated list of optional named arguments

    +

    NULL-terminated list of optional named arguments

      @@ -1053,7 +1053,7 @@

    ...

    -

    NULL-terminated list of optional named arguments

    +

    NULL-terminated list of optional named arguments

      @@ -1123,7 +1123,7 @@

    ...

    -

    NULL-terminated list of optional named arguments

    +

    NULL-terminated list of optional named arguments

      @@ -1189,7 +1189,7 @@

    ...

    -

    NULL-terminated list of optional named arguments

    +

    NULL-terminated list of optional named arguments

      diff -Nru vips-8.6.4/doc/html/libvips-error.html vips-8.6.5/doc/html/libvips-error.html --- vips-8.6.4/doc/html/libvips-error.html 2018-06-13 15:35:15.000000000 +0000 +++ vips-8.6.5/doc/html/libvips-error.html 2018-07-25 10:11:02.000000000 +0000 @@ -446,7 +446,7 @@

    The domain argument most of these functions take is not localised and is supposed to indicate the component which failed.

    -

    libvips uses g_warning() and g_info() to send warning and information +

    libvips uses g_warning() and g_info() to send warning and information messages to the user. You can use the usual glib mechanisms to display or divert these messages. For example, info messages are hidden by default, but you can see them with:

    @@ -691,11 +691,11 @@

    vips_error_g ()

    void
    -vips_error_g (GError **error);
    +vips_error_g (GError **error);

    This function sets the glib error pointer from the vips error buffer and clears it. It's handy for returning errors to glib functions from vips.

    See vips_g_error() for the inverse operation.

    -

    See also: g_set_error(), vips_g_error().

    +

    See also: g_set_error(), vips_g_error().

    Parameters

    @@ -716,8 +716,8 @@

    vips_g_error ()

    void
    -vips_g_error (GError **error);
    -

    This function adds the GError to the vips error buffer and clears it. It's +vips_g_error (GError **error); +

    This function adds the GError to the vips error buffer and clears it. It's the opposite of vips_error_g().

    See also: vips_error_g().

    @@ -746,7 +746,7 @@ error buffer, if any, then shuts down vips and terminates the program with an error code.

    fmt - may be NULL, in which case only the error buffer is printed before + may be NULL, in which case only the error buffer is printed before exiting.

    See also: vips_error().

    diff -Nru vips-8.6.4/doc/html/libvips-freqfilt.html vips-8.6.5/doc/html/libvips-freqfilt.html --- vips-8.6.4/doc/html/libvips-freqfilt.html 2018-06-13 15:35:15.000000000 +0000 +++ vips-8.6.5/doc/html/libvips-freqfilt.html 2018-07-25 10:11:02.000000000 +0000 @@ -136,7 +136,7 @@
    - + @@ -185,7 +185,7 @@ - + @@ -241,7 +241,7 @@ - + @@ -286,7 +286,7 @@ - + @@ -334,7 +334,7 @@ - + diff -Nru vips-8.6.4/doc/html/libvips-generate.html vips-8.6.5/doc/html/libvips-generate.html --- vips-8.6.4/doc/html/libvips-generate.html 2018-06-13 15:35:15.000000000 +0000 +++ vips-8.6.5/doc/html/libvips-generate.html 2018-07-25 10:11:02.000000000 +0000 @@ -487,9 +487,9 @@ callback is run from one of the background threads. In the callback you need to somehow send a message to the main thread that the pixels are -ready. In a glib-based application, this is easily done with g_idle_add().

    +ready. In a glib-based application, this is easily done with g_idle_add().

    If notify_fn - is NULL then vips_sink_screen() runs synchronously. + is NULL then vips_sink_screen() runs synchronously. vips_region_prepare() on out will always block until the pixels have been calculated.

    @@ -673,7 +673,7 @@ void *b);

    Start function for many images in. a is a pointer to -a NULL-terminated array of input images.

    +a NULL-terminated array of input images.

    See also: vips_image_generate(), vips_allocate_input_array()

    Parameters

    @@ -712,7 +712,7 @@ void *b);

    Stop function for many images in. a is a pointer to -a NULL-terminated array of input images.

    +a NULL-terminated array of input images.

    See also: vips_image_generate().

    Parameters

    @@ -748,7 +748,7 @@
    VipsImage **
     vips_allocate_input_array (VipsImage *out,
                                ...);
    -

    Convenience function --- make a NULL-terminated array of input images. +

    Convenience function --- make a NULL-terminated array of input images. Use with vips_start_many().

    See also: vips_image_generate(), vips_start_many().

    @@ -767,7 +767,7 @@
    - + @@ -775,7 +775,7 @@

    Returns

    -

    NULL-terminated array of images. Do not free the result.

    +

    NULL-terminated array of images. Do not free the result.


    @@ -907,7 +907,7 @@ - + @@ -948,7 +948,7 @@ - + diff -Nru vips-8.6.4/doc/html/libvips-header.html vips-8.6.5/doc/html/libvips-header.html --- vips-8.6.4/doc/html/libvips-header.html 2018-06-13 15:35:15.000000000 +0000 +++ vips-8.6.5/doc/html/libvips-header.html 2018-07-25 10:11:02.000000000 +0000 @@ -51,7 +51,7 @@ +g_value_unset(&value);

    ...

    NULL-terminated list of optional named arguments

    NULL-terminated list of optional named arguments

     

    ...

    NULL-terminated list of optional named arguments

    NULL-terminated list of optional named arguments

     

    ...

    NULL-terminated list of optional named arguments

    NULL-terminated list of optional named arguments

     

    ...

    NULL-terminated list of optional named arguments

    NULL-terminated list of optional named arguments

     

    ...

    NULL-terminated list of optional named arguments

    NULL-terminated list of optional named arguments

     

    ...

    NULL-terminated list of input images

    NULL-terminated list of input images

     

    in

    NULL-terminated array of input images.

    NULL-terminated array of input images.

    [array zero-terminated=1]

    ...

    NULL-terminated list of input images

    NULL-terminated list of input images

     
    -guint64 +guint64 vips_format_sizeof () @@ -59,7 +59,7 @@
    -guint64 +guint64 vips_format_sizeof_unsafe () @@ -232,7 +232,7 @@
    -GType +GType vips_image_get_typeof () @@ -240,7 +240,7 @@
    -gboolean +gboolean vips_image_remove () @@ -264,7 +264,7 @@
    -gchar ** +gchar ** vips_image_get_fields () @@ -449,7 +449,7 @@

    These functions let you get at image header data (including metadata) in a uniform way.

    Use vips_image_get_typeof() to test for the -existance and GType of a header field.

    +existance and GType of a header field.

    You can attach arbitrary metadata to images. Metadata is copied as images are processed, so all images which used this image as input, directly or indirectly, will have this same bit of metadata attached to them. Copying @@ -468,11 +468,11 @@ below) is automatically saved for you in a block of XML at the end of the file. When you load a VIPS image, the metadata is restored. You can use the vipsedit command-line tool to extract or replace this block of XML.

    -

    VIPS metadata is based on GValue. See the docs for that system if you want +

    VIPS metadata is based on GValue. See the docs for that system if you want to do fancy stuff such as defining a new metadata type. -VIPS defines a new GValue called vips_save_string, a variety of string, +VIPS defines a new GValue called vips_save_string, a variety of string, see vips_value_set_save_string(). -If your GValue can be transformed to vips_save_string, it will be +If your GValue can be transformed to vips_save_string, it will be saved and loaded to and from VIPS files for you.

    VIPS provides a couple of base classes which implement reference-counted areas of memory. If you base your metadata on one of @@ -482,7 +482,7 @@

    Functions

    vips_format_sizeof ()

    -
    guint64
    +
    guint64
     vips_format_sizeof (VipsBandFormat format);

    Parameters

    @@ -507,7 +507,7 @@

    vips_format_sizeof_unsafe ()

    -
    guint64
    +
    guint64
     vips_format_sizeof_unsafe (VipsBandFormat format);

    A fast but dangerous version of vips_format_sizeof(). You must have previously range-checked format @@ -1081,10 +1081,10 @@

    void
     vips_image_set (VipsImage *image,
                     const char *name,
    -                GValue *value);
    + GValue *value);

    Set a piece of metadata on image . Any old metadata with that name is -destroyed. The GValue is copied into the image, so you need to unset the +destroyed. The GValue is copied into the image, so you need to unset the value when you're done with it.

    For example, to set an integer on an image (though you would use the convenience function vips_image_set_int() in practice), you would do:

    @@ -1100,10 +1100,10 @@ 6
    GValue value = { 0 };
     
    -g_value_init (&value, G_TYPE_INT);
    -g_value_set_int (&value, 42);
    +g_value_init (&value, G_TYPE_INT);
    +g_value_set_int (&value, 42);
     vips_image_set (image, name, &value);
    -g_value_unset (&value);
    @@ -1133,7 +1133,7 @@

    value

    -

    the GValue to copy into the image

    +

    the GValue to copy into the image

      @@ -1146,7 +1146,7 @@
    int
     vips_image_get (const VipsImage *image,
                     const char *name,
    -                GValue *value_copy);
    + GValue *value_copy);

    Fill value_copy with a copy of the header field. value_copy must be zeroed @@ -1183,17 +1183,17 @@ if (vips_image_get (image, name, &value)) return -1; -if (G_VALUE_TYPE (&value) != G_TYPE_DOUBLE) { +if (G_VALUE_TYPE (&value) != G_TYPE_DOUBLE) { vips_error( "mydomain", _("field \"%s\" is of type %s, not double"), name, - g_type_name (G_VALUE_TYPE (&value))); - g_value_unset (&value); + g_type_name (G_VALUE_TYPE (&value))); + g_value_unset (&value); return -1; } -d = g_value_get_double (&value); -g_value_unset (&value); +d = g_value_get_double (&value); +g_value_unset (&value); @@ -1223,7 +1223,7 @@

    value_copy

    -

    the GValue is copied into this.

    +

    the GValue is copied into this.

    [transfer full][out caller-allocates] @@ -1247,7 +1247,7 @@ in out . This function will read any field, returning it as a printable string. -You need to free the string with g_free() when you are done with it.

    +You need to free the string with g_free() when you are done with it.

    This will base64-encode BLOBs, for example. Use vips_buf_appendgv() to make a string that's for humans.

    See also: vips_image_get(), vips_image_get_typeof(), vips_buf_appendgv().

    @@ -1287,10 +1287,10 @@

    vips_image_get_typeof ()

    -
    GType
    +
    GType
     vips_image_get_typeof (const VipsImage *image,
                            const char *name);
    -

    Read the GType for a header field. Returns zero if there is no +

    Read the GType for a header field. Returns zero if there is no field of that name.

    See also: vips_image_get().

    [method]

    @@ -1318,17 +1318,17 @@

    Returns

    -

    the GType of the field, or zero if there is no +

    the GType of the field, or zero if there is no field of that name.


    vips_image_remove ()

    -
    gboolean
    +
    gboolean
     vips_image_remove (VipsImage *image,
                        const char *name);
    -

    Find and remove an item of metadata. Return FALSE if no metadata of that +

    Find and remove an item of metadata. Return FALSE if no metadata of that name was found.

    See also: vips_image_set(), vips_image_get_typeof().

    [method]

    @@ -1356,7 +1356,7 @@

    Returns

    -

    TRUE if an item of metadata of that name was found and removed

    +

    TRUE if an item of metadata of that name was found and removed


    @@ -1365,7 +1365,7 @@
    void *
     (*VipsImageMapFn) (VipsImage *image,
                        const char *name,
    -                   GValue *value,
    +                   GValue *value,
                        void *a);

    @@ -1378,8 +1378,8 @@

    This function calls fn for every header field, including every item of metadata.

    -

    Like all _map functions, the user function should return NULL to continue -iteration, or a non-NULL pointer to indicate early termination.

    +

    Like all _map functions, the user function should return NULL to continue +iteration, or a non-NULL pointer to indicate early termination.

    See also: vips_image_get_typeof(), vips_image_get().

    [method]

    @@ -1411,18 +1411,18 @@

    Returns

    -

    NULL on success, the failing pointer otherwise.

    +

    NULL on success, the failing pointer otherwise.

    [transfer none]


    vips_image_get_fields ()

    -
    gchar **
    +
    gchar **
     vips_image_get_fields (VipsImage *image);
    -

    Get a NULL-terminated array listing all the metadata field names on image +

    Get a NULL-terminated array listing all the metadata field names on image . -Free the return result with g_strfreev().

    +Free the return result with g_strfreev().

    This is handy for language bindings. From C, it's usually more convenient to use vips_image_map().

    [method]

    @@ -1443,7 +1443,7 @@

    Returns

    -

    metadata fields in image, as a NULL-terminated +

    metadata fields in image, as a NULL-terminated array.

    [transfer full]

    diff -Nru vips-8.6.4/doc/html/libvips-histogram.html vips-8.6.5/doc/html/libvips-histogram.html --- vips-8.6.4/doc/html/libvips-histogram.html 2018-06-13 15:35:15.000000000 +0000 +++ vips-8.6.5/doc/html/libvips-histogram.html 2018-07-25 10:11:02.000000000 +0000 @@ -237,7 +237,7 @@

    ...

    -

    NULL-terminated list of optional named arguments

    +

    NULL-terminated list of optional named arguments

      @@ -294,7 +294,7 @@

    ...

    -

    NULL-terminated list of optional named arguments

    +

    NULL-terminated list of optional named arguments

      @@ -408,7 +408,7 @@

    ...

    -

    NULL-terminated list of optional named arguments

    +

    NULL-terminated list of optional named arguments

      @@ -450,7 +450,7 @@

    ...

    -

    NULL-terminated list of optional named arguments

    +

    NULL-terminated list of optional named arguments

      @@ -493,7 +493,7 @@

    ...

    -

    NULL-terminated list of optional named arguments

    +

    NULL-terminated list of optional named arguments

      @@ -543,7 +543,7 @@

    ...

    -

    NULL-terminated list of optional named arguments

    +

    NULL-terminated list of optional named arguments

      @@ -592,7 +592,7 @@

    ...

    -

    NULL-terminated list of optional named arguments

    +

    NULL-terminated list of optional named arguments

      @@ -650,7 +650,7 @@

    ...

    -

    NULL-terminated list of optional named arguments

    +

    NULL-terminated list of optional named arguments

      @@ -718,7 +718,7 @@

    ...

    -

    NULL-terminated list of optional named arguments

    +

    NULL-terminated list of optional named arguments

      @@ -734,7 +734,7 @@

    vips_hist_ismonotonic ()

    int
     vips_hist_ismonotonic (VipsImage *in,
    -                       gboolean *out,
    +                       gboolean *out,
                            ...);

    Test in for monotonicity. out @@ -763,7 +763,7 @@

    ...

    -

    NULL-terminated list of optional named arguments

    +

    NULL-terminated list of optional named arguments

      @@ -817,7 +817,7 @@

    ...

    -

    NULL-terminated list of optional named arguments

    +

    NULL-terminated list of optional named arguments

      diff -Nru vips-8.6.4/doc/html/libvips-memory.html vips-8.6.5/doc/html/libvips-memory.html --- vips-8.6.4/doc/html/libvips-memory.html 2018-06-13 15:35:15.000000000 +0000 +++ vips-8.6.5/doc/html/libvips-memory.html 2018-07-25 10:11:02.000000000 +0000 @@ -179,10 +179,10 @@

    Description

    These functions cover two main areas.

    First, some simple utility functions over the underlying -g_malloc()/g_free() functions. Memory allocated and freeded using these +g_malloc()/g_free() functions. Memory allocated and freeded using these functions is interchangeable with any other glib library.

    Second, a pair of functions, vips_tracked_malloc() and vips_tracked_free(), -which are NOT compatible. If you g_free() memory that has been allocated +which are NOT compatible. If you g_free() memory that has been allocated with vips_tracked_malloc() you will see crashes.

    The tracked functions are only suitable for large allocations internal to the library, for example @@ -228,7 +228,7 @@

    OBJ

    allocate memory local to OBJ -, or NULL for no auto-free

    +, or NULL for no auto-free

      @@ -267,7 +267,7 @@

    OBJ

    allocate memory local to OBJ -, or NULL for no auto-free

    +, or NULL for no auto-free

      @@ -299,8 +299,8 @@

    g_malloc() local to object , that is, the memory will be automatically freed for you when the object is closed. If object - is NULL, you need to -free the memory explicitly with g_free().

    + is NULL, you need to +free the memory explicitly with g_free().

    This function cannot fail. See vips_tracked_malloc() if you are allocating large amounts of memory.

    See also: vips_tracked_malloc().

    @@ -315,7 +315,7 @@

    object

    -

    allocate memory local to this VipsObject, or NULL.

    +

    allocate memory local to this VipsObject, or NULL.

    [nullable] @@ -341,8 +341,8 @@

    g_strdup() a string. When object is freed, the string will be freed for you. If object - is NULL, you need to -free the memory yourself with g_free().

    + is NULL, you need to +free the memory yourself with g_free().

    This function cannot fail.

    See also: vips_malloc().

    @@ -356,7 +356,7 @@

    object

    -

    allocate memory local to this VipsObject, or NULL.

    +

    allocate memory local to this VipsObject, or NULL.

    [nullable] @@ -378,7 +378,7 @@

    vips_free ()

    int
     vips_free (void *buf);
    -

    Frees memory with g_free() and returns 0. Handy for callbacks.

    +

    Frees memory with g_free() and returns 0. Handy for callbacks.

    See also: vips_malloc().

    Parameters

    @@ -407,7 +407,7 @@ vips_tracked_free (void *s);

    Only use it to free memory that was previously allocated with vips_tracked_malloc() with a -NULL first argument.

    +NULL first argument.

    See also: vips_tracked_malloc().

    Parameters

    @@ -432,7 +432,7 @@ vips_tracked_malloc (size_t size);

    Allocate an area of memory that will be tracked by vips_tracked_get_mem() and friends.

    -

    If allocation fails, vips_malloc() returns NULL and +

    If allocation fails, vips_malloc() returns NULL and sets an error message.

    You must only free the memory returned with vips_tracked_free().

    See also: vips_tracked_free(), vips_malloc().

    @@ -453,7 +453,7 @@

    Returns

    -

    a pointer to the allocated memory, or NULL on error.

    +

    a pointer to the allocated memory, or NULL on error.

    [transfer full]

    diff -Nru vips-8.6.4/doc/html/libvips-morphology.html vips-8.6.5/doc/html/libvips-morphology.html --- vips-8.6.4/doc/html/libvips-morphology.html 2018-06-13 15:35:15.000000000 +0000 +++ vips-8.6.5/doc/html/libvips-morphology.html 2018-07-25 10:11:02.000000000 +0000 @@ -220,7 +220,7 @@

    ...

    -

    NULL-terminated list of optional named arguments

    +

    NULL-terminated list of optional named arguments

      @@ -295,7 +295,7 @@

    ...

    -

    NULL-terminated list of optional named arguments

    +

    NULL-terminated list of optional named arguments

      @@ -344,7 +344,7 @@

    ...

    -

    NULL-terminated list of optional named arguments

    +

    NULL-terminated list of optional named arguments

      @@ -397,7 +397,7 @@

    ...

    -

    NULL-terminated list of optional named arguments

    +

    NULL-terminated list of optional named arguments

      @@ -457,7 +457,7 @@

    ...

    -

    NULL-terminated list of optional named arguments

    +

    NULL-terminated list of optional named arguments

      @@ -518,7 +518,7 @@

    ...

    -

    NULL-terminated list of optional named arguments

    +

    NULL-terminated list of optional named arguments

      diff -Nru vips-8.6.4/doc/html/libvips-mosaicing.html vips-8.6.5/doc/html/libvips-mosaicing.html --- vips-8.6.4/doc/html/libvips-mosaicing.html 2018-06-13 15:35:15.000000000 +0000 +++ vips-8.6.5/doc/html/libvips-mosaicing.html 2018-07-25 10:11:02.000000000 +0000 @@ -152,7 +152,7 @@ ...);

    Optional arguments:

    • mblend -: gint, maximum blend size

    +: gint, maximum blend size

    This operation joins two images left-right (with ref on the left) or up-down (with ref @@ -223,7 +223,7 @@

    ...

    -

    NULL-terminated list of optional named arguments

    +

    NULL-terminated list of optional named arguments

      @@ -250,13 +250,13 @@

    Optional arguments:

    • bandno -: gint, band to search for features

    • +: gint, band to search for features

    • hwindow -: gint, half window size

    • +: gint, half window size

    • harea -: gint, half search size

    • +: gint, half search size

    • mblend -: gint, maximum blend size

    • +: gint, maximum blend size

    This operation joins two images left-right (with ref on the left) or @@ -336,7 +336,7 @@

    ...

    -

    NULL-terminated list of optional named arguments

    +

    NULL-terminated list of optional named arguments

      @@ -387,7 +387,7 @@ is scaled and rotated as necessary before the join.

    If search - is TRUE, before performing the transformation, the tie-points + is TRUE, before performing the transformation, the tie-points are improved by searching an area of sec of size harea for a @@ -480,7 +480,7 @@

    ...

    -

    NULL-terminated list of optional named arguments

    +

    NULL-terminated list of optional named arguments

      @@ -521,7 +521,7 @@

    Scale, rotate and translate sec so that the tie-points line up.

    If search - is TRUE, before performing the transformation, the tie-points + is TRUE, before performing the transformation, the tie-points are improved by searching an area of sec of size harea for a @@ -595,7 +595,7 @@

    ...

    -

    NULL-terminated list of optional named arguments

    +

    NULL-terminated list of optional named arguments

      @@ -618,7 +618,7 @@
  • gamma : gamma of source images

  • int_output -: TRUE for integer image output

  • +: TRUE for integer image output

    vips_globalbalance() can be used to remove contrast differences in an assembled mosaic.

    @@ -667,7 +667,7 @@

    ...

    -

    NULL-terminated list of optional named arguments

    +

    NULL-terminated list of optional named arguments

      @@ -731,7 +731,7 @@

    ...

    -

    NULL-terminated list of optional named arguments

    +

    NULL-terminated list of optional named arguments

      diff -Nru vips-8.6.4/doc/html/libvips-rect.html vips-8.6.5/doc/html/libvips-rect.html --- vips-8.6.4/doc/html/libvips-rect.html 2018-06-13 15:35:15.000000000 +0000 +++ vips-8.6.5/doc/html/libvips-rect.html 2018-07-25 10:11:02.000000000 +0000 @@ -75,7 +75,7 @@ -gboolean +gboolean vips_rect_isempty () @@ -83,7 +83,7 @@ -gboolean +gboolean vips_rect_includespoint () @@ -91,7 +91,7 @@ -gboolean +gboolean vips_rect_includesrect () @@ -99,7 +99,7 @@ -gboolean +gboolean vips_rect_equalsrect () @@ -198,7 +198,7 @@

    vips_rect_isempty ()

    -
    gboolean
    +
    gboolean
     vips_rect_isempty (const VipsRect *r);

    Is r empty? ie. zero width or height.

    @@ -220,14 +220,14 @@

    Returns

    -

    TRUE if r +

    TRUE if r contains no pixels.


    vips_rect_includespoint ()

    -
    gboolean
    +
    gboolean
     vips_rect_includespoint (const VipsRect *r,
                              int x,
                              int y);
    @@ -264,7 +264,7 @@

    Returns

    -

    TRUE if r +

    TRUE if r contains (x , y ).

    @@ -273,7 +273,7 @@

    vips_rect_includesrect ()

    -
    gboolean
    +
    gboolean
     vips_rect_includesrect (const VipsRect *r1,
                             const VipsRect *r2);

    Is r2 @@ -304,7 +304,7 @@

    Returns

    -

    TRUE if r2 +

    TRUE if r2 is a subset of r1 .

    @@ -312,7 +312,7 @@

    vips_rect_equalsrect ()

    -
    gboolean
    +
    gboolean
     vips_rect_equalsrect (const VipsRect *r1,
                           const VipsRect *r2);

    Is r1 @@ -343,7 +343,7 @@

    Returns

    -

    TRUE if r1 +

    TRUE if r1 is equal to r2 .

    diff -Nru vips-8.6.4/doc/html/libvips-resample.html vips-8.6.5/doc/html/libvips-resample.html --- vips-8.6.4/doc/html/libvips-resample.html 2018-06-13 15:35:15.000000000 +0000 +++ vips-8.6.5/doc/html/libvips-resample.html 2018-07-25 10:11:02.000000000 +0000 @@ -260,7 +260,7 @@

    ...

    -

    NULL-terminated list of optional named arguments

    +

    NULL-terminated list of optional named arguments

      @@ -315,7 +315,7 @@

    ...

    -

    NULL-terminated list of optional named arguments

    +

    NULL-terminated list of optional named arguments

      @@ -370,7 +370,7 @@

    ...

    -

    NULL-terminated list of optional named arguments

    +

    NULL-terminated list of optional named arguments

      @@ -395,7 +395,7 @@
  • kernel : VipsKernel to use to interpolate (default: lanczos3)

  • centre -: gboolean use centre rather than corner sampling convention

  • +: gboolean use centre rather than corner sampling convention

    Reduce in by a pair of factors with a pair of 1D kernels. This @@ -440,7 +440,7 @@

    ...

    -

    NULL-terminated list of optional named arguments

    +

    NULL-terminated list of optional named arguments

      @@ -464,7 +464,7 @@
  • kernel : VipsKernel to use to interpolate (default: lanczos3)

  • centre -: gboolean use centre rather than corner sampling convention

  • +: gboolean use centre rather than corner sampling convention

    Reduce in horizontally by a float factor. The pixels in out @@ -506,7 +506,7 @@

    ...

    -

    NULL-terminated list of optional named arguments

    +

    NULL-terminated list of optional named arguments

      @@ -530,7 +530,7 @@
  • kernel : VipsKernel to use to interpolate (default: lanczos3)

  • centre -: gboolean use centre rather than corner sampling convention

  • +: gboolean use centre rather than corner sampling convention

    Reduce in vertically by a float factor. The pixels in out @@ -572,7 +572,7 @@

    ...

    -

    NULL-terminated list of optional named arguments

    +

    NULL-terminated list of optional named arguments

      @@ -594,19 +594,19 @@

    Optional arguments:

    • height -: gint, target height in pixels

    • +: gint, target height in pixels

    • size : VipsSize, upsize, downsize, both or force

    • auto_rotate -: gboolean, rotate upright using orientation tag

    • +: gboolean, rotate upright using orientation tag

    • crop : VipsInteresting, shrink and crop to fill target

    • linear -: gboolean, perform shrink in linear light

    • +: gboolean, perform shrink in linear light

    • import_profile -: gchararray, fallback import ICC profile

    • +: gchararray, fallback import ICC profile

    • export_profile -: gchararray, export ICC profile

    • +: gchararray, export ICC profile

    • intent : VipsIntent, rendering intent

    @@ -641,7 +641,7 @@ image will be forced to fit the target.

    Normally any orientation tags on the input image (such as EXIF tags) are interpreted to rotate the image upright. If you set auto_rotate - to FALSE, + to FALSE, these tags will not be interpreted.

    Shrinking is normally done in sRGB colourspace. Set linear to shrink in @@ -685,7 +685,7 @@

    ...

    -

    NULL-terminated list of optional named arguments

    +

    NULL-terminated list of optional named arguments

      @@ -708,19 +708,19 @@

    Optional arguments:

    • height -: gint, target height in pixels

    • +: gint, target height in pixels

    • size : VipsSize, upsize, downsize, both or force

    • auto_rotate -: gboolean, rotate upright using orientation tag

    • +: gboolean, rotate upright using orientation tag

    • crop : VipsInteresting, shrink and crop to fill target

    • linear -: gboolean, perform shrink in linear light

    • +: gboolean, perform shrink in linear light

    • import_profile -: gchararray, fallback import ICC profile

    • +: gchararray, fallback import ICC profile

    • export_profile -: gchararray, export ICC profile

    • +: gchararray, export ICC profile

    • intent : VipsIntent, rendering intent

    @@ -757,7 +757,7 @@

    ...

    -

    NULL-terminated list of optional named arguments

    +

    NULL-terminated list of optional named arguments

      @@ -779,19 +779,19 @@

    Optional arguments:

    • height -: gint, target height in pixels

    • +: gint, target height in pixels

    • size : VipsSize, upsize, downsize, both or force

    • auto_rotate -: gboolean, rotate upright using orientation tag

    • +: gboolean, rotate upright using orientation tag

    • crop : VipsInteresting, shrink and crop to fill target

    • linear -: gboolean, perform shrink in linear light

    • +: gboolean, perform shrink in linear light

    • import_profile -: gchararray, fallback import ICC profile

    • +: gchararray, fallback import ICC profile

    • export_profile -: gchararray, export ICC profile

    • +: gchararray, export ICC profile

    • intent : VipsIntent, rendering intent

    @@ -824,7 +824,7 @@

    ...

    -

    NULL-terminated list of optional named arguments

    +

    NULL-terminated list of optional named arguments

      @@ -845,21 +845,21 @@

    Optional arguments:

    • scale -: gdouble, scale by this factor

    • +: gdouble, scale by this factor

    • angle -: gdouble, rotate by this many degrees clockwise

    • +: gdouble, rotate by this many degrees clockwise

    • interpolate : VipsInterpolate, interpolate pixels with this

    • idx -: gdouble, input horizontal offset

    • +: gdouble, input horizontal offset

    • idy -: gdouble, input vertical offset

    • +: gdouble, input vertical offset

    • odx -: gdouble, output horizontal offset

    • +: gdouble, output horizontal offset

    • ody -: gdouble, output vertical offset

    • +: gdouble, output vertical offset

    • ody -: gdouble, output vertical offset

    • +: gdouble, output vertical offset

    • background : VipsArrayDouble colour for new pixels

    @@ -891,7 +891,7 @@

    ...

    -

    NULL-terminated list of optional named arguments

    +

    NULL-terminated list of optional named arguments

      @@ -920,13 +920,13 @@
  • oarea : VipsArrayInt, output rectangle

  • idx -: gdouble, input horizontal offset

  • +: gdouble, input horizontal offset

  • idy -: gdouble, input vertical offset

  • +: gdouble, input vertical offset

  • odx -: gdouble, output horizontal offset

  • +: gdouble, output horizontal offset

  • ody -: gdouble, output vertical offset

  • +: gdouble, output vertical offset

  • extend : VipsExtend how to generate new pixels

  • background @@ -1024,7 +1024,7 @@

    ...

    -

    NULL-terminated list of optional named arguments

    +

    NULL-terminated list of optional named arguments

      @@ -1046,7 +1046,7 @@

    Optional arguments:

    • vscale -: gdouble vertical scale factor

    • +: gdouble vertical scale factor

    • kernel : VipsKernel to reduce with

    @@ -1102,7 +1102,7 @@

    ...

    -

    NULL-terminated list of optional named arguments

    +

    NULL-terminated list of optional named arguments

      @@ -1187,7 +1187,7 @@

    ...

    -

    NULL-terminated list of optional named arguments

    +

    NULL-terminated list of optional named arguments

      @@ -1238,7 +1238,7 @@

    ...

    -

    NULL-terminated list of optional named arguments

    +

    NULL-terminated list of optional named arguments

      diff -Nru vips-8.6.4/doc/html/libvips-type.html vips-8.6.5/doc/html/libvips-type.html --- vips-8.6.4/doc/html/libvips-type.html 2018-06-13 15:35:15.000000000 +0000 +++ vips-8.6.5/doc/html/libvips-type.html 2018-07-25 10:11:02.000000000 +0000 @@ -326,7 +326,7 @@ -GObject ** +GObject ** vips_value_get_array_object () @@ -362,7 +362,7 @@

    Description

    -

    A selection of GType defintions used by VIPS.

    +

    A selection of GType defintions used by VIPS.

    Functions

    @@ -395,7 +395,7 @@ vips_area_new (VipsCallbackFn free_fn, void *data);

    A VipsArea wraps a chunk of memory. It adds reference counting and a free -function. It also keeps a count and a GType, so the area can be an array.

    +function. It also keeps a count and a GType, so the area can be an array.

    This type is used for things like passing an array of double or an array of VipsObject pointers to operations, and for reference-counted immutable strings.

    @@ -435,10 +435,10 @@

    vips_area_new_array ()

    VipsArea *
    -vips_area_new_array (GType type,
    +vips_area_new_array (GType type,
                          size_t sizeof_type,
                          int n);
    -

    An area which holds an array of elements of some GType. To set values for +

    An area which holds an array of elements of some GType. To set values for the elements, get the pointer and write.

    See also: vips_area_unref().

    @@ -452,7 +452,7 @@

    type

    -

    GType of elements to store

    +

    GType of elements to store

      @@ -479,8 +479,8 @@

    vips_area_new_array_object ()

    VipsArea *
     vips_area_new_array_object (int n);
    -

    An area which holds an array of GObject s. See vips_area_new_array(). When -the area is freed, each GObject will be unreffed.

    +

    An area which holds an array of GObject s. See vips_area_new_array(). When +the area is freed, each GObject will be unreffed.

    Add an extra NULL element at the end, handy for eg. vips_image_pipeline_array() etc.

    See also: vips_area_unref().

    @@ -513,10 +513,10 @@ vips_area_get_data (VipsArea *area, size_t *length, int *n, - GType *type, + GType *type, size_t *sizeof_type);

    Return the data pointer plus optionally the length in bytes of an area, -the number of elements, the GType of each element and the sizeof() each +the number of elements, the GType of each element and the sizeof() each element.

    [method]

    @@ -987,7 +987,7 @@

    vips_value_set_area ()

    void
    -vips_value_set_area (GValue *value,
    +vips_value_set_area (GValue *value,
                          VipsCallbackFn free_fn,
                          void *data);

    Set value to be a ref-counted area of memory with a free function.

    @@ -1024,7 +1024,7 @@

    vips_value_get_area ()

    void *
    -vips_value_get_area (const GValue *value,
    +vips_value_get_area (const GValue *value,
                          size_t *length);

    Get the pointer from an area. Don't touch count (area is static).

    @@ -1060,7 +1060,7 @@

    vips_value_get_save_string ()

    const char *
    -vips_value_get_save_string (const GValue *value);
    +vips_value_get_save_string (const GValue *value);

    Get the C string held internally by the GValue.

    Parameters

    @@ -1088,7 +1088,7 @@

    vips_value_set_save_string ()

    void
    -vips_value_set_save_string (GValue *value,
    +vips_value_set_save_string (GValue *value,
                                 const char *str);

    Copies the C string into value .

    @@ -1121,7 +1121,7 @@

    vips_value_set_save_stringf ()

    void
    -vips_value_set_save_stringf (GValue *value,
    +vips_value_set_save_stringf (GValue *value,
                                  const char *fmt,
                                  ...);

    Generates a string and copies it into value @@ -1159,9 +1159,9 @@

    vips_value_get_ref_string ()

    const char *
    -vips_value_get_ref_string (const GValue *value,
    +vips_value_get_ref_string (const GValue *value,
                                size_t *length);
    -

    Get the C string held internally by the GValue.

    +

    Get the C string held internally by the GValue.

    Parameters

    @@ -1173,7 +1173,7 @@ - + @@ -1195,14 +1195,14 @@

    vips_value_set_ref_string ()

    void
    -vips_value_set_ref_string (GValue *value,
    +vips_value_set_ref_string (GValue *value,
                                const char *str);

    Copies the C string str into value .

    vips_ref_string are immutable C strings that are copied between images by copying reference-counted pointers, making them much more efficient than -regular GValue strings.

    +regular GValue strings.

    str should be a valid utf-8 string.

    @@ -1216,7 +1216,7 @@
    - + @@ -1232,7 +1232,7 @@

    vips_value_get_blob ()

    void *
    -vips_value_get_blob (const GValue *value,
    +vips_value_get_blob (const GValue *value,
                          size_t *length);

    Returns the data pointer from a blob. Optionally returns the length too.

    blobs are things like ICC profiles or EXIF data. They are relocatable, and @@ -1272,7 +1272,7 @@

    vips_value_set_blob ()

    void
    -vips_value_set_blob (GValue *value,
    +vips_value_set_blob (GValue *value,
                          VipsCallbackFn free_fn,
                          void *data,
                          size_t length);
    @@ -1327,14 +1327,14 @@

    vips_value_set_blob_free ()

    void
    -vips_value_set_blob_free (GValue *value,
    +vips_value_set_blob_free (GValue *value,
                               void *data,
                               size_t length);

    Just like vips_value_set_blob(), but when value is freed, data will be -freed with g_free().

    +freed with g_free().

    This can be easier to call for language bindings.

    See also: vips_value_set_blob()

    @@ -1369,9 +1369,9 @@

    vips_value_set_array ()

    void
    -vips_value_set_array (GValue *value,
    +vips_value_set_array (GValue *value,
                           int n,
    -                      GType type,
    +                      GType type,
                           size_t sizeof_type);

    Set value to be an array of things.

    @@ -1388,7 +1388,7 @@
    - + @@ -1414,9 +1414,9 @@

    vips_value_get_array ()

    void *
    -vips_value_get_array (const GValue *value,
    +vips_value_get_array (const GValue *value,
                           int *n,
    -                      GType *type,
    +                      GType *type,
                           size_t *sizeof_type);

    Return the pointer to the array held by value . @@ -1437,7 +1437,7 @@

    - + @@ -1468,7 +1468,7 @@

    vips_value_get_array_double ()

    double *
    -vips_value_get_array_double (const GValue *value,
    +vips_value_get_array_double (const GValue *value,
                                  int *n);

    Return the start of the array of doubles held by value . @@ -1486,7 +1486,7 @@

    - + @@ -1507,7 +1507,7 @@

    vips_value_set_array_double ()

    void
    -vips_value_set_array_double (GValue *value,
    +vips_value_set_array_double (GValue *value,
                                  const double *array,
                                  int n);

    Set value @@ -1526,7 +1526,7 @@

    - + @@ -1547,7 +1547,7 @@

    vips_value_get_array_int ()

    int *
    -vips_value_get_array_int (const GValue *value,
    +vips_value_get_array_int (const GValue *value,
                               int *n);

    Return the start of the array of ints held by value . @@ -1565,7 +1565,7 @@

    - + @@ -1586,7 +1586,7 @@

    vips_value_set_array_int ()

    void
    -vips_value_set_array_int (GValue *value,
    +vips_value_set_array_int (GValue *value,
                               const int *array,
                               int n);

    Set value @@ -1605,7 +1605,7 @@

    - + @@ -1625,10 +1625,10 @@

    vips_value_get_array_object ()

    -
    GObject **
    -vips_value_get_array_object (const GValue *value,
    +
    GObject **
    +vips_value_get_array_object (const GValue *value,
                                  int *n);
    -

    Return the start of the array of GObject held by value +

    Return the start of the array of GObject held by value . Optionally return the number of elements in n .

    @@ -1645,7 +1645,7 @@
    - + @@ -1666,10 +1666,10 @@

    vips_value_set_array_object ()

    void
    -vips_value_set_array_object (GValue *value,
    +vips_value_set_array_object (GValue *value,
                                  int n);

    Set value - to hold an array of GObject. Pass in the array length in n + to hold an array of GObject. Pass in the array length in n .

    See also: vips_value_get_array_object().

    @@ -1683,7 +1683,7 @@
    - + diff -Nru vips-8.6.4/doc/html/libvips-util.html vips-8.6.5/doc/html/libvips-util.html --- vips-8.6.4/doc/html/libvips-util.html 2018-06-13 15:35:15.000000000 +0000 +++ vips-8.6.5/doc/html/libvips-util.html 2018-07-25 10:11:02.000000000 +0000 @@ -257,7 +257,7 @@ - +

    value

    GValue to get from

    GValue to get from

     

    value

    GValue to set.

    GValue to set.

    [out]

    value

    GValue to set.

    GValue to set.

    [out]

    value

    GValue to get from

    GValue to get from

     

    value

    GValue to get from

    GValue to get from

     

    value

    GValue to get from.

    GValue to get from.

    [out]

    value

    GValue to get from

    GValue to get from

     

    value

    GValue to get from.

    GValue to get from.

    [out]

    value

    GValue to get from

    GValue to get from

     

    value

    GValue to set.

    GValue to set.

    [out]
    -gboolean +gboolean vips_slist_equal () @@ -297,7 +297,7 @@
    -GSList * +GSList * vips_slist_filter () @@ -345,7 +345,7 @@
    -gboolean +gboolean vips_ispostfix () @@ -353,7 +353,7 @@
    -gboolean +gboolean vips_iscasepostfix () @@ -361,7 +361,7 @@
    -gboolean +gboolean vips_isprefix () @@ -409,7 +409,7 @@
    -gint64 +gint64 vips_file_length () @@ -505,7 +505,7 @@
    -GValue * +GValue * vips__gvalue_ref_string_new () @@ -521,7 +521,7 @@
    -GSList * +GSList * vips__gslist_gvalue_copy () @@ -529,7 +529,7 @@
    -GSList * +GSList * vips__gslist_gvalue_merge () @@ -691,7 +691,7 @@
    -guint32 +guint32 vips__random () @@ -699,7 +699,7 @@
    -guint32 +guint32 vips__random_add () @@ -930,14 +930,14 @@

    vips_enum_string ()

    const char *
    -vips_enum_string (GType enm,
    +vips_enum_string (GType enm,
                       int value);

    vips_enum_nick ()

    const char *
    -vips_enum_nick (GType enm,
    +vips_enum_nick (GType enm,
                     int value);

    @@ -945,7 +945,7 @@

    vips_enum_from_nick ()

    int
     vips_enum_from_nick (const char *domain,
    -                     GType type,
    +                     GType type,
                          const char *str);

    @@ -953,21 +953,21 @@

    vips_flags_from_nick ()

    int
     vips_flags_from_nick (const char *domain,
    -                      GType type,
    +                      GType type,
                           const char *nick);

    vips_slist_equal ()

    -
    gboolean
    -vips_slist_equal (GSList *l1,
    -                  GSList *l2);
    +
    gboolean
    +vips_slist_equal (GSList *l1,
    +                  GSList *l2);

    vips_slist_map2 ()

    void *
    -vips_slist_map2 (GSList *list,
    +vips_slist_map2 (GSList *list,
                      VipsSListMap2Fn fn,
                      void *a,
                      void *b);
    @@ -976,7 +976,7 @@

    vips_slist_map2_rev ()

    void *
    -vips_slist_map2_rev (GSList *list,
    +vips_slist_map2_rev (GSList *list,
                          VipsSListMap2Fn fn,
                          void *a,
                          void *b);
    @@ -985,7 +985,7 @@

    vips_slist_map4 ()

    void *
    -vips_slist_map4 (GSList *list,
    +vips_slist_map4 (GSList *list,
                      VipsSListMap4Fn fn,
                      void *a,
                      void *b,
    @@ -996,7 +996,7 @@
     

    vips_slist_fold2 ()

    void *
    -vips_slist_fold2 (GSList *list,
    +vips_slist_fold2 (GSList *list,
                       void *start,
                       VipsSListFold2Fn fn,
                       void *a,
    @@ -1005,8 +1005,8 @@
     

    vips_slist_filter ()

    -
    GSList *
    -vips_slist_filter (GSList *list,
    +
    GSList *
    +vips_slist_filter (GSList *list,
                        VipsSListMap2Fn fn,
                        void *a,
                        void *b);
    @@ -1015,7 +1015,7 @@

    vips_slist_free_all ()

    void
    -vips_slist_free_all (GSList *list);
    +vips_slist_free_all (GSList *list);

    @@ -1028,7 +1028,7 @@

    vips_hash_table_map ()

    void *
    -vips_hash_table_map (GHashTable *hash,
    +vips_hash_table_map (GHashTable *hash,
                          VipsSListMap2Fn fn,
                          void *a,
                          void *b);
    @@ -1051,21 +1051,21 @@

    vips_ispostfix ()

    -
    gboolean
    +
    gboolean
     vips_ispostfix (const char *a,
                     const char *b);

    vips_iscasepostfix ()

    -
    gboolean
    +
    gboolean
     vips_iscasepostfix (const char *a,
                         const char *b);

    vips_isprefix ()

    -
    gboolean
    +
    gboolean
     vips_isprefix (const char *a,
                    const char *b);
    @@ -1110,7 +1110,7 @@

    vips_file_length ()

    -
    gint64
    +
    gint64
     vips_file_length (int fd);

    @@ -1148,14 +1148,14 @@
    FILE *
     vips__file_open_read (const char *filename,
                           const char *fallback_dir,
    -                      gboolean text_mode);
    + gboolean text_mode);

    vips__file_open_write ()

    FILE *
     vips__file_open_write (const char *filename,
    -                       gboolean text_mode);
    + gboolean text_mode);

    @@ -1199,47 +1199,47 @@

    vips__gvalue_ref_string_new ()

    -
    GValue *
    +
    GValue *
     vips__gvalue_ref_string_new (const char *text);

    vips__gslist_gvalue_free ()

    void
    -vips__gslist_gvalue_free (GSList *list);
    +vips__gslist_gvalue_free (GSList *list);

    vips__gslist_gvalue_copy ()

    -
    GSList *
    -vips__gslist_gvalue_copy (const GSList *list);
    +
    GSList *
    +vips__gslist_gvalue_copy (const GSList *list);

    vips__gslist_gvalue_merge ()

    -
    GSList *
    -vips__gslist_gvalue_merge (GSList *a,
    -                           const GSList *b);
    +
    GSList *
    +vips__gslist_gvalue_merge (GSList *a,
    +                           const GSList *b);

    vips__gslist_gvalue_get ()

    char *
    -vips__gslist_gvalue_get (const GSList *list);
    +vips__gslist_gvalue_get (const GSList *list);

    vips__seek ()

    int
     vips__seek (int fd,
    -            gint64 pos);
    + gint64 pos);

    vips__ftruncate ()

    int
     vips__ftruncate (int fd,
    -                 gint64 pos);
    + gint64 pos);

    @@ -1374,14 +1374,14 @@

    vips__random ()

    -
    guint32
    -vips__random (guint32 seed);
    +
    guint32
    +vips__random (guint32 seed);

    vips__random_add ()

    -
    guint32
    -vips__random_add (guint32 seed,
    +
    guint32
    +vips__random_add (guint32 seed,
                       int value);

    diff -Nru vips-8.6.4/doc/html/libvips-version.html vips-8.6.5/doc/html/libvips-version.html --- vips-8.6.4/doc/html/libvips-version.html 2018-06-13 15:35:15.000000000 +0000 +++ vips-8.6.5/doc/html/libvips-version.html 2018-07-25 10:11:02.000000000 +0000 @@ -93,13 +93,13 @@

    Types and Values

    VIPS_VERSION

    -
    #define VIPS_VERSION		"8.6.4"
    +
    #define VIPS_VERSION		"8.6.5"
     

    VIPS_VERSION_STRING

    -
    #define VIPS_VERSION_STRING "8.6.4-Wed Jun 13 15:24:52 UTC 2018"
    +
    #define VIPS_VERSION_STRING "8.6.5-Wed Jul 25 09:46:22 UTC 2018"
     

    @@ -117,7 +117,7 @@

    VIPS_MICRO_VERSION

    -
    #define VIPS_MICRO_VERSION (4)
    +
    #define VIPS_MICRO_VERSION (5)
     

    @@ -129,7 +129,7 @@

    VIPS_LIBRARY_REVISION

    -
    #define VIPS_LIBRARY_REVISION (3)
    +
    #define VIPS_LIBRARY_REVISION (4)
     

    diff -Nru vips-8.6.4/doc/html/libvips-vips.html vips-8.6.5/doc/html/libvips-vips.html --- vips-8.6.4/doc/html/libvips-vips.html 2018-06-13 15:35:15.000000000 +0000 +++ vips-8.6.5/doc/html/libvips-vips.html 2018-07-25 10:11:02.000000000 +0000 @@ -307,9 +307,9 @@

    vips_add_option_entries ()

    void
    -vips_add_option_entries (GOptionGroup *option_group);
    -

    Add the standard vips GOptionEntry to a GOptionGroup.

    -

    See also: g_option_group_new().

    +vips_add_option_entries (GOptionGroup *option_group); +

    Add the standard vips GOptionEntry to a GOptionGroup.

    +

    See also: g_option_group_new().

    Parameters

    @@ -330,7 +330,7 @@

    vips_leak_set ()

    void
    -vips_leak_set (gboolean leak);
    +vips_leak_set (gboolean leak);

    Turn on or off vips leak checking. See also --vips-leak and vips_add_option_entries().

    You should call this very early in your program.

    diff -Nru vips-8.6.4/doc/html/object-tree.html vips-8.6.5/doc/html/object-tree.html --- vips-8.6.4/doc/html/object-tree.html 2018-06-13 15:35:15.000000000 +0000 +++ vips-8.6.5/doc/html/object-tree.html 2018-07-25 10:11:02.000000000 +0000 @@ -23,7 +23,7 @@

    Object Hierarchy

    -    GObject
    +    GObject
         ╰── VipsObject
             ├── VipsOperation
                ╰── VipsForeign
    diff -Nru vips-8.6.4/doc/html/using-from-c.html vips-8.6.5/doc/html/using-from-c.html
    --- vips-8.6.4/doc/html/using-from-c.html	2018-06-13 15:35:15.000000000 +0000
    +++ vips-8.6.5/doc/html/using-from-c.html	2018-07-25 10:11:02.000000000 +0000
    @@ -47,7 +47,7 @@
           you included. 
         

    - You can add the VIPS flags to your GObject command-line processing + You can add the VIPS flags to your GObject command-line processing with vips_add_option_entries().

    @@ -65,7 +65,7 @@

    Once you have an image, you can get properties from it in the usual way. You can use projection functions, like vips_image_get_width() or - g_object_get(), to get GObject properties. All VIPS objects are + g_object_get(), to get GObject properties. All VIPS objects are immutable, meaning you can only get properties, you can't set them. See VIPS Header to read about image properties. @@ -74,9 +74,9 @@

    Reference counting

    - VIPS is based on the GObject library and is therefore reference counted. + VIPS is based on the GObject library and is therefore reference counted. vips_image_new_from_file() returns an object with a count of 1. - When you are done with an image, use g_object_unref() to dispose of it. + When you are done with an image, use g_object_unref() to dispose of it. If you pass an image to an operation and that operation needs to keep a copy of the image, it will ref it. So you can unref an image as soon as you no longer need it, you don't need to hang on to it in case anyone @@ -277,12 +277,12 @@ if( vips_invert( in, &out, NULL ) ) vips_error_exit( NULL ); - g_object_unref( in ); + g_object_unref( in ); if( vips_image_write_to_file( out, argv[2], NULL ) ) vips_error_exit( NULL ); - g_object_unref( out ); + g_object_unref( out ); return( 0 ); } diff -Nru vips-8.6.4/doc/html/using-from-cpp.html vips-8.6.5/doc/html/using-from-cpp.html --- vips-8.6.4/doc/html/using-from-cpp.html 2018-06-13 15:35:15.000000000 +0000 +++ vips-8.6.5/doc/html/using-from-cpp.html 2018-07-25 10:11:02.000000000 +0000 @@ -91,11 +91,11 @@

    • VImage lifetime is managed automatically, like a smart - pointer. You don't need to call g_object_unref(). + pointer. You don't need to call g_object_unref().

    • - Instead of using varargs and a NULL-terminated option list, this + Instead of using varargs and a NULL-terminated option list, this function takes an optional VOption pointer. This gives a list of name / value pairs for optional arguments to the function. @@ -113,7 +113,7 @@

    • - Instead of returning NULL on error, this constructor will + Instead of returning NULL on error, this constructor will raise a VError exception.

    @@ -372,7 +372,7 @@

    Extending the C++ interface

    The C++ interface comes in two parts. First, VImage8.h - defines a simple layer over GObject for automatic reference counting, + defines a simple layer over GObject for automatic reference counting, then a generic way to call any vips8 operation with VImage::call(), then a few convenience functions, then a set of overloads.

    diff -Nru vips-8.6.4/doc/html/using-threads.html vips-8.6.5/doc/html/using-threads.html --- vips-8.6.4/doc/html/using-threads.html 2018-06-13 15:35:15.000000000 +0000 +++ vips-8.6.5/doc/html/using-threads.html 2018-07-25 10:11:02.000000000 +0000 @@ -60,7 +60,7 @@

    Error handling

    - libvips has a single error code (-1 or NULL) returned by all functions + libvips has a single error code (-1 or NULL) returned by all functions on error. Error messages are not returned, instead they are logged in a single global error buffer shared by all threads, see vips_error_buffer(). @@ -279,7 +279,7 @@ VipsImage *im, *x; char output_file[256]; - snprintf (output_file, 256, "x/tmp-%p.jpg", g_thread_self ()); + snprintf (output_file, 256, "x/tmp-%p.jpg", g_thread_self ()); if (!(im = vips_image_new_from_file (filename, "access", VIPS_ACCESS_SEQUENTIAL, @@ -288,18 +288,18 @@ if (vips_resize (im, &x, 0.1, NULL)) { - g_object_unref (im); + g_object_unref (im); return (-1); } - g_object_unref (im); + g_object_unref (im); im = x; if (vips_image_write_to_file (im, output_file, NULL)) { - g_object_unref (im); + g_object_unref (im); return (-1); } - g_object_unref (im); + g_object_unref (im); return (0); } @@ -316,11 +316,11 @@ gboolean done; done = FALSE; - g_mutex_lock (&allocation_lock); + g_mutex_lock (&allocation_lock); n_calls += 1; if (n_calls > TOTAL_TESTS) done = TRUE; - g_mutex_unlock (&allocation_lock); + g_mutex_unlock (&allocation_lock); if (done) break; @@ -340,13 +340,13 @@ if (VIPS_INIT (argv[0])) vips_error_exit (NULL); - g_mutex_init (&allocation_lock); + g_mutex_init (&allocation_lock); for (i = 0; i < NUM_IN_PARALLEL; i++) - workers[i] = g_thread_new (NULL, (GThreadFunc) worker, argv[1]); + workers[i] = g_thread_new (NULL, (GThreadFunc) worker, argv[1]); for (i = 0; i < NUM_IN_PARALLEL; i++) - g_thread_join (workers[i]); + g_thread_join (workers[i]); return (0); } diff -Nru vips-8.6.4/doc/html/VipsForeignSave.html vips-8.6.5/doc/html/VipsForeignSave.html --- vips-8.6.4/doc/html/VipsForeignSave.html 2018-06-13 15:35:15.000000000 +0000 +++ vips-8.6.5/doc/html/VipsForeignSave.html 2018-07-25 10:11:02.000000000 +0000 @@ -83,7 +83,7 @@

    - + - + @@ -536,7 +536,7 @@ - + @@ -547,7 +547,7 @@ - + @@ -564,12 +564,12 @@ - + - + @@ -629,7 +629,7 @@

    Object Hierarchy

    -
        GObject
    +
        GObject
         ╰── VipsObject
             ╰── VipsOperation
                 ╰── VipsForeign
    @@ -799,7 +799,7 @@
     
     typedef VipsForeignLoadClass VipsForeignLoadPngClass;
     
    -G_DEFINE_TYPE( VipsForeignLoadPng, vips_foreign_load_png, 
    +G_DEFINE_TYPE( VipsForeignLoadPng, vips_foreign_load_png, 
       VIPS_TYPE_FOREIGN_LOAD );
     
     static VipsForeignFlags
    @@ -849,7 +849,7 @@
     static void
     vips_foreign_load_png_class_init( VipsForeignLoadPngClass *class )
     {
    -  GObjectClass *gobject_class = G_OBJECT_CLASS( class );
    +  GObjectClass *gobject_class = G_OBJECT_CLASS( class );
       VipsObjectClass *object_class = (VipsObjectClass *) class;
       VipsForeignClass *foreign_class = (VipsForeignClass *) class;
       VipsForeignLoadClass *load_class = (VipsForeignLoadClass *) class;
    @@ -873,7 +873,7 @@
       	_( "Filename" ),
       	_( "Filename to load from" ),
       	VIPS_ARGUMENT_REQUIRED_INPUT, 
    -  	G_STRUCT_OFFSET( VipsForeignLoadPng, filename ),
    +  	G_STRUCT_OFFSET( VipsForeignLoadPng, filename ),
       	NULL );
     }
     
    @@ -978,7 +978,7 @@
     
     typedef VipsForeignSaveClass VipsForeignSaveCsvClass;
     
    -G_DEFINE_TYPE( VipsForeignSaveCsv, vips_foreign_save_csv, 
    +G_DEFINE_TYPE( VipsForeignSaveCsv, vips_foreign_save_csv, 
       VIPS_TYPE_FOREIGN_SAVE );
     
     static int
    @@ -1000,7 +1000,7 @@
     static void
     vips_foreign_save_csv_class_init( VipsForeignSaveCsvClass *class )
     {
    -  GObjectClass *gobject_class = G_OBJECT_CLASS( class );
    +  GObjectClass *gobject_class = G_OBJECT_CLASS( class );
       VipsObjectClass *object_class = (VipsObjectClass *) class;
       VipsForeignClass *foreign_class = (VipsForeignClass *) class;
       VipsForeignSaveClass *save_class = (VipsForeignSaveClass *) class;
    @@ -1022,21 +1022,21 @@
       	_( "Filename" ),
       	_( "Filename to save to" ),
       	VIPS_ARGUMENT_REQUIRED_INPUT, 
    -  	G_STRUCT_OFFSET( VipsForeignSaveCsv, filename ),
    +  	G_STRUCT_OFFSET( VipsForeignSaveCsv, filename ),
       	NULL );
     
       VIPS_ARG_STRING( class, "separator", 13, 
       	_( "Separator" ), 
       	_( "Separator characters" ),
       	VIPS_ARGUMENT_OPTIONAL_INPUT,
    -  	G_STRUCT_OFFSET( VipsForeignSaveCsv, separator ),
    +  	G_STRUCT_OFFSET( VipsForeignSaveCsv, separator ),
       	"\t" ); 
     }
     
     static void
     vips_foreign_save_csv_init( VipsForeignSaveCsv *csv )
     {
    -  csv->separator = g_strdup( "\t" );
    +  csv->separator = g_strdup( "\t" );
     }
    @@ -1058,9 +1058,9 @@

    Apply a function to every VipsForeignClass that VIPS knows about. Foreigns are presented to the function in priority order.

    Like all VIPS map functions, if fn - returns NULL, iteration continues. If -it returns non-NULL, iteration terminates and that value is returned. The -map function returns NULL if all calls return NULL.

    + returns NULL, iteration continues. If +it returns non-NULL, iteration terminates and that value is returned. The +map function returns NULL if all calls return NULL.

    See also: vips_slist_map().

    Parameters

    @@ -1127,7 +1127,7 @@

    Returns

    -

    the name of an operation on success, NULL on error

    +

    the name of an operation on success, NULL on error


    @@ -1166,7 +1166,7 @@

    Returns

    -

    the name of an operation on success, NULL on +

    the name of an operation on success, NULL on error.

    [transfer none]

    @@ -1213,10 +1213,10 @@

    vips_foreign_is_a ()

    -
    gboolean
    +
    gboolean
     vips_foreign_is_a (const char *loader,
                        const char *filename);
    -

    Return TRUE if filename +

    Return TRUE if filename can be loaded by loader . loader is something @@ -1245,7 +1245,7 @@

    Returns

    -

    TRUE if filename +

    TRUE if filename can be loaded by loader .

    @@ -1253,11 +1253,11 @@

    vips_foreign_is_a_buffer ()

    -
    gboolean
    +
    gboolean
     vips_foreign_is_a_buffer (const char *loader,
                               const void *data,
                               size_t size);
    -

    Return TRUE if data +

    Return TRUE if data can be loaded by loader . loader is something @@ -1291,7 +1291,7 @@

    Returns

    -

    TRUE if data +

    TRUE if data can be loaded by loader .

    @@ -1352,7 +1352,7 @@

    Returns

    -

    the name of an operation on success, NULL on error

    +

    the name of an operation on success, NULL on error


    @@ -1381,7 +1381,7 @@

    Returns

    -

    the name of an operation on success, NULL on error

    +

    the name of an operation on success, NULL on error


    @@ -1414,7 +1414,7 @@ - + @@ -1458,7 +1458,7 @@ - + @@ -1523,7 +1523,7 @@ - + @@ -1544,11 +1544,11 @@

    Optional arguments:

    • shrink -: gint, shrink by this much on load

    • +: gint, shrink by this much on load

    • fail -: gboolean, fail on errors

    • +: gboolean, fail on errors

    • autorotate -: gboolean, use exif Orientation tag to rotate the image +: gboolean, use exif Orientation tag to rotate the image during load

    Read a JPEG file into a VIPS image. It can read most 8-bit JPEG images, @@ -1558,15 +1558,15 @@ are 1, 2, 4 and 8. Shrinking during read is very much faster than decompressing the whole image and then shrinking later.

    Setting fail - to TRUE makes the JPEG reader fail on any errors. + to TRUE makes the JPEG reader fail on any errors. This can be useful for detecting truncated files, for example. Normally reading these produces a warning, but no fatal error.

    Setting autorotate - to TRUE will make the loader interpret the + to TRUE will make the loader interpret the orientation tag and automatically rotate the image appropriately during load.

    If autorotate - is FALSE, the metadata field VIPS_META_ORIENTATION is set + is FALSE, the metadata field VIPS_META_ORIENTATION is set to the value of the orientation tag. Applications may read and interpret this field as they wish later in processing. See vips_autorot(). Save @@ -1625,7 +1625,7 @@

    - + @@ -1647,11 +1647,11 @@

    Optional arguments:

    • shrink -: gint, shrink by this much on load

    • +: gint, shrink by this much on load

    • fail -: gboolean, fail on errors

    • +: gboolean, fail on errors

    • autorotate -: gboolean, use exif Orientation tag to rotate the image +: gboolean, use exif Orientation tag to rotate the image during load

    Read a JPEG-formatted memory block into a VIPS image. Exactly as @@ -1687,7 +1687,7 @@

    - + @@ -1708,25 +1708,25 @@

    Optional arguments:

    • Q -: gint, quality factor

    • +: gint, quality factor

    • profile : filename of ICC profile to attach

    • optimize_coding -: gboolean, compute optimal Huffman coding tables

    • +: gboolean, compute optimal Huffman coding tables

    • interlace -: gboolean, write an interlaced (progressive) jpeg

    • +: gboolean, write an interlaced (progressive) jpeg

    • strip -: gboolean, remove all metadata from image

    • +: gboolean, remove all metadata from image

    • no_subsample -: gboolean, disable chroma subsampling

    • +: gboolean, disable chroma subsampling

    • trellis_quant -: gboolean, apply trellis quantisation to each 8x8 block

    • +: gboolean, apply trellis quantisation to each 8x8 block

    • overshoot_deringing -: gboolean, overshoot samples with extreme values

    • +: gboolean, overshoot samples with extreme values

    • optimize_scans -: gboolean, split DCT coefficients into separate scans

    • +: gboolean, split DCT coefficients into separate scans

    • quant_table -: gint, quantization table index

    • +: gint, quantization table index

    Write a VIPS image to a file as JPEG.

    Use Q @@ -1824,7 +1824,7 @@

    - + @@ -1846,31 +1846,31 @@

    Optional arguments:

    • Q -: gint, quality factor

    • +: gint, quality factor

    • profile : filename of ICC profile to attach

    • optimize_coding -: gboolean, compute optimal Huffman coding tables

    • +: gboolean, compute optimal Huffman coding tables

    • interlace -: gboolean, write an interlaced (progressive) jpeg

    • +: gboolean, write an interlaced (progressive) jpeg

    • strip -: gboolean, remove all metadata from image

    • +: gboolean, remove all metadata from image

    • no_subsample -: gboolean, disable chroma subsampling

    • +: gboolean, disable chroma subsampling

    • trellis_quant -: gboolean, apply trellis quantisation to each 8x8 block

    • +: gboolean, apply trellis quantisation to each 8x8 block

    • overshoot_deringing -: gboolean, overshoot samples with extreme values

    • +: gboolean, overshoot samples with extreme values

    • optimize_scans -: gboolean, split DCT coefficients into separate scans

    • +: gboolean, split DCT coefficients into separate scans

    • quant_table -: gint, quantization table index

    • +: gint, quantization table index

    As vips_jpegsave(), but save to a memory buffer.

    The address of the buffer is returned in obuf , the length of the buffer in olen -. You are responsible for freeing the buffer with g_free() when you +. You are responsible for freeing the buffer with g_free() when you are done with it.

    See also: vips_jpegsave(), vips_image_write_to_file().

    [method]

    @@ -1900,7 +1900,7 @@ - + @@ -1920,25 +1920,25 @@

    Optional arguments:

    • Q -: gint, quality factor

    • +: gint, quality factor

    • profile : filename of ICC profile to attach

    • optimize_coding -: gboolean, compute optimal Huffman coding tables

    • +: gboolean, compute optimal Huffman coding tables

    • interlace -: gboolean, write an interlaced (progressive) jpeg

    • +: gboolean, write an interlaced (progressive) jpeg

    • strip -: gboolean, remove all metadata from image

    • +: gboolean, remove all metadata from image

    • no_subsample -: gboolean, disable chroma subsampling

    • +: gboolean, disable chroma subsampling

    • trellis_quant -: gboolean, apply trellis quantisation to each 8x8 block

    • +: gboolean, apply trellis quantisation to each 8x8 block

    • overshoot_deringing -: gboolean, overshoot samples with extreme values

    • +: gboolean, overshoot samples with extreme values

    • optimize_scans -: gboolean, split DCT coefficients into separate scans

    • +: gboolean, split DCT coefficients into separate scans

    • quant_table -: gint, quantization table index

    • +: gint, quantization table index

    As vips_jpegsave(), but save as a mime jpeg on stdout.

    See also: vips_jpegsave(), vips_image_write_to_file().

    @@ -1959,7 +1959,7 @@ - + @@ -1979,7 +1979,7 @@ ...);

    Optional arguments:

    • shrink -: gint, shrink by this much on load

    +: gint, shrink by this much on load

    Read a WebP file into a VIPS image.

    Use shrink to specify a shrink-on-load factor.

    @@ -2007,7 +2007,7 @@ - + @@ -2028,7 +2028,7 @@ ...);

    Optional arguments:

    • shrink -: gint, shrink by this much on load

    +: gint, shrink by this much on load

    Read a WebP-formatted memory block into a VIPS image. Exactly as vips_webpload(), but read from a memory buffer.

    You must not free the buffer while out @@ -2062,7 +2062,7 @@

    - + @@ -2083,19 +2083,19 @@

    Optional arguments:

    • Q -: gint, quality factor

    • +: gint, quality factor

    • lossless -: gboolean, enables lossless compression

    • +: gboolean, enables lossless compression

    • preset : VipsForeignWebpPreset, choose lossy compression preset

    • smart_subsample -: gboolean, enables high quality chroma subsampling

    • +: gboolean, enables high quality chroma subsampling

    • near_lossless -: gboolean, preprocess in lossless mode (controlled by Q)

    • +: gboolean, preprocess in lossless mode (controlled by Q)

    • alpha_q -: gint, set alpha quality in lossless mode

    • +: gint, set alpha quality in lossless mode

    • strip -: gboolean, remove all metadata from image

    • +: gboolean, remove all metadata from image

    Write an image to a file in WebP format.

    By default, images are saved in lossy format, with @@ -2118,7 +2118,7 @@ which improves the near-lossless compression ratio by up to 50%.

    The writer will attach ICC, EXIF and XMP metadata, unless strip is set to -TRUE.

    +TRUE.

    See also: vips_webpload(), vips_image_write_to_file().

    [method]

    @@ -2142,7 +2142,7 @@
    - + @@ -2164,25 +2164,25 @@

    Optional arguments:

    • Q -: gint, quality factor

    • +: gint, quality factor

    • lossless -: gboolean, enables lossless compression

    • +: gboolean, enables lossless compression

    • preset : VipsForeignWebpPreset, choose lossy compression preset

    • smart_subsample -: gboolean, enables high quality chroma subsampling

    • +: gboolean, enables high quality chroma subsampling

    • near_lossless -: gboolean, preprocess in lossless mode (controlled by Q)

    • +: gboolean, preprocess in lossless mode (controlled by Q)

    • alpha_q -: gint, set alpha quality in lossless mode

    • +: gint, set alpha quality in lossless mode

    • strip -: gboolean, remove all metadata from image

    • +: gboolean, remove all metadata from image

    As vips_webpsave(), but save to a memory buffer.

    The address of the buffer is returned in buf , the length of the buffer in len -. You are responsible for freeing the buffer with g_free() when you +. You are responsible for freeing the buffer with g_free() when you are done with it.

    See also: vips_webpsave().

    [method]

    @@ -2212,7 +2212,7 @@ - + @@ -2232,19 +2232,19 @@

    Optional arguments:

    • Q -: gint, quality factor

    • +: gint, quality factor

    • lossless -: gboolean, enables lossless compression

    • +: gboolean, enables lossless compression

    • preset : VipsForeignWebpPreset, choose lossy compression preset

    • smart_subsample -: gboolean, enables high quality chroma subsampling

    • +: gboolean, enables high quality chroma subsampling

    • near_lossless -: gboolean, preprocess in lossless mode (controlled by Q)

    • +: gboolean, preprocess in lossless mode (controlled by Q)

    • alpha_q -: gint, set alpha quality in lossless mode

    • +: gint, set alpha quality in lossless mode

    • strip -: gboolean, remove all metadata from image

    • +: gboolean, remove all metadata from image

    As vips_webpsave(), but save as a mime webp on stdout.

    See also: vips_webpsave(), vips_image_write_to_file().

    @@ -2265,7 +2265,7 @@ - + @@ -2286,11 +2286,11 @@

    Optional arguments:

    • page -: gint, load this page

    • +: gint, load this page

    • n -: gint, load this many pages

    • +: gint, load this many pages

    • autorotate -: gboolean, use orientation tag to rotate the image +: gboolean, use orientation tag to rotate the image during load

    Read a TIFF file into a VIPS image. It is a full baseline TIFF 6 reader, @@ -2305,11 +2305,11 @@ "toilet roll" image. The VIPS_META_PAGE_HEIGHT metadata tag gives the height in pixels of each page. Use -1 to load all pages.

    Setting autorotate - to TRUE will make the loader interpret the + to TRUE will make the loader interpret the orientation tag and automatically rotate the image appropriately during load.

    If autorotate - is FALSE, the metadata field VIPS_META_ORIENTATION is set + is FALSE, the metadata field VIPS_META_ORIENTATION is set to the value of the orientation tag. Applications may read and interpret this field as they wish later in processing. See vips_autorot(). Save @@ -2343,7 +2343,7 @@

    - + @@ -2365,11 +2365,11 @@

    Optional arguments:

    • page -: gint, load this page

    • +: gint, load this page

    • n -: gint, load this many pages

    • +: gint, load this many pages

    • autorotate -: gboolean, use orientation tag to rotate the image +: gboolean, use orientation tag to rotate the image during load

    Read a TIFF-formatted memory block into a VIPS image. Exactly as @@ -2405,7 +2405,7 @@

    - + @@ -2428,37 +2428,37 @@
  • compression : use this VipsForeignTiffCompression

  • Q -: gint quality factor

  • +: gint quality factor

  • predictor : use this VipsForeignTiffPredictor

  • profile : filename of ICC profile to attach

  • tile -: set TRUE to write a tiled tiff

  • +: set TRUE to write a tiled tiff

  • tile_width -: gint for tile size

  • +: gint for tile size

  • tile_height -: gint for tile size

  • +: gint for tile size

  • pyramid -: set TRUE to write an image pyramid

  • +: set TRUE to write an image pyramid

  • squash -: set TRUE to squash 8-bit images down to 1 bit

  • +: set TRUE to squash 8-bit images down to 1 bit

  • miniswhite -: set TRUE to write 1-bit images as MINISWHITE

  • +: set TRUE to write 1-bit images as MINISWHITE

  • resunit : VipsForeignTiffResunit for resolution unit

  • xres -: gdouble horizontal resolution in pixels/mm

  • +: gdouble horizontal resolution in pixels/mm

  • yres -: gdouble vertical resolution in pixels/mm

  • +: gdouble vertical resolution in pixels/mm

  • bigtiff -: set TRUE to write a BigTiff file

  • +: set TRUE to write a BigTiff file

  • properties -: set TRUE to write an IMAGEDESCRIPTION tag

  • +: set TRUE to write an IMAGEDESCRIPTION tag

  • strip -: set TRUE to block metadata save

  • +: set TRUE to block metadata save

  • page_height -: gint for page height for multi-page save

  • +: gint for page height for multi-page save

    Write a VIPS image to a file as TIFF.

    If in @@ -2553,7 +2553,7 @@

    - + @@ -2577,43 +2577,43 @@
  • compression : use this VipsForeignTiffCompression

  • Q -: gint quality factor

  • +: gint quality factor

  • predictor : use this VipsForeignTiffPredictor

  • profile : filename of ICC profile to attach

  • tile -: set TRUE to write a tiled tiff

  • +: set TRUE to write a tiled tiff

  • tile_width -: gint for tile size

  • +: gint for tile size

  • tile_height -: gint for tile size

  • +: gint for tile size

  • pyramid -: set TRUE to write an image pyramid

  • +: set TRUE to write an image pyramid

  • squash -: set TRUE to squash 8-bit images down to 1 bit

  • +: set TRUE to squash 8-bit images down to 1 bit

  • miniswhite -: set TRUE to write 1-bit images as MINISWHITE

  • +: set TRUE to write 1-bit images as MINISWHITE

  • resunit : VipsForeignTiffResunit for resolution unit

  • xres -: gdouble horizontal resolution in pixels/mm

  • +: gdouble horizontal resolution in pixels/mm

  • yres -: gdouble vertical resolution in pixels/mm

  • +: gdouble vertical resolution in pixels/mm

  • bigtiff -: set TRUE to write a BigTiff file

  • +: set TRUE to write a BigTiff file

  • properties -: set TRUE to write an IMAGEDESCRIPTION tag

  • +: set TRUE to write an IMAGEDESCRIPTION tag

  • strip -: set TRUE to block metadata save

  • +: set TRUE to block metadata save

  • page_height -: gint for page height for multi-page save

  • +: gint for page height for multi-page save

    As vips_tiffsave(), but save to a memory buffer.

    The address of the buffer is returned in buf , the length of the buffer in len -. You are responsible for freeing the buffer with g_free() when you +. You are responsible for freeing the buffer with g_free() when you are done with it.

    See also: vips_tiffsave(), vips_image_write_to_file().

    [method]

    @@ -2643,7 +2643,7 @@ - + @@ -2689,7 +2689,7 @@ - + @@ -2735,7 +2735,7 @@ - + @@ -2777,7 +2777,7 @@ - + @@ -2824,7 +2824,7 @@ - + @@ -2847,7 +2847,7 @@ ...);

    Optional arguments:

    • offset -: guint64, offset in bytes from start of file

    +: guint64, offset in bytes from start of file

    This operation mmaps the file, setting up out so that access to that image will read from the file.

    @@ -2895,7 +2895,7 @@ - + @@ -2940,7 +2940,7 @@ - + @@ -2985,7 +2985,7 @@ - + @@ -3014,7 +3014,7 @@
  • separator : set of separator characters

  • fail -: gboolean, fail on errors

  • +: gboolean, fail on errors

    Load a CSV (comma-separated values) file. The output image is always 1 band (monochrome), VIPS_FORMAT_DOUBLE. Use vips_bandfold() to turn @@ -3040,7 +3040,7 @@ sets the characters that separate fields. Default ;,tab. Separators are never run together.

    Setting fail - to TRUE makes the reader fail on any errors.

    + to TRUE makes the reader fail on any errors.

    See also: vips_image_new_from_file(), vips_bandfold().

    Parameters

    @@ -3063,7 +3063,7 @@
    - + @@ -3117,7 +3117,7 @@ - + @@ -3174,7 +3174,7 @@ - + @@ -3219,7 +3219,7 @@ - + @@ -3257,7 +3257,7 @@ - + @@ -3278,9 +3278,9 @@

    Optional arguments:

    • page -: gint, load from this page

    • +: gint, load from this page

    • n -: gint, load this many pages

    • +: gint, load this many pages

    • density : string, canvas resolution for rendering vector formats like SVG

    @@ -3326,7 +3326,7 @@ - + @@ -3348,9 +3348,9 @@

    Optional arguments:

    • page -: gint, load from this page

    • +: gint, load from this page

    • n -: gint, load this many pages

    • +: gint, load this many pages

    • density : string, canvas resolution for rendering vector formats like SVG

    @@ -3387,7 +3387,7 @@ - + @@ -3430,7 +3430,7 @@ - + @@ -3484,7 +3484,7 @@ - + @@ -3517,7 +3517,7 @@

    compression means compress with this much effort (0 - 9). Default 6.

    Set interlace - to TRUE to interlace the image with ADAM7 + to TRUE to interlace the image with ADAM7 interlacing. Beware than an interlaced PNG can be up to 7 times slower to write than a non-interlaced image.

    @@ -3559,7 +3559,7 @@ - + @@ -3593,7 +3593,7 @@

    The address of the buffer is returned in buf , the length of the buffer in len -. You are responsible for freeing the buffer with g_free() when you +. You are responsible for freeing the buffer with g_free() when you are done with it.

    See also: vips_pngsave(), vips_image_write_to_file().

    [method]

    @@ -3623,7 +3623,7 @@ - + @@ -3667,7 +3667,7 @@ - + @@ -3699,10 +3699,10 @@

    When writing float (PFM) images the scale factor is set from the "pfm-scale" metadata.

    Set ascii - to TRUE to write as human-readable ASCII. Normally data is + to TRUE to write as human-readable ASCII. Normally data is written in binary.

    Set squash - to TRUE to squash 8-bit images down to one bit. The saver does + to TRUE to squash 8-bit images down to one bit. The saver does no dithering, that's up to you.

    See also: vips_image_write_to_file().

    [method]

    @@ -3727,7 +3727,7 @@ - + @@ -3772,7 +3772,7 @@ - + @@ -3822,7 +3822,7 @@ - + @@ -3865,7 +3865,7 @@ - + @@ -3888,7 +3888,7 @@

    The address of the buffer is returned in buf , the length of the buffer in len -. You are responsible for freeing the buffer with g_free() when you +. You are responsible for freeing the buffer with g_free() when you are done with it.

    See also: vips_radsave(), vips_image_write_to_file().

    [method]

    @@ -3918,7 +3918,7 @@ - + @@ -3939,13 +3939,13 @@

    Optional arguments:

    • page -: gint, load this page, numbered from zero

    • +: gint, load this page, numbered from zero

    • n -: gint, load this many pages

    • +: gint, load this many pages

    • dpi -: gdouble, render at this DPI

    • +: gdouble, render at this DPI

    • scale -: gdouble, scale render by this factor

    • +: gdouble, scale render by this factor

    Render a PDF file into a VIPS image. Rendering uses the libpoppler library and should be fast.

    @@ -4008,7 +4008,7 @@ - + @@ -4030,13 +4030,13 @@

    Optional arguments:

    • page -: gint, load this page, numbered from zero

    • +: gint, load this page, numbered from zero

    • n -: gint, load this many pages

    • +: gint, load this many pages

    • dpi -: gdouble, render at this DPI

    • +: gdouble, render at this DPI

    • scale -: gdouble, scale render by this factor

    • +: gdouble, scale render by this factor

    Read a PDF-formatted memory block into a VIPS image. Exactly as vips_pdfload(), but read from a memory buffer.

    @@ -4071,7 +4071,7 @@ - + @@ -4092,9 +4092,9 @@

    Optional arguments:

    • dpi -: gdouble, render at this DPI

    • +: gdouble, render at this DPI

    • scale -: gdouble, scale render by this factor

    • +: gdouble, scale render by this factor

    Render a SVG file into a VIPS image. Rendering uses the librsvg library and should be fast.

    @@ -4126,7 +4126,7 @@ - + @@ -4148,9 +4148,9 @@

    Optional arguments:

    • dpi -: gdouble, render at this DPI

    • +: gdouble, render at this DPI

    • scale -: gdouble, scale render by this factor

    • +: gdouble, scale render by this factor

    Read a SVG-formatted memory block into a VIPS image. Exactly as vips_svgload(), but read from a memory buffer.

    @@ -4185,7 +4185,7 @@ - + @@ -4206,9 +4206,9 @@

    Optional arguments:

    • page -: gint, page (frame) to read

    • +: gint, page (frame) to read

    • n -: gint, load this many pages

    • +: gint, load this many pages

    Read a GIF file into a VIPS image. Rendering uses the giflib library.

    Use page @@ -4242,7 +4242,7 @@

    - + @@ -4264,9 +4264,9 @@

    Optional arguments:

    • page -: gint, page (frame) to read

    • +: gint, page (frame) to read

    • n -: gint, load this many pages

    • +: gint, load this many pages

    Read a GIF-formatted memory block into a VIPS image. Exactly as vips_gifload(), but read from a memory buffer.

    @@ -4301,7 +4301,7 @@ - + @@ -4322,29 +4322,29 @@

    Optional arguments:

    • basename -: gchar, base part of name

    • +: gchar, base part of name

    • layout : VipsForeignDzLayout directory layout convention

    • suffix : suffix for tile tiles

    • overlap -: gint set tile overlap

    • +: gint set tile overlap

    • tile_size -: gint set tile size

    • +: gint set tile size

    • background : VipsArrayDouble background colour

    • depth : VipsForeignDzDepth how deep to make the pyramid

    • centre -: gboolean centre the tiles

    • +: gboolean centre the tiles

    • angle : VipsAngle rotate the image by this much

    • container : VipsForeignDzContainer set container type

    • properties -: gboolean write a properties file

    • +: gboolean write a properties file

    • compression -: gint zip deflate compression level

    • +: gint zip deflate compression level

    Save an image as a set of tiles at various resolutions. By default dzsave uses DeepZoom layout -- use layout @@ -4383,7 +4383,7 @@ correct setting for the layout you select.

    If properties - is TRUE, vips_dzsave() will write a file called + is TRUE, vips_dzsave() will write a file called vips-properties.xml to the output directory. This file lists all of the metadata attached to in in an obvious manner. It can be useful for viewing @@ -4416,7 +4416,7 @@

    - + @@ -4960,7 +4960,7 @@

    The “disc” property

    -
      “disc”                     gboolean
    +
      “disc”                     gboolean

    Open to disc.

    Flags: Read / Write

    Default value: TRUE

    @@ -4968,7 +4968,7 @@

    The “fail” property

    -
      “fail”                     gboolean
    +
      “fail”                     gboolean

    Fail on first error.

    Flags: Read / Write

    Default value: FALSE

    @@ -4983,7 +4983,7 @@

    The “memory” property

    -
      “memory”                   gboolean
    +
      “memory”                   gboolean

    Force open via memory.

    Flags: Read / Write

    Default value: FALSE

    @@ -4998,7 +4998,7 @@

    The “sequential” property

    -
      “sequential”               gboolean
    +
      “sequential”               gboolean

    Sequential read only.

    Flags: Read / Write

    Default value: FALSE

    @@ -5020,7 +5020,7 @@

    The “page-height” property

    -
      “page-height”              gint
    +
      “page-height”              gint

    Set page height for multipage save.

    Flags: Read / Write

    Allowed values: [0,10000000]

    @@ -5029,7 +5029,7 @@

    The “strip” property

    -
      “strip”                    gboolean
    +
      “strip”                    gboolean

    Strip all metadata from image.

    Flags: Read / Write

    Default value: FALSE

    diff -Nru vips-8.6.4/doc/html/VipsImage.html vips-8.6.5/doc/html/VipsImage.html --- vips-8.6.4/doc/html/VipsImage.html 2018-06-13 15:35:15.000000000 +0000 +++ vips-8.6.5/doc/html/VipsImage.html 2018-07-25 10:11:02.000000000 +0000 @@ -296,7 +296,7 @@
    - + @@ -611,12 +611,12 @@ +gchar * - + @@ -626,7 +626,7 @@ - + @@ -636,43 +636,43 @@ - + +gchar * - + - + - + - + - + - + @@ -691,32 +691,32 @@ - + - + - + - + - + - +
    -gboolean +gboolean vips_foreign_is_a () @@ -91,7 +91,7 @@
    -gboolean +gboolean vips_foreign_is_a_buffer () @@ -521,12 +521,12 @@ Read / Write
    gbooleangboolean disc Read / Write
    gbooleangboolean fail Read / Write
    Read / Write
    gbooleangboolean memory Read / Write
    Read / Write
    gbooleangboolean sequential Read / Write
    Read / Write
    gintgint page-height Read / Write
    gbooleangboolean strip Read / Write

    ...

    NULL-terminated list of optional named arguments

    NULL-terminated list of optional named arguments

     

    ...

    NULL-terminated list of optional named arguments

    NULL-terminated list of optional named arguments

     

    ...

    NULL-terminated list of optional named arguments

    NULL-terminated list of optional named arguments

     

    ...

    NULL-terminated list of optional named arguments

    NULL-terminated list of optional named arguments

     

    ...

    NULL-terminated list of optional named arguments

    NULL-terminated list of optional named arguments

     

    ...

    NULL-terminated list of optional named arguments

    NULL-terminated list of optional named arguments

     

    ...

    NULL-terminated list of optional named arguments

    NULL-terminated list of optional named arguments

     

    ...

    NULL-terminated list of optional named arguments

    NULL-terminated list of optional named arguments

     

    ...

    NULL-terminated list of optional named arguments

    NULL-terminated list of optional named arguments

     

    ...

    NULL-terminated list of optional named arguments

    NULL-terminated list of optional named arguments

     

    ...

    NULL-terminated list of optional named arguments

    NULL-terminated list of optional named arguments

     

    ...

    NULL-terminated list of optional named arguments

    NULL-terminated list of optional named arguments

     

    ...

    NULL-terminated list of optional named arguments

    NULL-terminated list of optional named arguments

     

    ...

    NULL-terminated list of optional named arguments

    NULL-terminated list of optional named arguments

     

    ...

    NULL-terminated list of optional named arguments

    NULL-terminated list of optional named arguments

     

    ...

    NULL-terminated list of optional named arguments

    NULL-terminated list of optional named arguments

     

    ...

    NULL-terminated list of optional named arguments

    NULL-terminated list of optional named arguments

     

    ...

    NULL-terminated list of optional named arguments

    NULL-terminated list of optional named arguments

     

    ...

    NULL-terminated list of optional named arguments

    NULL-terminated list of optional named arguments

     

    ...

    NULL-terminated list of optional named arguments

    NULL-terminated list of optional named arguments

     

    ...

    NULL-terminated list of optional named arguments

    NULL-terminated list of optional named arguments

     

    ...

    NULL-terminated list of optional named arguments

    NULL-terminated list of optional named arguments

     

    ...

    NULL-terminated list of optional named arguments

    NULL-terminated list of optional named arguments

     

    ...

    NULL-terminated list of optional named arguments

    NULL-terminated list of optional named arguments

     

    ...

    NULL-terminated list of optional named arguments

    NULL-terminated list of optional named arguments

     

    ...

    NULL-terminated list of optional named arguments

    NULL-terminated list of optional named arguments

     

    ...

    NULL-terminated list of optional named arguments

    NULL-terminated list of optional named arguments

     

    ...

    NULL-terminated list of optional named arguments

    NULL-terminated list of optional named arguments

     

    ...

    NULL-terminated list of optional named arguments

    NULL-terminated list of optional named arguments

     

    ...

    NULL-terminated list of optional named arguments

    NULL-terminated list of optional named arguments

     

    ...

    NULL-terminated list of optional named arguments

    NULL-terminated list of optional named arguments

     

    ...

    NULL-terminated list of optional named arguments

    NULL-terminated list of optional named arguments

     

    ...

    NULL-terminated list of optional named arguments

    NULL-terminated list of optional named arguments

     

    ...

    NULL-terminated list of optional named arguments

    NULL-terminated list of optional named arguments

     

    ...

    NULL-terminated list of optional named arguments

    NULL-terminated list of optional named arguments

     

    ...

    NULL-terminated list of optional named arguments

    NULL-terminated list of optional named arguments

     

    ...

    NULL-terminated list of optional named arguments

    NULL-terminated list of optional named arguments

     

    ...

    NULL-terminated list of optional named arguments

    NULL-terminated list of optional named arguments

     

    ...

    NULL-terminated list of optional named arguments

    NULL-terminated list of optional named arguments

     

    ...

    NULL-terminated list of optional named arguments

    NULL-terminated list of optional named arguments

     

    ...

    NULL-terminated list of optional named arguments

    NULL-terminated list of optional named arguments

     

    ...

    NULL-terminated list of optional named arguments

    NULL-terminated list of optional named arguments

     

    ...

    NULL-terminated list of optional named arguments

    NULL-terminated list of optional named arguments

     

    ...

    NULL-terminated list of optional named arguments

    NULL-terminated list of optional named arguments

     

    ...

    NULL-terminated list of optional named arguments

    NULL-terminated list of optional named arguments

     

    ...

    NULL-terminated list of optional named arguments

    NULL-terminated list of optional named arguments

     

    ...

    NULL-terminated list of optional named arguments

    NULL-terminated list of optional named arguments

     

    ...

    NULL-terminated list of optional named arguments

    NULL-terminated list of optional named arguments

     
    -guint64 +guint64 vips_get_disc_threshold () @@ -368,7 +368,7 @@
    -gboolean +gboolean vips_image_isMSBfirst () @@ -376,7 +376,7 @@
    -gboolean +gboolean vips_image_isfile () @@ -384,7 +384,7 @@
    -gboolean +gboolean vips_image_ispartial () @@ -392,7 +392,7 @@
    -gboolean +gboolean vips_image_hasalpha () @@ -456,7 +456,7 @@
    -gboolean +gboolean vips_band_format_isint () @@ -464,7 +464,7 @@
    -gboolean +gboolean vips_band_format_isuint () @@ -472,7 +472,7 @@
    -gboolean +gboolean vips_band_format_is8bit () @@ -480,7 +480,7 @@
    -gboolean +gboolean vips_band_format_isfloat () @@ -488,7 +488,7 @@
    -gboolean +gboolean vips_band_format_iscomplex () @@ -595,7 +595,7 @@
    gintgint bands Read / Write
    -gchar * filename Read / Write
    gpointergpointer foreign-buffer Read / Write
    Read / Write
    gintgint height Read / Write
    Read / Write
    gbooleangboolean kill Read / Write
    -gchar * mode Read / Write
    guint64guint64 sizeof-header Read / Write
    gintgint width Read / Write
    gintgint xoffset Read / Write
    gdoublegdouble xres Read / Write
    gintgint yoffset Read / Write
    gdoublegdouble yres Read / Write
    void evalRun LastRun Last
    void invalidateActionAction
    void minimiseActionAction
    void postevalRun LastRun Last
    void preevalRun LastRun Last
    void writtenActionAction
    @@ -774,7 +774,7 @@

    Object Hierarchy

    -
        GObject
    +
        GObject
         ╰── VipsObject
             ╰── VipsImage
     
    @@ -795,7 +795,7 @@ pixels. It delays reading any pixels until they are really needed.

    Once you have an image, you can get properties from it in the usual way. You can use projection functions, like vips_image_get_width() or -g_object_get(), to get GObject properties.

    +g_object_get(), to get GObject properties.

    VIPS images are three-dimensional arrays, the dimensions being width, height and bands. Each dimension can be up to 2 ** 31 pixels (or band elements). An image has a format, meaning the machine number type used @@ -885,12 +885,12 @@ void *seq, void *a, void *b, - gboolean *stop);

    + gboolean *stop);

    Fill out->valid with pixels. seq contains per-thread state, such as the input regions. Set stop - to TRUE to stop processing.

    + to TRUE to stop processing.

    See also: vips_image_generate(), vips_stop_many().

    Parameters

    @@ -1191,7 +1191,7 @@

    vips_progress_set ()

    void
    -vips_progress_set (gboolean progress);
    +vips_progress_set (gboolean progress);

    If set, vips will print messages about the progress of computation to stdout. This can also be enabled with the --vips-progress option, or by setting the environment variable VIPS_PROGRESS.

    @@ -1205,7 +1205,7 @@

    progress

    TRUE to enable progress messages

    TRUE to enable progress messages

     
    @@ -1272,7 +1272,7 @@

    vips_image_set_progress ()

    void
     vips_image_set_progress (VipsImage *image,
    -                         gboolean progress);
    + gboolean progress);

    vips signals evaluation progress via the “preeval”, “eval” and “posteval” signals. Progress is signalled on the most-downstream image for which @@ -1373,7 +1373,7 @@

    [constructor]

    Returns

    -

    the new VipsImage, or NULL on error.

    +

    the new VipsImage, or NULL on error.

    [transfer full]

    @@ -1388,7 +1388,7 @@

    [constructor]

    Returns

    -

    the new VipsImage, or NULL on error.

    +

    the new VipsImage, or NULL on error.

    [transfer full]

    @@ -1403,7 +1403,7 @@

    [constructor]

    Returns

    -

    the new VipsImage, or NULL on error.

    +

    the new VipsImage, or NULL on error.

    [transfer full]

    @@ -1444,7 +1444,7 @@ then processed from there. Large images are decompressed to temporary random-access files on disc and then processed from there.

    Set memory - to TRUE to force loading via memory. The default is to load + to TRUE to force loading via memory. The default is to load large random access images via temporary disc files. See vips_image_new_temp_file() for an explanation of how VIPS selects a location for the temporary file.

    @@ -1509,7 +1509,7 @@

    ...

    -

    NULL-terminated list of optional named arguments

    +

    NULL-terminated list of optional named arguments

      @@ -1517,7 +1517,7 @@

    Returns

    -

    the new VipsImage, or NULL on error.

    +

    the new VipsImage, or NULL on error.

    [transfer full]

    @@ -1548,7 +1548,7 @@

    Returns

    -

    the new VipsImage, or NULL on error.

    +

    the new VipsImage, or NULL on error.

    [transfer full]

    @@ -1560,7 +1560,7 @@ int xsize, int ysize, int bands, - guint64 offset); + guint64 offset);

    This function maps the named file and returns a VipsImage you can use to read it.

    It returns an 8-bit image with bands @@ -1607,7 +1607,7 @@

    Returns

    -

    the new VipsImage, or NULL on error.

    +

    the new VipsImage, or NULL on error.

    [transfer full]

    @@ -1681,7 +1681,7 @@

    Returns

    -

    the new VipsImage, or NULL on error.

    +

    the new VipsImage, or NULL on error.

    [transfer full]

    @@ -1745,7 +1745,7 @@

    Returns

    -

    the new VipsImage, or NULL on error.

    +

    the new VipsImage, or NULL on error.

    [transfer full]

    @@ -1798,7 +1798,7 @@

    ...

    -

    NULL-terminated list of optional named arguments

    +

    NULL-terminated list of optional named arguments

      @@ -1806,7 +1806,7 @@

    Returns

    -

    the new VipsImage, or NULL on error.

    +

    the new VipsImage, or NULL on error.

    [transfer full]

    @@ -1846,7 +1846,7 @@

    Returns

    -

    the new VipsImage, or NULL on error.

    +

    the new VipsImage, or NULL on error.

    [transfer full]

    @@ -1894,7 +1894,7 @@

    Returns

    -

    the new VipsImage, or NULL on error.

    +

    the new VipsImage, or NULL on error.

    [transfer full]

    @@ -1942,7 +1942,7 @@

    Returns

    -

    the new VipsImage, or NULL on error.

    +

    the new VipsImage, or NULL on error.

    [transfer full]

    @@ -1991,7 +1991,7 @@

    Returns

    -

    the new VipsImage, or NULL on error.

    +

    the new VipsImage, or NULL on error.

    [transfer full]

    @@ -2039,7 +2039,7 @@

    Returns

    -

    the new VipsImage, or NULL on error.

    +

    the new VipsImage, or NULL on error.

    [transfer full]

    @@ -2080,7 +2080,7 @@

    Returns

    -

    the new VipsImage, or NULL on error.

    +

    the new VipsImage, or NULL on error.

    [transfer full]

    @@ -2089,7 +2089,7 @@

    vips_image_set_delete_on_close ()

    void
     vips_image_set_delete_on_close (VipsImage *image,
    -                                gboolean delete_on_close);
    + gboolean delete_on_close);

    Sets the delete_on_close flag for the image. If this flag is set, when image is finalized, the filename held in image->filename @@ -2124,7 +2124,7 @@


    vips_get_disc_threshold ()

    -
    guint64
    +
    guint64
     vips_get_disc_threshold (void);

    Return the number of bytes at which we flip between open via memory and open via disc. This defaults to 100mb, but can be changed with the @@ -2148,7 +2148,7 @@ environment variable TMPDIR. If this is not set, then on Unix systems, vips will default to /tmp. On Windows, vips uses GetTempPath() to find the temporary directory.

    -

    vips uses g_mkstemp() to make the temporary filename. They generally look +

    vips uses g_mkstemp() to make the temporary filename. They generally look something like "vips-12-EJKJFGH.v".

    See also: vips_image_new().

    [constructor]

    @@ -2169,7 +2169,7 @@

    Returns

    -

    the new VipsImage, or NULL on error.

    +

    the new VipsImage, or NULL on error.


    @@ -2249,7 +2249,7 @@

    ...

    -

    NULL-terminated list of optional named arguments

    +

    NULL-terminated list of optional named arguments

      @@ -2312,7 +2312,7 @@

    ...

    -

    NULL-terminated list of optional named arguments

    +

    NULL-terminated list of optional named arguments

      @@ -2487,9 +2487,9 @@

    vips_image_isMSBfirst ()

    -
    gboolean
    +
    gboolean
     vips_image_isMSBfirst (VipsImage *image);
    -

    Return TRUE if image +

    Return TRUE if image is in most-significant- byte first form. This is the byte order used on the SPARC architecture and others.

    @@ -2513,9 +2513,9 @@

    vips_image_isfile ()

    -
    gboolean
    +
    gboolean
     vips_image_isfile (VipsImage *image);
    -

    Return TRUE if image +

    Return TRUE if image represents a file on disc in some way.

    [method]

    @@ -2537,9 +2537,9 @@

    vips_image_ispartial ()

    -
    gboolean
    +
    gboolean
     vips_image_ispartial (VipsImage *image);
    -

    Return TRUE if im +

    Return TRUE if im represents a partial image (a delayed calculation).

    [method]

    @@ -2561,12 +2561,12 @@

    vips_image_hasalpha ()

    -
    gboolean
    +
    gboolean
     vips_image_hasalpha (VipsImage *image);

    libvips assumes an image has an alpha if it has two bands (ie. it is a monochrome image with an extra band), if it has four bands (unless it's been tagged as CMYK), or if it has more than four bands.

    -

    Return TRUE if image +

    Return TRUE if image has an alpha channel.

    [method]

    @@ -2617,7 +2617,7 @@

    Returns

    -

    the new VipsImage, or NULL on error.

    +

    the new VipsImage, or NULL on error.

    [transfer full]

    @@ -2833,9 +2833,9 @@

    vips_band_format_isint ()

    -
    gboolean
    +
    gboolean
     vips_band_format_isint (VipsBandFormat format);
    -

    Return TRUE if format +

    Return TRUE if format is one of the integer types.

    Parameters

    @@ -2856,9 +2856,9 @@

    vips_band_format_isuint ()

    -
    gboolean
    +
    gboolean
     vips_band_format_isuint (VipsBandFormat format);
    -

    Return TRUE if format +

    Return TRUE if format is one of the unsigned integer types.

    Parameters

    @@ -2879,9 +2879,9 @@

    vips_band_format_is8bit ()

    -
    gboolean
    +
    gboolean
     vips_band_format_is8bit (VipsBandFormat format);
    -

    Return TRUE if format +

    Return TRUE if format is uchar or schar.

    Parameters

    @@ -2902,9 +2902,9 @@

    vips_band_format_isfloat ()

    -
    gboolean
    +
    gboolean
     vips_band_format_isfloat (VipsBandFormat format);
    -

    Return TRUE if format +

    Return TRUE if format is one of the float types.

    Parameters

    @@ -2925,9 +2925,9 @@

    vips_band_format_iscomplex ()

    -
    gboolean
    +
    gboolean
     vips_band_format_iscomplex (VipsBandFormat format);
    -

    Return TRUE if fmt +

    Return TRUE if fmt is one of the complex types.

    Parameters

    @@ -3050,7 +3050,7 @@

    ...

    -

    NULL-terminated list of optional named arguments

    +

    NULL-terminated list of optional named arguments

      @@ -3254,7 +3254,7 @@

    vips_value_get_array_image ()

    VipsImage **
    -vips_value_get_array_image (const GValue *value,
    +vips_value_get_array_image (const GValue *value,
                                 int *n);

    Return the start of the array of images held by value . @@ -3272,7 +3272,7 @@

    value

    -

    GValue to get from

    +

    GValue to get from

      @@ -3293,7 +3293,7 @@

    vips_value_set_array_image ()

    void
    -vips_value_set_array_image (GValue *value,
    +vips_value_set_array_image (GValue *value,
                                 int n);

    Set value to hold an array of images. Pass in the array length in n @@ -3310,7 +3310,7 @@

    value

    -

    GValue to get from.

    +

    GValue to get from.

    [out] @@ -3966,12 +3966,12 @@   -

    gint64 tpels;

    +

    gint64 tpels;

    Number of pels we expect to calculate

      -

    gint64 npels;

    +

    gint64 npels;

    Number of pels calculated so far

      @@ -3981,7 +3981,7 @@   -

    GTimer *start;

    +

    GTimer *start;

    Start time

      @@ -3994,7 +3994,7 @@

    Property Details

    The “bands” property

    -
      “bands”                    gint
    +
      “bands”                    gint

    Number of bands in image.

    Flags: Read / Write

    Allowed values: [1,10000000]

    @@ -4019,7 +4019,7 @@

    The “filename” property

    -
      “filename”                 gchar *
    +
      “filename”                 gchar *

    Image filename.

    Flags: Read / Write

    Default value: NULL

    @@ -4027,7 +4027,7 @@

    The “foreign-buffer” property

    -
      “foreign-buffer”           gpointer
    +
      “foreign-buffer”           gpointer

    Pointer to foreign pixels.

    Flags: Read / Write

    @@ -4042,7 +4042,7 @@

    The “height” property

    -
      “height”                   gint
    +
      “height”                   gint

    Image height in pixels.

    Flags: Read / Write

    Allowed values: [1,10000000]

    @@ -4059,7 +4059,7 @@

    The “kill” property

    -
      “kill”                     gboolean
    +
      “kill”                     gboolean

    Block evaluation on this image.

    Flags: Read / Write

    Default value: FALSE

    @@ -4067,7 +4067,7 @@

    The “mode” property

    -
      “mode”                     gchar *
    +
      “mode”                     gchar *

    Open mode.

    Flags: Read / Write

    Default value: "p"

    @@ -4075,7 +4075,7 @@

    The “sizeof-header” property

    -
      “sizeof-header”            guint64
    +
      “sizeof-header”            guint64

    Offset in bytes from start of file.

    Flags: Read / Write

    Allowed values: <= 1000000000

    @@ -4084,7 +4084,7 @@

    The “width” property

    -
      “width”                    gint
    +
      “width”                    gint

    Image width in pixels.

    Flags: Read / Write

    Allowed values: [1,10000000]

    @@ -4093,7 +4093,7 @@

    The “xoffset” property

    -
      “xoffset”                  gint
    +
      “xoffset”                  gint

    Horizontal offset of origin.

    Flags: Read / Write

    Allowed values: [-10000000,10000000]

    @@ -4102,7 +4102,7 @@

    The “xres” property

    -
      “xres”                     gdouble
    +
      “xres”                     gdouble

    Horizontal resolution in pixels/mm.

    Flags: Read / Write

    Allowed values: [-0,1e+06]

    @@ -4111,7 +4111,7 @@

    The “yoffset” property

    -
      “yoffset”                  gint
    +
      “yoffset”                  gint

    Vertical offset of origin.

    Flags: Read / Write

    Allowed values: [-10000000,10000000]

    @@ -4120,7 +4120,7 @@

    The “yres” property

    -
      “yres”                     gdouble
    +
      “yres”                     gdouble

    Vertical resolution in pixels/mm.

    Flags: Read / Write

    Allowed values: [-0,1e+06]

    @@ -4133,8 +4133,8 @@

    The “eval” signal

    void
     user_function (VipsImage *image,
    -               gpointer   progress,
    -               gpointer   user_data)
    + gpointer progress, + gpointer user_data)

    The ::eval signal is emitted once per work unit (typically a 128 x 128 area of pixels) during image computation.

    You can use this signal to update user-interfaces with progress @@ -4169,14 +4169,14 @@

    -

    Flags: Run Last

    +

    Flags: Run Last


    The “invalidate” signal

    void
     user_function (VipsImage *image,
    -               gpointer   user_data)
    + gpointer user_data)

    The ::invalidate signal is emitted when an image or one of it's upstream data sources has been destructively modified. See vips_image_invalidate_all().

    @@ -4202,14 +4202,14 @@
    -

    Flags: Action

    +

    Flags: Action


    The “minimise” signal

    void
     user_function (VipsImage *image,
    -               gpointer   user_data)
    + gpointer user_data)

    The ::minimise signal is emitted when an image has been asked to minimise memory usage. All non-essential caches are dropped. @@ -4237,15 +4237,15 @@

    -

    Flags: Action

    +

    Flags: Action


    The “posteval” signal

    void
     user_function (VipsImage *image,
    -               gpointer   progress,
    -               gpointer   user_data)
    + gpointer progress, + gpointer user_data)

    The ::posteval signal is emitted once at the end of the computation of image @@ -4279,15 +4279,15 @@

    -

    Flags: Run Last

    +

    Flags: Run Last


    The “preeval” signal

    void
     user_function (VipsImage *image,
    -               gpointer   progress,
    -               gpointer   user_data)
    + gpointer progress, + gpointer user_data)

    The ::preeval signal is emitted once before computation of image starts. It's a good place to set up evaluation feedback.

    @@ -4320,15 +4320,15 @@
    -

    Flags: Run Last

    +

    Flags: Run Last


    The “written” signal

    void
     user_function (VipsImage *image,
    -               gpointer   result,
    -               gpointer   user_data)
    + gpointer result, + gpointer user_data)

    The ::written signal is emitted just after an image has been written to. It is @@ -4361,7 +4361,7 @@

    -

    Flags: Action

    +

    Flags: Action

    diff -Nru vips-8.6.4/doc/html/VipsInterpolate.html vips-8.6.5/doc/html/VipsInterpolate.html --- vips-8.6.4/doc/html/VipsInterpolate.html 2018-06-13 15:35:15.000000000 +0000 +++ vips-8.6.5/doc/html/VipsInterpolate.html 2018-07-25 10:11:02.000000000 +0000 @@ -147,7 +147,7 @@

    Object Hierarchy

    -
        GObject
    +
        GObject
         ╰── VipsObject
             ╰── VipsInterpolate
     
    @@ -386,7 +386,7 @@
    VipsInterpolate *
     vips_interpolate_new (const char *nickname);

    Look up an interpolator from a nickname and make one. You need to free the -result with g_object_unref() when you're done with it.

    +result with g_object_unref() when you're done with it.

    See also: vips_type_find().

    [constructor]

    @@ -406,7 +406,7 @@

    Returns

    -

    an interpolator, or NULL on error.

    +

    an interpolator, or NULL on error.

    diff -Nru vips-8.6.4/doc/html/VipsObject.html vips-8.6.5/doc/html/VipsObject.html --- vips-8.6.4/doc/html/VipsObject.html 2018-06-13 15:35:15.000000000 +0000 +++ vips-8.6.5/doc/html/VipsObject.html 2018-07-25 10:11:02.000000000 +0000 @@ -166,7 +166,7 @@ -gboolean +gboolean vips_argument_class_needsstring () @@ -182,7 +182,7 @@ -gboolean +gboolean vips_object_argument_isset () @@ -224,7 +224,7 @@ -gboolean +gboolean vips_value_is_null () @@ -320,7 +320,7 @@ -gboolean +gboolean vips_object_sanity () @@ -344,7 +344,7 @@ -gboolean +gboolean vips_object_argument_needsstring () @@ -480,7 +480,7 @@ -GType +GType vips_type_find () @@ -591,13 +591,13 @@ -gchar * +gchar * description Read / Write -gchar * +gchar * nickname Read / Write @@ -616,22 +616,22 @@ void close -Run Last +Run Last -gint +gint postbuild -Run Last +Run Last void postclose -Run Last +Run Last void preclose -Run Last +Run Last @@ -689,7 +689,7 @@

    Object Hierarchy

    -
        GObject
    +
        GObject
         ╰── VipsObject
             ├── VipsOperation
             ├── VipsImage
    @@ -721,7 +721,7 @@
     

    VipsObject s have a strictly defined lifecycle, split broadly as construct and then use. In detail, the stages are:

      -
    1. g_object_new(). The VipsObject is created with g_object_new(). Objects +

    2. g_object_new(). The VipsObject is created with g_object_new(). Objects in this state are blank slates and need to have their various parameters set.

    3. g_object_set(). You loop over the VipsArgument that the object has @@ -770,7 +770,7 @@

      VipsArgument

      libvips has a simple mechanism for automating at least some aspects of -GObject properties. You add a set of macros to your _class_init() which +GObject properties. You add a set of macros to your _class_init() which describe the arguments, and set the get and set functions to the vips ones.

      See extending for a complete example.

      @@ -778,10 +778,10 @@

      The VipsObject reference counting convention

      VipsObject has a set of conventions to simplify reference counting.

        -
      1. All input GObject have a ref added to them, owned by the object. When a +

      2. All input GObject have a ref added to them, owned by the object. When a VipsObject is unreffed, all of these refs to input objects are automatically dropped.

      3. -
      4. All output GObject hold a ref to the object. When a GObject which is an +

      5. All output GObject hold a ref to the object. When a GObject which is an output of a VipsObject is disposed, it must drop this reference. VipsObject which are outputs of other VipsObject will do this automatically.

      6. @@ -863,16 +863,16 @@

        vips__object_set_member ()

        void
         vips__object_set_member (VipsObject *object,
        -                         GParamSpec *pspec,
        -                         GObject **member,
        -                         GObject *argument);
        + GParamSpec *pspec, + GObject **member, + GObject *argument);

    VipsArgumentMapFn ()

    void *
     (*VipsArgumentMapFn) (VipsObject *object,
    -                      GParamSpec *pspec,
    +                      GParamSpec *pspec,
                           VipsArgumentClass *argument_class,
                           VipsArgumentInstance *argument_instance,
                           void *a,
    @@ -887,7 +887,7 @@
                        void *a,
                        void *b);

    Loop over the vips_arguments to an object. Stop when fn - returns non-NULL + returns non-NULL and return that value.

    [skip]

    @@ -924,9 +924,9 @@

    Returns

    -

    NULL if fn -returns NULL for all arguments, otherwise the first -non-NULL value from fn +

    NULL if fn +returns NULL for all arguments, otherwise the first +non-NULL value from fn .

    @@ -935,7 +935,7 @@

    VipsArgumentClassMapFn ()

    void *
     (*VipsArgumentClassMapFn) (VipsObjectClass *object_class,
    -                           GParamSpec *pspec,
    +                           GParamSpec *pspec,
                                VipsArgumentClass *argument_class,
                                void *a,
                                void *b);
    @@ -954,7 +954,7 @@

    vips_argument_class_needsstring ()

    -
    gboolean
    +
    gboolean
     vips_argument_class_needsstring (VipsArgumentClass *argument_class);

    @@ -963,7 +963,7 @@
    int
     vips_object_get_argument (VipsObject *object,
                               const char *name,
    -                          GParamSpec **pspec,
    +                          GParamSpec **pspec,
                               VipsArgumentClass **argument_class,
                               VipsArgumentInstance **argument_instance);

    Look up the three things you need to work with a vips argument.

    @@ -1013,7 +1013,7 @@

    vips_object_argument_isset ()

    -
    gboolean
    +
    gboolean
     vips_object_argument_isset (VipsObject *object,
                                 const char *name);

    Convenience: has an argument been assigned. Useful for bindings.

    @@ -1041,7 +1041,7 @@

    Returns

    -

    TRUE if the argument has been assigned.

    +

    TRUE if the argument has been assigned.


    @@ -1130,27 +1130,27 @@

    vips_value_is_null ()

    -
    gboolean
    -vips_value_is_null (GParamSpec *psoec,
    -                    const GValue *value);
    +
    gboolean
    +vips_value_is_null (GParamSpec *psoec,
    +                    const GValue *value);

    vips_object_set_property ()

    void
    -vips_object_set_property (GObject *gobject,
    -                          guint property_id,
    -                          const GValue *value,
    -                          GParamSpec *pspec);
    +vips_object_set_property (GObject *gobject, + guint property_id, + const GValue *value, + GParamSpec *pspec);

    vips_object_get_property ()

    void
    -vips_object_get_property (GObject *gobject,
    -                          guint property_id,
    -                          GValue *value,
    -                          GParamSpec *pspec);
    +vips_object_get_property (GObject *gobject, + guint property_id, + GValue *value, + GParamSpec *pspec);

    @@ -1284,7 +1284,7 @@

    vips_object_sanity ()

    -
    gboolean
    +
    gboolean
     vips_object_sanity (VipsObject *object);

    @@ -1292,10 +1292,10 @@

    vips_object_class_install_argument ()

    void
     vips_object_class_install_argument (VipsObjectClass *cls,
    -                                    GParamSpec *pspec,
    +                                    GParamSpec *pspec,
                                         VipsArgumentFlags flags,
                                         int priority,
    -                                    guint offset);
    + guint offset);

    @@ -1308,7 +1308,7 @@

    vips_object_argument_needsstring ()

    -
    gboolean
    +
    gboolean
     vips_object_argument_needsstring (VipsObject *object,
                                       const char *name);
    @@ -1339,7 +1339,7 @@

    vips_object_new ()

    VipsObject *
    -vips_object_new (GType type,
    +vips_object_new (GType type,
                      VipsObjectSetArguments set,
                      void *a,
                      void *b);
    @@ -1407,7 +1407,7 @@

    ap

    -

    NULL-terminated list of argument/value pairs

    +

    NULL-terminated list of argument/value pairs

      @@ -1462,7 +1462,7 @@

    ...

    -

    NULL-terminated list of argument/value pairs

    +

    NULL-terminated list of argument/value pairs

      @@ -1560,7 +1560,7 @@ void *b);

    Call a function for all alive objects. Stop when fn - returns non-NULL and return that value.

    + returns non-NULL and return that value.

    [skip]

    Parameters

    @@ -1591,9 +1591,9 @@

    Returns

    -

    NULL if fn -returns NULL for all arguments, otherwise the first -non-NULL value from fn +

    NULL if fn +returns NULL for all arguments, otherwise the first +non-NULL value from fn .

    @@ -1601,14 +1601,14 @@

    VipsTypeMapFn ()

    void *
    -(*VipsTypeMapFn) (GType type,
    +(*VipsTypeMapFn) (GType type,
                       void *a);

    VipsTypeMap2Fn ()

    void *
    -(*VipsTypeMap2Fn) (GType type,
    +(*VipsTypeMap2Fn) (GType type,
                        void *a,
                        void *b);
    @@ -1623,12 +1623,12 @@

    vips_type_map ()

    void *
    -vips_type_map (GType base,
    +vips_type_map (GType base,
                    VipsTypeMap2Fn fn,
                    void *a,
                    void *b);

    Map over a type's children. Stop when fn - returns non-NULL + returns non-NULL and return that value.

    [skip]

    @@ -1665,9 +1665,9 @@

    Returns

    -

    NULL if fn -returns NULL for all arguments, otherwise the first -non-NULL value from fn +

    NULL if fn +returns NULL for all arguments, otherwise the first +non-NULL value from fn .

    @@ -1675,12 +1675,12 @@

    vips_type_map_all ()

    void *
    -vips_type_map_all (GType base,
    +vips_type_map_all (GType base,
                        VipsTypeMapFn fn,
                        void *a);

    Map over a type's children, direct and indirect. Stop when fn returns -non-NULL and return that value.

    +non-NULL and return that value.

    [skip]

    Parameters

    @@ -1711,9 +1711,9 @@

    Returns

    -

    NULL if fn -returns NULL for all arguments, otherwise the first -non-NULL value from fn +

    NULL if fn +returns NULL for all arguments, otherwise the first +non-NULL value from fn .

    @@ -1721,16 +1721,16 @@

    vips_type_depth ()

    int
    -vips_type_depth (GType type);
    +vips_type_depth (GType type);

    vips_type_find ()

    -
    GType
    +
    GType
     vips_type_find (const char *basename,
                     const char *nickname);

    Search below basename -, return the GType of the class whose name or +, return the GType of the class whose name or nickname matches, or 0 for not found. If basename @@ -1761,15 +1761,15 @@

    Returns

    -

    the GType of the class, or 0 if the class is not found.

    +

    the GType of the class, or 0 if the class is not found.


    vips_nickname_find ()

    const char *
    -vips_nickname_find (GType type);
    -

    Return the VIPS nickname for a GType. Handy for language bindings.

    +vips_nickname_find (GType type); +

    Return the VIPS nickname for a GType. Handy for language bindings.

    Parameters

    @@ -1780,7 +1780,7 @@ - +

    type

    GType to search for

    GType to search for

     
    @@ -1795,14 +1795,14 @@

    vips_class_map_all ()

    void *
    -vips_class_map_all (GType type,
    +vips_class_map_all (GType type,
                         VipsClassMapFn fn,
                         void *a);

    Loop over all the subclasses of type . Non-abstract classes only. Stop when fn returns -non-NULL and return that value.

    +non-NULL and return that value.

    [skip]

    Parameters

    @@ -1833,9 +1833,9 @@

    Returns

    -

    NULL if fn -returns NULL for all arguments, otherwise the first -non-NULL value from fn +

    NULL if fn +returns NULL for all arguments, otherwise the first +non-NULL value from fn .

    @@ -1954,7 +1954,7 @@

    vips_object_local_cb ()

    void
     vips_object_local_cb (VipsObject *vobject,
    -                      GObject *gobject);
    + GObject *gobject);

    @@ -1966,7 +1966,7 @@

    vips_object_set_static ()

    void
     vips_object_set_static (VipsObject *object,
    -                        gboolean static_object);
    + gboolean static_object);

    @@ -2233,7 +2233,7 @@

    Property Details

    The “description” property

    -
      “description”              gchar *
    +
      “description”              gchar *

    Class description.

    Flags: Read / Write

    Default value: ""

    @@ -2241,7 +2241,7 @@

    The “nickname” property

    -
      “nickname”                 gchar *
    +
      “nickname”                 gchar *

    Class nickname.

    Flags: Read / Write

    Default value: ""

    @@ -2253,7 +2253,7 @@

    The “close” signal

    void
     user_function (VipsObject *object,
    -               gpointer    user_data)
    + gpointer user_data)

    The ::close signal is emitted once during object close. The object is dying and may not work.

    @@ -2278,14 +2278,14 @@
    -

    Flags: Run Last

    +

    Flags: Run Last


    The “postbuild” signal

    -
    gint
    +
    gint
     user_function (VipsObject *object,
    -               gpointer    user_data)
    + gpointer user_data)

    The ::postbuild signal is emitted once just after successful object construction. Return non-zero to cause object construction to fail.

    @@ -2310,14 +2310,14 @@
    -

    Flags: Run Last

    +

    Flags: Run Last


    The “postclose” signal

    void
     user_function (VipsObject *object,
    -               gpointer    user_data)
    + gpointer user_data)

    The ::postclose signal is emitted once after object close. The object pointer is still valid, but nothing else.

    @@ -2343,14 +2343,14 @@
    -

    Flags: Run Last

    +

    Flags: Run Last


    The “preclose” signal

    void
     user_function (VipsObject *object,
    -               gpointer    user_data)
    + gpointer user_data)

    The ::preclose signal is emitted once just before object close starts. The oject is still alive.

    @@ -2375,7 +2375,7 @@
    -

    Flags: Run Last

    +

    Flags: Run Last

    diff -Nru vips-8.6.4/doc/html/VipsOperation.html vips-8.6.5/doc/html/VipsOperation.html --- vips-8.6.4/doc/html/VipsOperation.html 2018-06-13 15:35:15.000000000 +0000 +++ vips-8.6.5/doc/html/VipsOperation.html 2018-07-25 10:11:02.000000000 +0000 @@ -53,7 +53,7 @@ -gboolean +gboolean (*VipsOperationBuildFn) () @@ -297,7 +297,7 @@ void invalidate -Run Last +Run Last
    @@ -316,7 +316,7 @@

    Object Hierarchy

    -
        GObject
    +
        GObject
         ╰── VipsObject
             ╰── VipsOperation
                 ╰── VipsForeign
    @@ -445,16 +445,16 @@
     VipsImage *t1, *t2;
     
     if (vips_invert (im, &t1, NULL)) {
    -  g_object_unref (im);
    +  g_object_unref (im);
       return -1;
     }
    -g_object_unref (im);
    +g_object_unref (im);
     
     if (vips_flip (t1, &t2, VIPS_DIRECTION_HORIZONTAL, NULL)) {
    -  g_object_unref (t1);
    +  g_object_unref (t1);
       return -1;
     }
    -g_object_unref (t1);
    +g_object_unref (t1);
    @@ -509,7 +509,7 @@

    Functions

    VipsOperationBuildFn ()

    -
    gboolean
    +
    gboolean
     (*VipsOperationBuildFn) (VipsObject *object);

    @@ -715,7 +715,7 @@

    ...

    -

    required args, then a NULL-terminated list of argument/value pairs

    +

    required args, then a NULL-terminated list of argument/value pairs

      @@ -747,7 +747,7 @@

    vips_call_options ()

    void
    -vips_call_options (GOptionGroup *group,
    +vips_call_options (GOptionGroup *group,
                        VipsOperation *operation);

    @@ -858,7 +858,7 @@

    After calling this, operation has the same ref count as when it went in, and the result must be freed with vips_object_unref_outputs() and -g_object_unref().

    +g_object_unref().

    Parameters

    @@ -1015,7 +1015,7 @@

    vips_cache_set_dump ()

    void
    -vips_cache_set_dump (gboolean dump);
    +vips_cache_set_dump (gboolean dump);

    Handy for debugging. Print the operation cache to stdout just before exit.

    See also: vips_cache_set_trace().

    @@ -1028,7 +1028,7 @@
    - +

    dump

    if TRUE, dump the operation cache on exit

    if TRUE, dump the operation cache on exit

     
    @@ -1038,7 +1038,7 @@

    vips_cache_set_trace ()

    void
    -vips_cache_set_trace (gboolean trace);
    +vips_cache_set_trace (gboolean trace);

    Handy for debugging. Print operation cache actions to stdout as we run.

    You can set the environment variable VIPS_TRACE to turn this option on, or use the command-line flag --vips-cache-trace.

    @@ -1053,7 +1053,7 @@

    trace

    -

    if TRUE, trace the operation cache

    +

    if TRUE, trace the operation cache

     
    @@ -1185,8 +1185,8 @@

    The “invalidate” signal

    void
     user_function (VipsOperation *vipsoperation,
    -               gpointer       user_data)
    -

    Flags: Run Last

    + gpointer user_data) +

    Flags: Run Last

    diff -Nru vips-8.6.4/doc/html/VipsRegion.html vips-8.6.5/doc/html/VipsRegion.html --- vips-8.6.4/doc/html/VipsRegion.html 2018-06-13 15:35:15.000000000 +0000 +++ vips-8.6.5/doc/html/VipsRegion.html 2018-07-25 10:11:02.000000000 +0000 @@ -203,7 +203,7 @@

    Object Hierarchy

    -
        GObject
    +
        GObject
         ╰── VipsObject
             ╰── VipsRegion
     
    @@ -222,7 +222,7 @@ other image, or part of some other region.

    Regions must be created, used and freed all within the same thread, since they can reference private per-thread caches. VIPS sanity-checks region -ownership in various places, so you are likely to see g_assert() errors if +ownership in various places, so you are likely to see g_assert() errors if you don't follow this rule.

    There is API to transfer ownership of regions between threads, but hopefully this diff -Nru vips-8.6.4/doc/html/VipsThreadState.html vips-8.6.5/doc/html/VipsThreadState.html --- vips-8.6.4/doc/html/VipsThreadState.html 2018-06-13 15:35:15.000000000 +0000 +++ vips-8.6.5/doc/html/VipsThreadState.html 2018-07-25 10:11:02.000000000 +0000 @@ -119,7 +119,7 @@

    Object Hierarchy

    -
        GObject
    +
        GObject
         ╰── VipsObject
             ╰── VipsThreadState
     
    @@ -165,7 +165,7 @@
    int
     (*VipsThreadpoolAllocateFn) (VipsThreadState *state,
                                  void *a,
    -                             gboolean *stop);
    + gboolean *stop);

    This function is called to allocate a new work unit for the thread. It is always single-threaded, so it can modify per-pool state (such as a counter).

    @@ -175,7 +175,7 @@ are the values supplied to the call to vips_threadpool_run().

    It should set stop - to TRUE to indicate that no work could be allocated + to TRUE to indicate that no work could be allocated because the job is done.

    See also: vips_threadpool_run().

    @@ -332,7 +332,7 @@ processed, progress is called, so that the operation can give progress feedback. progress - may be NULL.

    + may be NULL.

    The object returned by start must be an instance of a subclass of VipsThreadState. Use this to communicate between allocate @@ -378,7 +378,7 @@

    progress

    -

    give progress feedback about a work unit, or NULL

    +

    give progress feedback about a work unit, or NULL

      diff -Nru vips-8.6.4/doc/libvips-docs.xml vips-8.6.5/doc/libvips-docs.xml --- vips-8.6.4/doc/libvips-docs.xml 2018-06-13 15:32:27.000000000 +0000 +++ vips-8.6.5/doc/libvips-docs.xml 2018-07-25 10:06:22.000000000 +0000 @@ -9,7 +9,7 @@ VIPS Reference Manual - For VIPS 8.6.4. + For VIPS 8.6.5. The latest version of this documentation can be found on the VIPS website. diff -Nru vips-8.6.4/libvips/foreign/tiff2vips.c vips-8.6.5/libvips/foreign/tiff2vips.c --- vips-8.6.4/libvips/foreign/tiff2vips.c 2018-06-13 15:24:52.000000000 +0000 +++ vips-8.6.5/libvips/foreign/tiff2vips.c 2018-07-25 09:46:22.000000000 +0000 @@ -177,6 +177,8 @@ * - remove missing res warning * 19/5/17 * - page > 0 could break edge tiles or strips + * 21/7/18 + * - check for non-byte-multiple bits_per_sample [HongxuChen] */ /* @@ -538,6 +540,21 @@ return( 0 ); } +/* Only allow samples which are whole bytes in size. + */ +static int +rtiff_non_fractional( Rtiff *rtiff ) +{ + if( rtiff->header.bits_per_sample % 8 != 0 || + rtiff->header.bits_per_sample == 0 ) { + vips_error( "tiff2vips", "%s", _( "samples_per_pixel " + "not a whole number of bytes" ) ); + return( -1 ); + } + + return( 0 ); +} + static int rtiff_check_interpretation( Rtiff *rtiff, int photometric_interpretation ) { @@ -805,7 +822,8 @@ /* Per-scanline process function for greyscale images. */ static void -rtiff_greyscale_line( Rtiff *rtiff, VipsPel *q, VipsPel *p, int n, void *client ) +rtiff_greyscale_line( Rtiff *rtiff, + VipsPel *q, VipsPel *p, int n, void *client ) { int samples_per_pixel = rtiff->header.samples_per_pixel; int photometric_interpretation = @@ -856,7 +874,8 @@ static int rtiff_parse_greyscale( Rtiff *rtiff, VipsImage *out ) { - if( rtiff_check_min_samples( rtiff, 1 ) ) + if( rtiff_check_min_samples( rtiff, 1 ) || + rtiff_non_fractional( rtiff ) ) return( -1 ); out->Bands = rtiff->header.samples_per_pixel; @@ -1138,6 +1157,9 @@ int photometric_interpretation = rtiff->header.photometric_interpretation; + if( rtiff_non_fractional( rtiff ) ) + return( -1 ); + out->Bands = samples_per_pixel; out->BandFmt = rtiff_guess_format( rtiff ); if( out->BandFmt == VIPS_FORMAT_NOTSET ) diff -Nru vips-8.6.4/libvips/include/vips/enumtypes.h vips-8.6.5/libvips/include/vips/enumtypes.h --- vips-8.6.4/libvips/include/vips/enumtypes.h 2018-06-13 15:24:52.000000000 +0000 +++ vips-8.6.5/libvips/include/vips/enumtypes.h 2018-07-25 09:50:53.000000000 +0000 @@ -1,37 +1,10 @@ -/* Generated data (by glib-mkenums) */ +/* This file is generated by glib-mkenums, do not modify it. This code is licensed under the same license as the containing project. Note that it links to GLib, so must comply with the LGPL linking clauses. */ #ifndef VIPS_ENUM_TYPES_H #define VIPS_ENUM_TYPES_H G_BEGIN_DECLS - -/* enumerations from "../../../libvips/include/vips/resample.h" */ -GType vips_kernel_get_type (void) G_GNUC_CONST; -#define VIPS_TYPE_KERNEL (vips_kernel_get_type()) -GType vips_size_get_type (void) G_GNUC_CONST; -#define VIPS_TYPE_SIZE (vips_size_get_type()) -/* enumerations from "../../../libvips/include/vips/foreign.h" */ -GType vips_foreign_flags_get_type (void) G_GNUC_CONST; -#define VIPS_TYPE_FOREIGN_FLAGS (vips_foreign_flags_get_type()) -GType vips_saveable_get_type (void) G_GNUC_CONST; -#define VIPS_TYPE_SAVEABLE (vips_saveable_get_type()) -GType vips_foreign_webp_preset_get_type (void) G_GNUC_CONST; -#define VIPS_TYPE_FOREIGN_WEBP_PRESET (vips_foreign_webp_preset_get_type()) -GType vips_foreign_tiff_compression_get_type (void) G_GNUC_CONST; -#define VIPS_TYPE_FOREIGN_TIFF_COMPRESSION (vips_foreign_tiff_compression_get_type()) -GType vips_foreign_tiff_predictor_get_type (void) G_GNUC_CONST; -#define VIPS_TYPE_FOREIGN_TIFF_PREDICTOR (vips_foreign_tiff_predictor_get_type()) -GType vips_foreign_tiff_resunit_get_type (void) G_GNUC_CONST; -#define VIPS_TYPE_FOREIGN_TIFF_RESUNIT (vips_foreign_tiff_resunit_get_type()) -GType vips_foreign_png_filter_get_type (void) G_GNUC_CONST; -#define VIPS_TYPE_FOREIGN_PNG_FILTER (vips_foreign_png_filter_get_type()) -GType vips_foreign_dz_layout_get_type (void) G_GNUC_CONST; -#define VIPS_TYPE_FOREIGN_DZ_LAYOUT (vips_foreign_dz_layout_get_type()) -GType vips_foreign_dz_depth_get_type (void) G_GNUC_CONST; -#define VIPS_TYPE_FOREIGN_DZ_DEPTH (vips_foreign_dz_depth_get_type()) -GType vips_foreign_dz_container_get_type (void) G_GNUC_CONST; -#define VIPS_TYPE_FOREIGN_DZ_CONTAINER (vips_foreign_dz_container_get_type()) /* enumerations from "../../../libvips/include/vips/arithmetic.h" */ GType vips_operation_math_get_type (void) G_GNUC_CONST; #define VIPS_TYPE_OPERATION_MATH (vips_operation_math_get_type()) @@ -49,6 +22,14 @@ #define VIPS_TYPE_OPERATION_COMPLEX2 (vips_operation_complex2_get_type()) GType vips_operation_complexget_get_type (void) G_GNUC_CONST; #define VIPS_TYPE_OPERATION_COMPLEXGET (vips_operation_complexget_get_type()) +/* enumerations from "../../../libvips/include/vips/basic.h" */ +GType vips_precision_get_type (void) G_GNUC_CONST; +#define VIPS_TYPE_PRECISION (vips_precision_get_type()) +/* enumerations from "../../../libvips/include/vips/colour.h" */ +GType vips_intent_get_type (void) G_GNUC_CONST; +#define VIPS_TYPE_INTENT (vips_intent_get_type()) +GType vips_pcs_get_type (void) G_GNUC_CONST; +#define VIPS_TYPE_PCS (vips_pcs_get_type()) /* enumerations from "../../../libvips/include/vips/conversion.h" */ GType vips_extend_get_type (void) G_GNUC_CONST; #define VIPS_TYPE_EXTEND (vips_extend_get_type()) @@ -66,9 +47,33 @@ #define VIPS_TYPE_INTERESTING (vips_interesting_get_type()) GType vips_blend_mode_get_type (void) G_GNUC_CONST; #define VIPS_TYPE_BLEND_MODE (vips_blend_mode_get_type()) -/* enumerations from "../../../libvips/include/vips/util.h" */ -GType vips_token_get_type (void) G_GNUC_CONST; -#define VIPS_TYPE_TOKEN (vips_token_get_type()) +/* enumerations from "../../../libvips/include/vips/convolution.h" */ +GType vips_combine_get_type (void) G_GNUC_CONST; +#define VIPS_TYPE_COMBINE (vips_combine_get_type()) +/* enumerations from "../../../libvips/include/vips/draw.h" */ +GType vips_combine_mode_get_type (void) G_GNUC_CONST; +#define VIPS_TYPE_COMBINE_MODE (vips_combine_mode_get_type()) +/* enumerations from "../../../libvips/include/vips/foreign.h" */ +GType vips_foreign_flags_get_type (void) G_GNUC_CONST; +#define VIPS_TYPE_FOREIGN_FLAGS (vips_foreign_flags_get_type()) +GType vips_saveable_get_type (void) G_GNUC_CONST; +#define VIPS_TYPE_SAVEABLE (vips_saveable_get_type()) +GType vips_foreign_webp_preset_get_type (void) G_GNUC_CONST; +#define VIPS_TYPE_FOREIGN_WEBP_PRESET (vips_foreign_webp_preset_get_type()) +GType vips_foreign_tiff_compression_get_type (void) G_GNUC_CONST; +#define VIPS_TYPE_FOREIGN_TIFF_COMPRESSION (vips_foreign_tiff_compression_get_type()) +GType vips_foreign_tiff_predictor_get_type (void) G_GNUC_CONST; +#define VIPS_TYPE_FOREIGN_TIFF_PREDICTOR (vips_foreign_tiff_predictor_get_type()) +GType vips_foreign_tiff_resunit_get_type (void) G_GNUC_CONST; +#define VIPS_TYPE_FOREIGN_TIFF_RESUNIT (vips_foreign_tiff_resunit_get_type()) +GType vips_foreign_png_filter_get_type (void) G_GNUC_CONST; +#define VIPS_TYPE_FOREIGN_PNG_FILTER (vips_foreign_png_filter_get_type()) +GType vips_foreign_dz_layout_get_type (void) G_GNUC_CONST; +#define VIPS_TYPE_FOREIGN_DZ_LAYOUT (vips_foreign_dz_layout_get_type()) +GType vips_foreign_dz_depth_get_type (void) G_GNUC_CONST; +#define VIPS_TYPE_FOREIGN_DZ_DEPTH (vips_foreign_dz_depth_get_type()) +GType vips_foreign_dz_container_get_type (void) G_GNUC_CONST; +#define VIPS_TYPE_FOREIGN_DZ_CONTAINER (vips_foreign_dz_container_get_type()) /* enumerations from "../../../libvips/include/vips/image.h" */ GType vips_demand_style_get_type (void) G_GNUC_CONST; #define VIPS_TYPE_DEMAND_STYLE (vips_demand_style_get_type()) @@ -82,29 +87,23 @@ #define VIPS_TYPE_CODING (vips_coding_get_type()) GType vips_access_get_type (void) G_GNUC_CONST; #define VIPS_TYPE_ACCESS (vips_access_get_type()) -/* enumerations from "../../../libvips/include/vips/colour.h" */ -GType vips_intent_get_type (void) G_GNUC_CONST; -#define VIPS_TYPE_INTENT (vips_intent_get_type()) -GType vips_pcs_get_type (void) G_GNUC_CONST; -#define VIPS_TYPE_PCS (vips_pcs_get_type()) -/* enumerations from "../../../libvips/include/vips/operation.h" */ -GType vips_operation_flags_get_type (void) G_GNUC_CONST; -#define VIPS_TYPE_OPERATION_FLAGS (vips_operation_flags_get_type()) -/* enumerations from "../../../libvips/include/vips/convolution.h" */ -GType vips_combine_get_type (void) G_GNUC_CONST; -#define VIPS_TYPE_COMBINE (vips_combine_get_type()) /* enumerations from "../../../libvips/include/vips/morphology.h" */ GType vips_operation_morphology_get_type (void) G_GNUC_CONST; #define VIPS_TYPE_OPERATION_MORPHOLOGY (vips_operation_morphology_get_type()) -/* enumerations from "../../../libvips/include/vips/draw.h" */ -GType vips_combine_mode_get_type (void) G_GNUC_CONST; -#define VIPS_TYPE_COMBINE_MODE (vips_combine_mode_get_type()) -/* enumerations from "../../../libvips/include/vips/basic.h" */ -GType vips_precision_get_type (void) G_GNUC_CONST; -#define VIPS_TYPE_PRECISION (vips_precision_get_type()) /* enumerations from "../../../libvips/include/vips/object.h" */ GType vips_argument_flags_get_type (void) G_GNUC_CONST; #define VIPS_TYPE_ARGUMENT_FLAGS (vips_argument_flags_get_type()) +/* enumerations from "../../../libvips/include/vips/operation.h" */ +GType vips_operation_flags_get_type (void) G_GNUC_CONST; +#define VIPS_TYPE_OPERATION_FLAGS (vips_operation_flags_get_type()) +/* enumerations from "../../../libvips/include/vips/resample.h" */ +GType vips_kernel_get_type (void) G_GNUC_CONST; +#define VIPS_TYPE_KERNEL (vips_kernel_get_type()) +GType vips_size_get_type (void) G_GNUC_CONST; +#define VIPS_TYPE_SIZE (vips_size_get_type()) +/* enumerations from "../../../libvips/include/vips/util.h" */ +GType vips_token_get_type (void) G_GNUC_CONST; +#define VIPS_TYPE_TOKEN (vips_token_get_type()) G_END_DECLS #endif /*VIPS_ENUM_TYPES_H*/ diff -Nru vips-8.6.4/libvips/include/vips/version.h vips-8.6.5/libvips/include/vips/version.h --- vips-8.6.4/libvips/include/vips/version.h 2018-06-13 15:32:26.000000000 +0000 +++ vips-8.6.5/libvips/include/vips/version.h 2018-07-25 10:06:21.000000000 +0000 @@ -4,16 +4,16 @@ #ifndef VIPS_VERSION_H #define VIPS_VERSION_H -#define VIPS_VERSION "8.6.4" -#define VIPS_VERSION_STRING "8.6.4-Wed Jun 13 15:24:52 UTC 2018" +#define VIPS_VERSION "8.6.5" +#define VIPS_VERSION_STRING "8.6.5-Wed Jul 25 09:46:22 UTC 2018" #define VIPS_MAJOR_VERSION (8) #define VIPS_MINOR_VERSION (6) -#define VIPS_MICRO_VERSION (4) +#define VIPS_MICRO_VERSION (5) /* The ABI version, as used for library versioning. */ #define VIPS_LIBRARY_CURRENT (50) -#define VIPS_LIBRARY_REVISION (3) +#define VIPS_LIBRARY_REVISION (4) #define VIPS_LIBRARY_AGE (8) /** diff -Nru vips-8.6.4/po/vips8.6.pot vips-8.6.5/po/vips8.6.pot --- vips-8.6.4/po/vips8.6.pot 2018-06-13 15:35:15.000000000 +0000 +++ vips-8.6.5/po/vips8.6.pot 2018-07-25 10:11:02.000000000 +0000 @@ -9,7 +9,7 @@ "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: http://bugzilla.gnome.org/enter_bug.cgi?" "product=glib&keywords=I18N+L10N&component=general\n" -"POT-Creation-Date: 2018-06-13 16:35+0100\n" +"POT-Creation-Date: 2018-07-25 11:11+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -2987,88 +2987,92 @@ msgid "Buffer to save to" msgstr "" -#: ../libvips/foreign/tiff2vips.c:336 ../libvips/foreign/tiff2vips.c:354 +#: ../libvips/foreign/tiff2vips.c:338 ../libvips/foreign/tiff2vips.c:356 #, c-format msgid "required field %d missing" msgstr "" -#: ../libvips/foreign/tiff2vips.c:396 +#: ../libvips/foreign/tiff2vips.c:398 msgid "unknown resolution unit" msgstr "" -#: ../libvips/foreign/tiff2vips.c:468 +#: ../libvips/foreign/tiff2vips.c:470 msgid "read error" msgstr "" -#: ../libvips/foreign/tiff2vips.c:485 +#: ../libvips/foreign/tiff2vips.c:487 #, c-format msgid "TIFF does not contain page %d" msgstr "" -#: ../libvips/foreign/tiff2vips.c:519 +#: ../libvips/foreign/tiff2vips.c:521 #, c-format msgid "not %d bands" msgstr "" -#: ../libvips/foreign/tiff2vips.c:533 +#: ../libvips/foreign/tiff2vips.c:535 #, c-format msgid "not at least %d samples per pixel" msgstr "" -#: ../libvips/foreign/tiff2vips.c:547 +#: ../libvips/foreign/tiff2vips.c:550 +msgid "samples_per_pixel not a whole number of bytes" +msgstr "" + +#: ../libvips/foreign/tiff2vips.c:564 #, c-format msgid "not photometric interpretation %d" msgstr "" -#: ../libvips/foreign/tiff2vips.c:560 +#: ../libvips/foreign/tiff2vips.c:577 #, c-format msgid "not %d bits per sample" msgstr "" -#: ../libvips/foreign/tiff2vips.c:576 +#: ../libvips/foreign/tiff2vips.c:593 #, c-format msgid "%d bits per sample palette image not supported" msgstr "" -#: ../libvips/foreign/tiff2vips.c:633 +#: ../libvips/foreign/tiff2vips.c:650 msgid "unsupported tiff image type\n" msgstr "" -#: ../libvips/foreign/tiff2vips.c:1041 +#: ../libvips/foreign/tiff2vips.c:1060 msgid "bad colormap" msgstr "" -#: ../libvips/foreign/tiff2vips.c:1062 +#: ../libvips/foreign/tiff2vips.c:1081 msgid "assuming 8-bit palette" msgstr "" -#: ../libvips/foreign/tiff2vips.c:1619 +#: ../libvips/foreign/tiff2vips.c:1641 msgid "tiled separate planes not supported" msgstr "" -#: ../libvips/foreign/tiff2vips.c:1641 ../libvips/foreign/tiff2vips.c:1910 +#: ../libvips/foreign/tiff2vips.c:1663 ../libvips/foreign/tiff2vips.c:1932 msgid "unsupported tiff image type" msgstr "" -#: ../libvips/foreign/tiff2vips.c:2003 +#: ../libvips/foreign/tiff2vips.c:2025 #, c-format msgid "bad page number %d" msgstr "" -#: ../libvips/foreign/tiff2vips.c:2013 +#: ../libvips/foreign/tiff2vips.c:2035 #, c-format msgid "bad number of pages %d" msgstr "" -#: ../libvips/foreign/tiff2vips.c:2044 +#: ../libvips/foreign/tiff2vips.c:2066 msgid "width/height out of range" msgstr "" -#: ../libvips/foreign/tiff2vips.c:2053 +#: ../libvips/foreign/tiff2vips.c:2075 msgid "samples out of range" msgstr "" -#: ../libvips/foreign/tiff2vips.c:2197 +#: ../libvips/foreign/tiff2vips.c:2219 #, c-format msgid "page %d differs from page %d" msgstr "" diff -Nru vips-8.6.4/py-compile vips-8.6.5/py-compile --- vips-8.6.4/py-compile 2018-06-01 14:45:47.000000000 +0000 +++ vips-8.6.5/py-compile 2017-12-22 16:29:21.000000000 +0000 @@ -1,9 +1,9 @@ #!/bin/sh # py-compile - Compile a Python program -scriptversion=2016-01-11.22; # UTC +scriptversion=2011-06-08.12; # UTC -# Copyright (C) 2000-2017 Free Software Foundation, Inc. +# Copyright (C) 2000-2014 Free Software Foundation, Inc. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -165,6 +165,6 @@ # eval: (add-hook 'write-file-hooks 'time-stamp) # time-stamp-start: "scriptversion=" # time-stamp-format: "%:y-%02m-%02d.%02H" -# time-stamp-time-zone: "UTC0" +# time-stamp-time-zone: "UTC" # time-stamp-end: "; # UTC" # End: