Commit Graph

6818 Commits

Author SHA1 Message Date
John Cupitt 7514afa1fa Merge branch '8.10' 2020-09-14 17:40:18 +01:00
John Cupitt 96b6c6ba7a Merge branch '8.10' of github.com:libvips/libvips into 8.10 2020-09-14 17:39:58 +01:00
John Cupitt 4227606f5a fix tiff thumbnail from buffer and source
We were missing the new tiff thumbnail logic on the source and buffer
paths.

see https://github.com/libvips/libvips/issues/1815
2020-09-14 17:38:20 +01:00
John Cupitt 48a2551957 fix TIFF thumbnail of buffer and source
We had dropped a couple of patches.

see https://github.com/libvips/libvips/issues/1815
2020-09-14 17:26:19 +01:00
John Cupitt c1d564eee8 Merge branch 'master' of github.com:libvips/libvips 2020-09-14 13:12:06 +01:00
John Cupitt 808bec5d3d
Merge pull request #1812 from lovell/cpp-set-vobject-class
cplusplus: ensure VOption::set for VObject uses class to determine type
2020-09-14 13:11:21 +01:00
John Cupitt 5faf9a6326 typo in recent cpp API improvements
We had G_VALUE_TYPE instead of G_OBJECT_TYPE, oops. Thanks @lovell.

see https://github.com/libvips/libvips/pull/1812
2020-09-14 13:10:00 +01:00
John Cupitt f116d0b8e2 Merge branch '8.10' 2020-09-14 12:35:24 +01:00
John Cupitt 348e5e1523 don't set JFIF res if we will set EXIF res
Some JPEG loaders give priority to JFIF resolution over EXIF resolution
tags. This patch makes libvips not write the JFIF res tags if it will be
writing the EXIF res tags.

See https://github.com/libvips/ruby-vips/issues/247
2020-09-14 12:33:31 +01:00
Lovell Fuller 66e3c81fe7 Ensure VImage::set uses class to determine type
Prevents null GType and associated segfault
2020-09-13 19:53:19 +01:00
John Cupitt 4073f8082b more small doc tweaks 2020-09-09 13:52:38 +01:00
John Cupitt c501e024dc integrate new C++ docs in main docs 2020-09-09 12:49:48 +01:00
John Cupitt 875c0fdf3c finish C++ doc comments 2020-09-09 11:13:22 +01:00
John Cupitt a08eb1cc64 don't add generated latex to repo 2020-09-09 08:56:26 +01:00
John Cupitt 801111a2fa better dint rules
We had some special cases coded for dhint inheritance, but they could
fail in some edge cases. Revert to something simpler and more
predictable.

see https://github.com/libvips/libvips/issues/1810
2020-09-08 13:50:14 +01:00
John Cupitt 6357fd5651 more C++ docs 2020-09-07 19:26:51 +01:00
John Cupitt 3fcaf1ea06 add some more C++ docs 2020-09-07 18:02:50 +01:00
John Cupitt b42f72cd56 add a README.md for cpp 2020-09-06 17:47:46 +01:00
John Cupitt e0bc345aef revise doxy flags to configure 2020-09-06 16:10:55 +01:00
John Cupitt 1864729771 Merge branch 'add-doxygen' 2020-09-06 14:03:29 +01:00
John Cupitt 17c16c0bb6 Merge branch '8.10' 2020-09-06 13:02:34 +01:00
John Cupitt 6b2079bfd3 update magick metadata naming
IM seem to have changed their rules for naming metadata chunks. They are
now lowercase and ICM is renamed to ICC. Add a simple test too.

See https://github.com/libvips/ruby-vips/issues/246
2020-09-06 12:59:10 +01:00
John Cupitt 8bdc327320 Merge branch '8.10' 2020-09-04 17:12:45 +01:00
John Cupitt 00096813da note render thread change in changelog 2020-09-04 12:41:19 +01:00
John Cupitt 610eea5462 Merge branch '8.10' 2020-09-03 19:33:09 +01:00
John Cupitt a88061dfec fix jpegload autorotate
thanks chregu

