Commit Graph

7060 Commits

Author SHA1 Message Date
Lovell Fuller
c714a2b315 heifload: prevent reading beyond end of source buffer 2020-09-26 04:02:29 +01:00
John Cupitt
119bc7357d
Merge pull request #1833 from lovell/libheif-check-source-buffer-length
heifload: prevent read beyond end of source buffer
2020-09-26 04:01:19 +01:00
Lovell Fuller
cee4061c73 heifload: prevent reading beyond end of source buffer 2020-09-25 18:53:29 +01:00
John Cupitt
d967f2bf65 Merge branch '8.10' 2020-09-25 12:43:24 +01:00
John Cupitt
cdae2c1995 note fractsurf fix in changelog 2020-09-25 12:43:04 +01:00
Kleis Auke Wolthuizen
01765df53c Fix test failure on ARM-based Windows
The optional parameters of vips_gaussnoise were incorrectly
passed within vips_fractsurf. This was discovered when running
the libvips testsuite on Windows 10 IoT (ARM32).
2020-09-25 12:41:22 +01:00
John Cupitt
08cd0a93f7
Merge pull request #1832 from kleisauke/gaussnoise-params
Fix test failure on ARM-based Windows
2020-09-25 12:40:35 +01:00
Kleis Auke Wolthuizen
6155b6d093 Fix test failure on ARM-based Windows
The optional parameters of vips_gaussnoise were incorrectly
passed within vips_fractsurf. This was discovered when running
the libvips testsuite on Windows 10 IoT (ARM32).
2020-09-25 12:52:31 +02:00
John Cupitt
fd0a0905ff note VImage::new_from_memory_steal() in ChangeLog
plus doxy commnets etc., see https://github.com/libvips/libvips/pull/1758/
2020-09-24 10:44:49 +01:00
John Cupitt
62e1cb4862
Merge pull request #1758 from Zeranoe/master
Add C++ bindings for new_from_memory_steal()
2020-09-24 10:31:53 +01:00
John Cupitt
25bd6cce6f
Merge branch 'master' into master 2020-09-24 10:31:01 +01:00
John Cupitt
1826dd082a
Merge pull request #1770 from libvips/pdfload-minimise
put minimise support back into pdfload
2020-09-24 09:57:26 +01:00
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