Commit Graph

7304 Commits

Author SHA1 Message Date
John Cupitt
fa260df262 Merge branch '8.10' 2020-09-21 09:45:34 +01:00
John Cupitt
54144a8bc5 allow gaussblur sigma 0
meaning no blur (obviosuly)
2020-09-21 09:45:08 +01:00
John Cupitt
10bada0161 tiny thumbnail speedup
thumbnail can skip premultiply/unpre if there's no residual resize
2020-09-21 09:38:11 +01:00
John Cupitt
0c7b65e156 allow both dpi and scale to be set for pdfload
pdfload didn't allow both dpi and scale to be set. This patch makes the
two settings combine if both are given.

thanks le0daniel

see https://github.com/libvips/libvips/issues/1824
2020-09-21 09:29:25 +01:00
John Cupitt
d87a72c40d Merge branch '8.10' 2020-09-17 18:22:58 +01:00
John Cupitt
dc88d6c1e1 fix dzsave iiif dimensions
dzsave in iiif mode could set info.json dimensions off by one

thanks Linden6

see https://github.com/libvips/libvips/issues/1818
2020-09-17 17:07:08 +01:00
John Cupitt
82724a80ee
Merge pull request #1819 from lovell/libheif-expose-speed-parameter
libheif: expose speed parameter
2020-09-17 08:20:40 +01:00
Lovell Fuller
2403b29c1f libheif: expose speed parameter (currently AV1 compression only)
Supports both aom and rav1e encoders by limiting to a 0-8 range.

(The rav1e encoder accepts speed values of 9 and 10 but these
use 64x64 blocks more suited to video than images.)
2020-09-16 19:22:45 +01:00
John Cupitt
7a5a3a31fc block doxy latex output too 2020-09-15 12:08:55 +01:00
John Cupitt
a88c88bb7b Merge branch '8.10' 2020-09-15 10:20:15 +01:00
John Cupitt
0617165c66 raise minimum libheif version to 1.3
We didn't compile with anything less than 1.3 anyway.

see https://github.com/libvips/libvips/issues/1817
2020-09-15 10:18:38 +01:00
John Cupitt
fe7086b173 add a .gitignore for the new cpp api
to stop accidentally adding it to 8.10
2020-09-15 10:18:09 +01:00
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