BJJ
7e6a70af44
Improve detection of jp2 filename extensions #3674
2023-06-05 09:31:25 +01:00
Lovell Fuller
3340120aea
Types: include base input options for composite #3669
2023-05-16 13:55:28 +01:00
Lovell Fuller
8408e99aa3
Ensure trim op works with CMYK input #3636
2023-04-20 10:49:39 +01:00
Lovell Fuller
b763801d68
Ensure profile-less CMYK roundtrip skips space conv #3620
2023-04-11 20:31:57 +01:00
Lovell Fuller
2e0f789c9b
Tests: add retries to text test suite
...
as font discovery is occasionally slow
in Windows CI environment.
2023-04-09 21:42:09 +01:00
TomWis97
9ebbcc3701
Logging: fix notation of proxy URL ( #3615 )
2023-04-07 12:19:04 +01:00
Lovell Fuller
e87204b92c
Doc update and changelog entry for #3461
2023-04-07 11:21:15 +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
b55e58f31e
Trim space from end of libvips error messages
2023-03-24 09:58:21 +00:00
Lovell Fuller
9fbb4fcaef
Tests: bump benchmark deps
2023-03-22 11:03:16 +00:00
Lovell Fuller
8b8a815fbb
Tests: tile-based output optional, will require custom libvips
...
The prebuilt binaries provided by v0.32.0 will not support
tile-based output, which is (hopefully) a temporary situation
until upstream licensing issues are resolved.
2023-03-21 21:19:56 +00:00
Lovell Fuller
f8a430bdd3
Tests: reduce CPU cost of RGBA linear test, ~2s faster
2023-03-21 12:42:50 +00:00
LachlanNewman
d7776e3b98
Add support to normalise for lower and upper percentiles ( #3583 )
2023-03-21 10:13:12 +00:00
Lovell Fuller
6c61ad256f
Ensure all source code files contain SPDX licence
2023-02-28 17:01:58 +00:00
Lovell Fuller
863e37455a
Docs: changelog and credit for #3556
2023-02-18 12:50: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
b96c8e8ba4
Tests: use native fs.rm instead of rimraf
2023-02-12 19:32:00 +00:00
Lovell Fuller
42d2f07e44
Add ignoreIcc input option to ignore embedded ICC profile
2023-02-12 17:51:24 +00:00
Jérémy Lal
9608f219bd
Add support for ArrayBuffer input ( #3548 )
2023-02-05 09:45:17 +00:00
Lovell Fuller
8d8c6b70eb
Prefer integer (un)premultiply for faster RGBA resize
...
Add changelog, loosen modulate test thresholds
2023-01-24 15:44:39 +00:00
Lovell Fuller
9e2207f376
Prefer integer (un)premultiply for faster RGBA resize
2023-01-24 15:24:58 +00:00
Lovell Fuller
802f560b9b
Test: update benchmark dependencies
2023-01-24 15:21:31 +00:00
Lovell Fuller
a532659b0f
Types: changes/additions relating to new v0.32.0 features
...
A separate commit is required as these were not part of the
initial definitions in the v0.31.3 snapshot.
From now on, new features and updates can include the relevant
TypeScript definition changes as part of the same
code/docs/tests commits.
2023-01-17 16:11:04 +00:00
Lovell Fuller
02f855d57a
Expose own version as sharp.versions.sharp #3471
2023-01-17 09:56:58 +00:00
Lovell Fuller
c150263ef1
Respect fastShrinkOnLoad option for WebP input #3516
2023-01-17 09:39:23 +00:00
Espen Hovlandsdal
aa5f0f4e40
Include and publish TypeScript definitions ( #3370 )
...
Definitions are a snapshot taken from `@types/sharp`,
which remain under the terms of MIT licensing.
2023-01-16 10:48:37 +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
a1e464cc5e
Switch to sequential read as default where possible
2023-01-15 18:43:50 +00:00
Lovell Fuller
081debd055
Reduce sharpen op max sigma from 10000 to 10 #3521
2023-01-10 16:29:40 +00:00
Kleis Auke Wolthuizen
6cda090ce2
Tests: remove ICC profile from CIELAB fixture ( #3510 )
...
This ICC profile is considered incompatible with this image.
See: https://github.com/libvips/libvips/issues/730
2023-01-01 21:12:29 +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
78dada9126
Tests: skip mapnik and tensorflow for Docker-run benchmarks
...
Maintainance of mapnik seems to have stalled, no ARM64 support
Memory requirements of Tensorflow too high, hangs/crashes on AMD64
2022-12-20 18:20:59 +00:00
Lovell Fuller
15f5cd4671
Tests: move mapnik to optional deps
...
It does not currently support ARM64
2022-12-19 19:47:46 +00:00
Lovell Fuller
9eb2e94404
Tests: update benchmark dependencies
2022-12-17 14:29:11 +00:00
Lovell Fuller
e40b068628
Tests: update leak suppresions for latest dependencies
2022-12-14 21:57:42 +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
2a71f1830f
Expand range of sharpen params to match libvips #3427
2022-12-07 09:28:01 +00:00
Lovell Fuller
def99a294a
Install: log proxy use, if any, to aid with debugging
2022-12-06 19:35:47 +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
789d4851ea
Tests: remove flaky font assertions
...
Probably due to Windows CI env font discovery
2022-11-15 10:08:43 +00:00
Lovell Fuller
4490a93430
Tests: simplify beforeEach configuration
...
Remove legacy settings for previous CI providers/hardware
2022-11-15 09:54:29 +00:00
Ingvar Stepanyan
ac0dc10bd5
Tests: convert mocha hooks ( #3450 )
2022-11-15 08:58:09 +00:00
Lovell Fuller
5740f4545e
Expose GIF opts: interFrameMaxError, interPaletteMaxError #3401
2022-11-14 16:09:52 +00:00
Lovell Fuller
a9d692fb43
Reduce chance of race condition in test for... race condition
2022-11-13 10:16:47 +00:00
Lovell Fuller
df971207b8
Prevent possible race condition when reading metadata #3451
2022-11-13 10:04:55 +00:00
Ingvar Stepanyan
1a563360c6
Fix errors for missing OpenJPEG ( #3442 )
...
Fixes couple of minor issues with JP2 errors:
1. The tests passed as false-positives even if regex is changed to arbitary pattern, because the promise returned from `assert.rejects` was ignored and the test ended prematurely. This is fixed by removing `{ ... }` around the test function body.
2. This, in turn, hid an issue with `toFile` not throwing the expected error message which was instead propagating `Error: VipsOperation: class "jp2ksave" not found` from libvips. This is now fixed by manually checking the extension before calling into libvips.
3. Pre-creating error instances like `errJp2Save` did is sometimes tempting, but is problematic for debugging because it hides the actual stacktrace of the error (the stacktrace is collected at the moment of `new Error` creation). This is now turned into a function that creates error with the right stack.
2022-11-08 19:53:14 +00:00