Lovell Fuller
3043e01171
Make heif compression option mandatory #3740
2023-09-27 11:55:42 +01:00
Lovell Fuller
a41c62be2b
Upgrade semistandard, appease new linter rules
2023-09-26 21:25:15 +01:00
Lovell Fuller
854ed65016
Test: remove saliency directory
...
These scripts were originally used to help determine
some of the logic that is now part of the 'attention'
crop strategy in libvips itself.
2023-09-26 21:22:54 +01:00
Lovell Fuller
8f63d131a4
Upgrade exif-reader devDep to v2
2023-09-26 21:19:24 +01:00
Lovell Fuller
70a3067963
Test: update bench deps, use physical CPU core count
2023-09-26 21:16:46 +01:00
Lovell Fuller
aabbe1fa08
Distribute prebuilt binaries via the npm registry #3750
...
- Remove all custom download logic for prebuilt binaries
- Add scripts to populate package contents
- Specify minimum versions of common package managers
- Remove sharp.vendor runtime API as no-longer relevant
- Update installation docs and issue templates
2023-09-26 20:26:39 +01:00
Lovell Fuller
9c217ab580
Ensure withMetadata can add RGB16 profiles #3773
2023-08-31 12:49:50 +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
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
sho-xizz
87562a5111
TypeScript: Ensure WebpOptions minSize is boolean ( #3758 )
2023-08-09 13:45:10 +01:00
pilotso11
ffefbd2ecc
TypeScript: add missing WebpPresetEnum ( #3748 )
2023-08-04 10:51:06 +01:00
Kleis Auke Wolthuizen
bc8f983329
Tests: ensure Jimp benchmark uses bicubic as resizing kernel ( #3745 )
2023-07-30 11:25:45 +01:00
Kleis Auke Wolthuizen
440936a699
Tests: update benchmark deps and container ( #3744 )
...
Use Node 18.x in benchmark container
2023-07-30 11:24:27 +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
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
d2f0fa855b
Tests: loosen threshold for affine rotate then extract
...
Ignores rounding errors under Rosetta emulation
2023-07-10 08:12:13 +01:00
Lovell Fuller
14c3346800
Prevent over-compute in affine rotate #3722
2023-07-09 09:04:07 +01:00
Lovell Fuller
0da55bab7e
Tests: remove unused dependency
2023-06-29 09:11:25 +01:00
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