John Cupitt
d7e988d16f
Merge branch '8.10'
2020-11-20 12:19:01 +00:00
John Cupitt
d971c75d6f
block 0 width or height images from imagemagick
...
IM could return 0 width and/or height for some crafted images. Block
these.
Thanks @Koen1999.
See https://github.com/libvips/libvips/issues/1890
2020-11-20 12:17:42 +00:00
John Cupitt
2772ecbb9e
add "seed" param to perlin, worley and gaussnoise
...
see https://github.com/libvips/libvips/issues/1884
2020-11-16 09:14:06 +00:00
John Cupitt
a43e9d3982
Merge branch '8.10'
2020-11-12 13:22:30 +00:00
John Cupitt
98641ba153
add read loops to gifload
...
and check for error in ppnmload.
2020-11-12 13:21:33 +00:00
John Cupitt
64e384d3ac
Merge branch '8.10'
2020-11-12 12:18:49 +00:00
John Cupitt
2dd6fc1f36
note read fixes in changelog
2020-11-12 12:18:22 +00:00
John Cupitt
e590a6919d
fix changelog after GM backport
2020-11-12 12:16:36 +00:00
John Cupitt
09e0d5bff6
Merge branch '8.10'
2020-11-12 12:16:07 +00:00
John Cupitt
c0102c5814
better GraphicsMagick image write
...
We were not setting matte or depth correctly, thanks bfriesen.
2020-11-12 12:00:11 +00:00
John Cupitt
013e8beba7
Merge branch '8.10'
2020-11-11 10:06:22 +00:00
John Cupitt
6894159ad5
fix icc-profiles and dzsave --no-strip
...
We were not copying metadata down pyramid layers in dzsave, so
--no-strip didn't allow icc profiles on tiles.
Thanks altert
See https://github.com/libvips/libvips/issues/1879
2020-11-11 10:02:46 +00:00
John Cupitt
3e40f19efc
Merge branch '8.10'
2020-11-10 11:07:41 +00:00
John Cupitt
1686725117
block annoying INFO messages on some older glibs
...
Some old glibs can display INFO messages by default. Block these
ourselves.
See https://github.com/libvips/libvips/issues/1876
2020-11-10 11:03:18 +00:00
John Cupitt
b86c9c52e1
Merge branch '8.10'
2020-11-04 09:31:01 +00:00
John Cupitt
4de9b56725
flush target at end of write
...
we were missing end-of-write flushes on four save operations
thanks harukizaemon
see https://github.com/libvips/ruby-vips/issues/256
2020-11-04 09:28:25 +00:00
John Cupitt
20988977ab
Merge branch '8.10'
2020-11-03 23:45:17 +00:00
John Cupitt
85f3ac6d8f
fix tiff pyramid save region-shrink
...
we'd forgotton to connect it up
thanks imgifty
see https://github.com/libvips/libvips/issues/1875
2020-11-03 23:14:44 +00:00
John Cupitt
076e7e3a92
Merge branch '8.10'
2020-11-03 11:52:05 +00:00
John Cupitt
91d9610a55
fix out of bounds read in tiffload
...
libtiff can change the value of some fields while scanning a corrupt
TIFF file and this could trigger an out of bounds read.
This patch makes tiffload more cautious about rescanning a TIFF
directory before reading out header fields.
2020-11-03 11:48:21 +00:00
John Cupitt
c07cadd915
Merge branch '8.10'
2020-10-20 08:56:49 +01:00
John Cupitt
ae82bcc3e8
fix out of bounds exif read in heifload
...
We were subtracting 4 from the length of the exif data block without
checking that there were 4 or more bytes there.
2020-10-20 08:54:54 +01:00
John Cupitt
774b7fcf6f
Merge branch '8.10'
2020-10-19 14:41:51 +01:00
John Cupitt
0131d4d3eb
fix vips7 webp load
...
webp load using the vips7 interface was crashing, thanks barryspearce
see https://github.com/libvips/libvips/issues/1860
2020-10-19 14:34:02 +01:00
John Cupitt
b3481f5baa
Merge branch '8.10'
2020-10-18 22:37:57 +01:00
John Cupitt
b1e636346a
relax is_a heic test rules
...
32 was a little too small, see https://github.com/libvips/libvips/issues/1861
2020-10-18 22:36:15 +01:00
John Cupitt
50288c5f18
add pdfium load from source
2020-10-16 16:57:13 +01:00
John Cupitt
47b04c9da6
get pdium load working again
...
It had bitrotted a bit. Thanks @Projkt-James.
See https://github.com/libvips/libvips/issues/1400
2020-10-16 15:13:25 +01:00
John Cupitt
d1f84b0985
better GraphicsMagick image write
...
We were not setting matte or depth correctly, thanks bfriesen.
2020-10-16 00:05:17 +01:00
John Cupitt
5556f1ec65
move the pdfium lock init
...
move it inside the existing ONCE
see https://github.com/libvips/libvips/pull/1857
2020-10-13 15:00:13 +01:00
John Cupitt
f1d2d4030e
fix build with libheif save buit not load
...
We had some definitions inside the #ifdef HEIFLOAD.
Thanks estepnv
https://github.com/libvips/libvips/issues/1844
2020-10-09 14:02:53 +01:00
John Cupitt
29b6ba1294
Merge branch '8.10'
2020-10-07 15:27:27 +01:00
John Cupitt
678b6d5c95
fix a regression in the C path for dilate/erode
...
A ++ had been dropped in the recent refactoring. Credit to kleisauke.
See https://github.com/libvips/libvips/issues/1846
2020-10-07 15:23:40 +01:00
John Cupitt
9fbf49cf60
Merge branch '8.10'
2020-10-06 11:43:13 +01:00
John Cupitt
80b73af225
note new "speed" param in heifsave
...
To help support the rapid move to AVIF.
see https://github.com/libvips/libvips/pull/1819#issuecomment-704145244
2020-10-06 10:50:06 +01:00
John Cupitt
727eb2ee39
Merge branch '8.10'
2020-10-03 18:29:23 +01:00
John Cupitt
0ee8b1e844
improve seek on pipes
...
There were a few issues in VipsSource around seeking on pipes. With this
patch, EOF detection is better, and pipe sources automatically turn into memory
sources when EOF is hit.
see https://github.com/libvips/libvips/issues/1829
2020-10-03 18:25:24 +01:00
John Cupitt
a1505c6f72
add stdin, stdout to vipsthumbnail
...
eg.
vipsthumbnail stdin[page=2] -o .jpg[Q=90]
mirror of syntax in new_from_file etc.
2020-10-02 16:46:03 +01:00
John Cupitt
c27c471e28
Merge branch '8.10'
2020-09-28 12:33:32 +01:00
John Cupitt
e3181e0579
get docs building with goi 1.66+
...
It builds now, but some doc sections are missing. Fix this properly in
8.11.
See https://github.com/libvips/libvips/issues/1836
2020-09-28 12:32:06 +01:00
John Cupitt
b078c3c164
Merge branch '8.10'
2020-09-26 13:15:45 +01:00
John Cupitt
237604bb07
revise heifload EOF detection
...
VipsSource used a unix-style model where read() returns 0 to mean EOF.
libheif uses a model where a separate call to wait_for_file_size()
beforehand is used to check thaht the read will be OK, and then the
read() is expected to never fail.
We were trying to put EOF detection into libheif read(), but that's not
the right way to do it. Instead, test for EOF in wait_for_file_size().
see https://github.com/libvips/libvips/pull/1833
2020-09-26 13:00:52 +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
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
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
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
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