Lovell Fuller
dbce6fab79
Upgrade to libvips v8.14.5
2023-09-18 20:09:54 +01:00
Lovell Fuller
9c217ab580
Ensure withMetadata can add RGB16 profiles #3773
2023-08-31 12:49:50 +01:00
Lovell Fuller
e7381e522e
Alternative fix for 4340d60, uses existing StaySequential
2023-08-31 12:09:11 +01:00
Lovell Fuller
4340d60ccf
Ensure composite tile images fully decoded #3767
2023-08-31 09:04:51 +01:00
Lovell Fuller
95635683ac
Ensure withMetadata skips default profile for RGB16 #3773
2023-08-24 18:13:00 +01:00
Lovell Fuller
ccd51c8cbf
Upgrade to libvips v8.14.4
2023-08-15 16:40:22 +01:00
Lovell Fuller
bb7469b2d1
Ensure withMetadata adds default sRGB profile #3761
2023-08-15 13:02:20 +01:00
Kleis Auke Wolthuizen
a2cac61209
Simplify 90/270 orient-before-resize logic ( #3762 )
2023-08-15 07:56:07 +01:00
Lovell Fuller
5c19f6dd9b
Ensure resize fit=inside respects 90/270 rotate #3756
2023-08-14 13:45:23 +01:00
Kleis Auke Wolthuizen
2829e17743
Fix build with musl 1.2.4 ( #3755 )
2023-08-07 21:57:00 +01:00
Lovell Fuller
7ecbc20d3d
Upgrade to libvips v8.14.3
2023-07-21 11:10:21 +01:00
Lovell Fuller
739b317a6f
Expose ability to (un)block libvips ops by name
2023-07-19 16:53:52 +01:00
Lovell Fuller
85b26dab68
Expose preset option for WebP output #3639
2023-07-12 19:12:04 +01:00
Lovell Fuller
bcd865cc96
Ensure decoding remains sequential for all ops #3725
2023-07-12 11:35:59 +01:00
Lovell Fuller
9c547dc321
Use copy rather than cache to prevent affine overcompute
...
More predictable behaviour, see commit 14c3346 for context
2023-07-10 13:56:42 +01:00
Lovell Fuller
5522060e9e
Limit HEIF output dimensions to 16384x16384
...
This is a slightly breaking change to sync with the behaviour of a
forthcoming libvips patch release. It also matches the libavif
limit. Having an arbitrary limit is safer than no limit.
2023-07-10 10:24:14 +01:00
Lovell Fuller
3434eef5b9
Guard use of smartcrop premultiplied option #3710
2023-07-09 09:57:20 +01:00
Lovell Fuller
2f67823c3d
Allow seq read for EXIF-based auto-orient #3725
2023-07-09 09:26:58 +01:00
Lovell Fuller
14c3346800
Prevent over-compute in affine rotate #3722
2023-07-09 09:04:07 +01:00
Lovell Fuller
de0fc07092
Ensure same access method for all inputs #3669
2023-05-16 13:53:31 +01:00
Lovell Fuller
e873978e53
Docs: clarify which axis is used when mirroring
2023-05-11 10:24:24 +01:00
Lovell Fuller
e98993a6e2
Bump node-addon-api for Buffer::NewOrCopy
2023-04-23 15:43:54 +01:00
Lovell Fuller
8408e99aa3
Ensure trim op works with CMYK input #3636
2023-04-20 10:49:39 +01:00
Lovell Fuller
5f8646d937
Support modulate op with non-sRGB pipeline colourspace #3620
2023-04-17 19:53:48 +01:00
Lovell Fuller
b763801d68
Ensure profile-less CMYK roundtrip skips space conv #3620
2023-04-11 20:31:57 +01:00
Lovell Fuller
a8645f0f38
Smartcrop performance can take future advantage of
...
https://github.com/libvips/libvips/commit/de43eea
2023-04-09 21:17:08 +01:00
Anton Marsden
a4c6eba7d4
Add unflatten operation to create an alpha channel ( #3461 )
2023-04-07 11:01:29 +01:00
Lovell Fuller
b9c3851515
Ensure linear op works with 16-bit input #3605
2023-04-01 12:08:14 +01:00
Lovell Fuller
97cf69c26a
Ensure use of flip op forces random access read #3600
2023-03-31 09:04:22 +01:00
Lovell Fuller
b55e58f31e
Trim space from end of libvips error messages
2023-03-24 09:58:21 +00:00
Lovell Fuller
08d6822265
Upgrade to libvips v8.14.2
2023-03-21 21:21:24 +00:00
LachlanNewman
d7776e3b98
Add support to normalise for lower and upper percentiles ( #3583 )
2023-03-21 10:13:12 +00:00
Lovell Fuller
4ec883eaa0
Wrap all async JS callbacks, help avoid possible race #3569
2023-03-01 12:41:11 +00:00
Lovell Fuller
0063df4d4f
Ensure clahe op uses random read, simplify validation
2023-02-28 21:59:31 +00:00
Lovell Fuller
6c61ad256f
Ensure all source code files contain SPDX licence
2023-02-28 17:01:58 +00:00
Tomasz Janowski
6f0e6f2e65
Add support to extend for extendWith, allows copy/mirror/repeat ( #3556 )
2023-02-17 14:01:24 +00:00
Lovell Fuller
42d2f07e44
Add ignoreIcc input option to ignore embedded ICC profile
2023-02-12 17:51:24 +00:00
Lovell Fuller
9e2207f376
Prefer integer (un)premultiply for faster RGBA resize
2023-01-24 15:24:58 +00:00
Lovell Fuller
c150263ef1
Respect fastShrinkOnLoad option for WebP input #3516
2023-01-17 09:39:23 +00:00
Emanuel Jöbstl
6d404f4d2c
Add coords to output when using attention based crop ( #3470 )
2023-01-16 09:20:42 +00:00
Lovell Fuller
bdc50e1d6e
Unpin node-addon-api, cast CallbackInfo access to size_t
...
See https://github.com/nodejs/node-addon-api/pull/1253
2023-01-16 09:00:42 +00:00
Lovell Fuller
a1e464cc5e
Switch to sequential read as default where possible
2023-01-15 18:43:50 +00:00
Lovell Fuller
eac6e8b261
Upgrade to libvips v8.14.0-rc1
...
- Replace GIF 'optimise' option with 'reuse'
- Add 'progressive' option to GIF
- Add 'wrap' option to text creation
- Add 'formatMagick' property to *magick input metadata
2022-12-29 15:53:50 +00:00
Lovell Fuller
584807b4f5
Add runtime detection of V8 memory cage #3384
...
When using the V8 memory cage, Buffers cannot be wrapped and then
later freed via a callback. When the cage is detected via a throw,
instead fall back to copying Buffer contents to V8 memory.
This approach will be used by Electron 21+ and you should expect
reduced performance and increased memory consumption/fragmentation.
2022-12-14 16:06:04 +00:00
Lovell Fuller
a7fa7014ef
Add experimental support for JPEG-XL, requires libvips with libjxl
...
The prebuilt binaries do not include support for this format.
2022-12-13 21:55:17 +00:00
Lovell Fuller
9d760f3958
Improve perf of ops that introduce non-opaque background #3465
2022-12-05 20:40:41 +00:00
Lovell Fuller
0265d305fe
Ensure integral output of linear op #3468
2022-12-04 21:41:15 +00:00
Lovell Fuller
a472aea025
Ignore sequentialRead option for stats #3462
2022-11-20 21:30:45 +00:00
Lovell Fuller
01ffa80338
Improve extractChannel support for 16-bit output #3453
2022-11-15 15:00:32 +00:00
Lovell Fuller
5740f4545e
Expose GIF opts: interFrameMaxError, interPaletteMaxError #3401
2022-11-14 16:09:52 +00:00