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
Lovell Fuller
b3c3290f90
Upgrade to libvips v8.13.3
2022-11-03 14:09:23 +00:00
Lovell Fuller
5b0fba4c01
Ensure auto-rotate always works without resize #3422
2022-11-02 13:59:34 +00:00
Lovell Fuller
eacb8337fa
Ensure manual flip, rotate, resize op order #3391
2022-10-01 11:55:29 +01:00
Lovell Fuller
891cf67d0b
Upgrade to libvips v8.13.2
2022-09-29 14:19:58 +01:00
Lovell Fuller
d1004eed02
Ensure greyscale images can be trimmed #3386
2022-09-26 10:15:25 +01:00
Lovell Fuller
28b87db760
Ensure AVIF output is always 8-bit #3358
2022-09-14 13:33:47 +01:00
Lovell Fuller
fbd4970b57
Ensure auto-rotation works with shrink-on-load #3352
...
Fixes regression in 0.31.0
2022-09-07 14:17:40 +01:00
Marcos Casagrande
eee0dd36d9
Ensure limitInputPixels uses uint64 ( #3349 )
2022-09-06 09:05:51 +01:00
Lovell Fuller
c1393daa70
Expose unlimited option for HEIF input
2022-09-05 09:19:53 +01:00
Lovell Fuller
5cdb2b83d5
Upgrade to libvips v8.13.1
2022-09-04 12:42:27 +01:00
Lovell Fuller
55c4d8807c
Improve normalise op with use of histogram #200
2022-09-04 10:31:43 +01:00
Lovell Fuller
f5109560d6
Standardise approach for string to enum conversion
2022-09-02 12:20:09 +01:00
Mart
c3a852eecf
Add trim option to provide a specific background colour ( #3332 )
...
Co-authored-by: Mart Jansink <mart@cinemait.nl>
2022-08-23 12:28:02 +01:00
Lovell Fuller
a618ce7a15
Ensure image is unpremultiplied before composite #3334
2022-08-21 17:51:05 +01:00
Anton Marsden
74e3f73934
Expand linear operation to allow use of per-channel arrays #3303
2022-08-20 10:27:04 +01:00
Lovell Fuller
212a6e7519
Ensure op ordering is respected where possible #3319
...
Emit warnings when previous ops might be ignored
Flip and flop now occur before rotate, if any
2022-08-18 16:41:33 +01:00
brahima
ea7cf2a2ef
Expose vips_text to create an image containing rendered text ( #3252 )
2022-07-25 11:32:10 +01:00
Lovell Fuller
b46ab510da
Add Buffer and Stream support to tile output #2238
2022-07-24 11:06:41 +01:00
Lovell Fuller
c295f06a6f
Ensure only props owned by EXIF Object are parsed #3292
2022-07-13 21:33:06 +01:00
Lovell Fuller
6288c7bced
Expose reoptimise palette option for GIF output
2022-07-12 21:12:31 +01:00
Lovell Fuller
d247c02762
Add mixed and minSize animation options for WebP output
2022-07-12 14:51:03 +01:00
Lovell Fuller
1b84ccbbe9
Ensure fileSuffix supports suffix-less loaders
2022-07-11 20:56:19 +01:00
Lovell Fuller
e4160c684d
Docs: add timeout example
2022-07-11 11:12:32 +01:00
Lovell Fuller
905518fab0
Add input fileSuffix and output alias to format #2642
2022-07-11 10:45:19 +01:00
Lovell Fuller
8ff33763ce
Ensure OpenSlide+FITS input works with custom libvips #3226
2022-07-08 22:25:39 +01:00
Lovell Fuller
cbf741cac7
Ensure trim is no-op when it would reduce to nothing #3223
2022-07-08 21:06:58 +01:00
Lovell Fuller
e0d3c6e05d
Use bounding box of alpha+non-alpha for trim op #2166
2022-07-05 18:19:17 +01:00
Lovell Fuller
81c74f57e0
Re-introduce support for greyscale ICC profiles #3114
2022-06-29 11:41:36 +01:00
Lovell Fuller
bb91912883
Drop support for Node.js 12, now requires >= 14.15.0
2022-06-29 10:32:25 +01:00
Kleis Auke Wolthuizen
afc4c5bf79
Upgrade to libvips v8.13.0-rc1 ( #3230 )
...
* Switch from decompress-zip to extract-zip
The former seems to hang when unzipping a ZIP64 file that uses
the general purpose bit flag 3 as file entry.
See: https://github.com/thejoshwolfe/yauzl#no-streaming-unzip-api
* Prefer to call via static member instead
Makes it clearer that a static method is being called.
* `flatten-orange.jpg`: save without chroma subsampling
To ensure no down-scaling of the Cr/Cb channels.
2022-06-26 22:39:29 +01:00
Blayne Chard
a333b87f5d
Prevent upsampling via libwebp ( #3267 )
2022-06-20 10:49:53 +01:00
Lovell Fuller
a75718565c
Ensure composite can tile with outside resize #3227
2022-06-08 12:39:00 +01:00