see https://github.com/libvips/php-vips/issues/105
2020-09-03 19:31:56 +01:00
John Cupitt 55d5837f0c Merge branch '8.10' 2020-09-01 12:38:58 +01:00
John Cupitt 20a5448da1 fix handling of "squash" param in tiffsave
the deprecated param was not being detected correctly, breaking vips7
compat in some cases

see https://github.com/libvips/libvips/issues/1801
2020-09-01 12:34:09 +01:00
John Cupitt a3dfa3911e Merge branch '8.10' 2020-08-31 14:10:43 +01:00
John Cupitt 285ab2e6cc better mask sizing for gaussmat
We were calculating the mask size incorrectly for small masks.

Thanks johntrunc

see https://github.com/libvips/libvips/issues/1793
2020-08-31 13:37:08 +01:00
John Cupitt 817bb1d65c fix typo 2020-08-28 19:06:21 +01:00
John Cupitt 2c4c4132e8 Merge branch '8.10' 2020-08-28 17:47:40 +01:00
John Cupitt 99423649b9 start sinkscreen thread on first use
we were starting the sinkscreen background thread during vips_init() --
instead, start it on first use

see https://github.com/libvips/libvips/issues/1792
2020-08-28 17:46:23 +01:00
John Cupitt d5aaf3d056
Merge pull request #1795 from kleisauke/sinkscreen-mem-leak
Fix a small memory leak in sinkscreen
2020-08-28 16:56:09 +01:00
Kleis Auke Wolthuizen 9f5304632f Fix a small memory leak in sinkscreen 2020-08-27 18:11:03 +02:00
John Cupitt caa1cb9d9b improve docs for arrayjoin
see https://github.com/libvips/pyvips/issues/202
2020-08-24 17:42:33 +01:00
John Cupitt b07cfa858a note svg fix 2020-08-21 11:39:33 +01:00
Lovell Fuller 69ee8a32b6 Ensure SVG loader skips input with chars outside x09-x7F range
Add test with example valid WebP image that happens to contain
the string '<svg' within its compressed image data.
2020-08-21 11:38:40 +01:00
John Cupitt 7a8e891632
Merge pull request #1787 from lovell/svg-loader-skip-control-chars
Ensure SVG loader skips input with chars outside x09-x7F range
2020-08-21 11:37:10 +01:00
Lovell Fuller 489324f392 Ensure SVG loader skips input with chars outside x09-x7F range
Add test with example valid WebP image that happens to contain
the string '<svg' within its compressed image data.
2020-08-21 10:17:08 +01:00
John Cupitt fa84d297dd note how to list interpolators 2020-08-20 07:05:13 +01:00
John Cupitt 409301a200 improve C++ API
Make VObject inheritance public, so we can have a single set() for all
VObject-derived types.
2020-08-19 15:08:28 +01:00
John Cupitt 2188e79283 Merge branch 'master' into add-doxygen 2020-08-19 14:37:56 +01:00
John Cupitt 99313edb68 fix some unknown types
We were missing VipsInterpolate and guint64. Add guint64 set() as well.

see 636e265477 (commitcomment-41589463)
2020-08-19 14:36:50 +01:00
John Cupitt f8faa5f7f7 Merge branch '8.10' 2020-08-19 11:12:18 +01:00
John Cupitt 270933c281 convert no-profile CMYK to RGB on save
Use the fallback cmyk profile to convert to RGB on save if the image has
no embedded profile.

Thanks augustocdias.

See https://github.com/libvips/libvips/issues/1767
2020-08-19 11:09:38 +01:00
John Cupitt d4c20e6d1c a few more doc comments 2020-08-18 01:28:40 +01:00
John Cupitt 5e985ad187 add doc comments for VError and VInterpolate 2020-08-17 19:16:03 +01:00
John Cupitt 636e265477 revise cpp codegen again
use f'' strings, polish formatting
2020-08-17 18:07:11 +01:00
John Cupitt 6cabb3e301 add doxygen to the build system
configure tests for it, make runs it, make install copies the generated
html
2020-08-17 17:54:42 +01:00