John Cupitt
58b6d73a70
deprecate vips_popen()
...
it didn't work well on win, and we no longer use it anyway
2020-07-27 15:21:59 +01:00
John Cupitt
cb1634dd31
block fuzz data over 100kb
...
Many codecs can take a huge amount of time attempting to read large
random objects. jpeg_read_header(), for example, can take ~10s on a 1mb
of random data.
Ignore fuzz objects over 100kb.
See https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=24383
2020-07-25 14:46:44 +01:00
John Cupitt
213533e03c
better webp load sanity checking
...
see d93d9bb43b (r40846309)
2020-07-23 15:46:53 +01:00
John Cupitt
9a88b25aaa
Merge branch 'master' of github.com:libvips/libvips
2020-07-23 15:42:04 +01:00
John Cupitt
17cddc196b
improve pngload error messages too
...
see https://github.com/libvips/libvips/issues/1578
2020-07-23 15:41:20 +01:00
John Cupitt
70c0b36d4f
better pngsave error message
...
add a target name to png's "unable to write to target" message
see https://github.com/libvips/libvips/issues/1578
2020-07-23 15:26:11 +01:00
John Cupitt
7c413f8872
Merge pull request #1727 from kleisauke/oss-fuzz-24230
...
Fix undefined-shift in scanline_read_old
2020-07-21 18:05:32 +01:00
John Cupitt
d203a3fb89
small comment improvements
2020-07-21 18:03:45 +01:00
John Cupitt
c4d093b01f
Merge pull request #1735 from lovell/perf-scrgb-to-rgb
...
Performance: improve scRGB to sRGB conversion by ~8%
2020-07-21 17:58:12 +01:00
John Cupitt
a6557eb94f
Merge pull request #1733 from lovell/perf-xyz2lab-clip
...
Performance: safely improve XYZ to LAB conversion by ~12%
2020-07-21 15:16:11 +01:00
Lovell Fuller
e508ea6511
Performance: improve scRGB to sRGB conversion by ~8%
...
- Remove unnecessary isinf checks as values are clipped
- Remove any ignored out-of-gamut tracking
2020-07-21 14:36:57 +01:00
Lovell Fuller
3659655750
Performance: improve XYZ to LAB conversion by ~15%
...
- VIPS_CLIP is faster than fmin/fmax based library calls
- Cast to int to ensure the cubed root LUT is not referenced by NaN
2020-07-21 14:21:27 +01:00
John Cupitt
b845d4a20d
Merge pull request #1732 from libvips/revert-1729-perf-lab-clip
...
Revert "Performance: improve XYZ to LAB conversion by ~15%"
2020-07-21 11:01:44 +01:00
John Cupitt
e82b1689c7
Revert "Performance: improve XYZ to LAB conversion by ~15%"
2020-07-21 11:00:35 +01:00
John Cupitt
54791b221c
Merge branch 'master' of github.com:libvips/libvips
2020-07-20 15:01:19 +01:00
John Cupitt
d93d9bb43b
fix large animated web support
...
we were not checking image bounds correctly for very large animated webp
images
thanks pomirleanu
see https://github.com/libvips/libvips/issues/1730
2020-07-20 14:59:36 +01:00
John Cupitt
ef6ad7f4bb
Merge pull request #1729 from lovell/perf-lab-clip
...
Performance: improve XYZ to LAB conversion by ~15%
2020-07-20 13:36:03 +01:00
John Cupitt
cba371a9ba
add a note about atan2() use in complex.c
...
see https://github.com/libvips/libvips/pull/1728
2020-07-20 13:34:41 +01:00
John Cupitt
8eefe9f4fb
Merge pull request #1728 from lovell/lch-prefer-atan-over-atan2
...
Performance: improve LAB to LCH conversion by ~30%
2020-07-20 13:31:07 +01:00
Lovell Fuller
4aaa39502b
Improve performance of conversion to LAB by ~15%
2020-07-19 21:20:21 +01:00
Kleis Auke Wolthuizen
aac1748615
Explicitly cast to unsigned int before left-shifting
...
To avoid potential signed integer overflow (undefined behavior), as
implicit integer promotion means the operand becomes a (signed) int.
2020-07-19 19:14:48 +02:00
Lovell Fuller
a7357c5757
Perf: improve conversion to LCH by ~30%, avoid costly atan2
2020-07-19 15:29:03 +01:00
Kleis Auke Wolthuizen
3460814b98
Add test case for undefined shift in rad2vips
2020-07-19 13:48:21 +02:00
John Cupitt
72ca38cab0
only rebuild heif exif if we have to
...
and fix write of XMP write in heic
2020-07-19 02:06:36 +01:00
John Cupitt
fcaba0e6ba
add @profile to webpsave
...
small tiffsave fixes too
2020-07-18 14:49:37 +01:00
John Cupitt
a69c998ff0
avoid exif rebuild when stripping jpg
...
don't rebuild the exif data block if we don't need it
see https://github.com/libvips/libvips/issues/394
2020-07-18 14:07:21 +01:00
John Cupitt
63a549a3b2
Ugly hack to hide the GPSVersionID bug
...
see https://github.com/libvips/libvips/issues/394
2020-07-18 11:59:42 +01:00
John Cupitt
43385c928d
fix crash with some openslide images
...
some openslide images seem to have null properties
see https://github.com/libvips/libvips/issues/1723
2020-07-17 10:50:09 +01:00
John Cupitt
0a4d4daf5e
Merge branch 'master' of github.com:libvips/libvips
2020-07-15 12:22:37 +01:00
John Cupitt
6e9d6cc80a
Merge pull request #1718 from Zeranoe/patch-1
...
Update link for vips-gmic
2020-07-15 12:10:50 +01:00
John Cupitt
36ac84ee6f
fix spngload default ppm
2020-07-15 10:56:34 +01:00
Zeranoe
2d7fe6211f
Update link for vips-gmic
...
vips-gmic doesn't appear to be a libvips repo anymore.
2020-07-15 03:30:58 -04:00
John Cupitt
83a7970a7d
Merge pull request #1716 from kleisauke/ubuntu-18.04-travis
...
Travis improvements
2020-07-14 19:06:03 +01:00
Kleis Auke Wolthuizen
102b3730e8
Remove stages from Travis
...
Ensures that the "fast_finish" option is honored and that
"Allowed failures" is still listed as a separate block.
2020-07-14 19:37:39 +02:00
Kleis Auke Wolthuizen
81cf52b6fa
Fix a typo
2020-07-14 19:09:30 +02:00
Kleis Auke Wolthuizen
62ecad6459
Compile with -Wcast-function-type on Travis
...
See:
https://github.com/libvips/libvips/pull/1697#issuecomment-657602404
2020-07-14 19:09:30 +02:00
Kleis Auke Wolthuizen
f2035797f9
Add bash to LSan suppression file
2020-07-14 19:09:30 +02:00
Kleis Auke Wolthuizen
e8dc191795
Upgrade GCC to 10 on Travis
2020-07-14 19:09:27 +02:00
Kleis Auke Wolthuizen
d4fef12284
Use Ubuntu 18.04 (Bionic) on Travis
2020-07-14 19:08:21 +02:00
John Cupitt
f7e8db599d
spngload warns about trucated files
...
it used to silently work
2020-07-14 17:56:36 +01:00
John Cupitt
740be29586
better PNG unit handling on read
2020-07-14 16:32:02 +01:00
John Cupitt
ee4610ce18
fix a compiler warning
2020-07-14 12:56:47 +01:00
John Cupitt
cc3682cb79
Merge branch 'master' of github.com:libvips/libvips
2020-07-14 10:26:46 +01:00
John Cupitt
5739ba12eb
fix a few more function casts
...
see
https://github.com/libvips/libvips/pull/1697#issuecomment-657602404
2020-07-14 10:25:35 +01:00
John Cupitt
8c69493168
Merge pull request #1714 from kleisauke/vips7-compat
...
Add missing vips7 compat wrappers
2020-07-14 09:27:53 +01:00
Kleis Auke Wolthuizen
18f3b2519f
Styling / typo fixes
2020-07-13 15:41:16 +02:00
Kleis Auke Wolthuizen
9226303b1c
Add missing vips7 compat wrappers
...
For im_{lr,tb}mosaic and im_correl.
2020-07-13 15:38:09 +02:00
John Cupitt
ad16b87a75
add LT_INIT
2020-07-10 17:34:40 +01:00
John Cupitt
84d0d5a7a3
Merge pull request #1708 from kleisauke/out-of-source
...
Fix out-of-source build issues
2020-07-10 17:19:03 +01:00
John Cupitt
97eb2e53bd
missing copy-memory during thumbnail rotation
...
see https://github.com/libvips/libvips/issues/1704#issuecomment-655691041
2020-07-09 07:08:49 +01:00