Commit Graph

6842 Commits

Author SHA1 Message Date
John Cupitt
1388aef361 Merge branch '8.10' 2020-09-23 21:04:57 +01:00
John Cupitt
8d52c8b761 revise heif sniffing again 2020-09-23 21:03:22 +01:00
Lovell Fuller
b6276dd44d heifload: simplify is_a check of first 4 bytes
Allow multiples of 4, up to 32, as chunk length
2020-09-23 20:49:48 +01:00
John Cupitt
1ae4110458
Merge pull request #1831 from lovell/libheif-is-a-sig-chunk-len
libheif: simplify is_a check of first 4 bytes
2020-09-23 20:48:52 +01:00
Lovell Fuller
aa052da22d heifload: simplify is_a check of first 4 bytes
Allow multiples of 4, up to 32, as chunk length
2020-09-23 18:31:20 +01:00
John Cupitt
01bbef36d5 Merge branch '8.10' 2020-09-23 08:14:47 +01:00
John Cupitt
e4b711a358 better heif signature detection 2020-09-23 08:13:52 +01:00
Lovell Fuller
553eb73965 Verify ISO/3GPP2 signature in heifload is_a check 2020-09-23 08:12:14 +01:00
John Cupitt
73ef7dbf2a
Merge pull request #1828 from lovell/heif-verify-iso-container
heifload: verify ISO BMFF/3GPP2 signature in is_a check
2020-09-23 07:50:12 +01:00
Lovell Fuller
1922a97a85 Verify ISO/3GPP2 signature in heifload is_a check 2020-09-22 22:09:35 +01:00
John Cupitt
58a327b7f9 Merge branch '8.10' 2020-09-21 10:07:39 +01:00
John Cupitt
ffe574399e oop typo 2020-09-21 10:07:25 +01:00
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