Lovell Fuller
bc95531f2d
Docs: clarify skipBlanks default for tile-based output
2024-02-13 22:40:10 +00:00
Lovell Fuller
cbf68c1395
Improve error for unsupported multi-page rotation #3940
2024-01-11 11:59:01 +00:00
Lovell Fuller
45e8071599
Add runtime check for outdated Node.js version
2024-01-10 13:50:20 +00:00
Lovell Fuller
1fa59bf9b3
Remove any suggestion to --force install
...
This is probably a bad idea in the long run as versions can
get out of sync and other genuine warnings might be ignored.
2023-12-28 11:24:46 +00:00
Abhishek V
77ab5d7a51
TypeScript: add definition for keepMetadata ( #3914 )
2023-12-24 10:24:54 +00:00
Tamás András Horváth
2e14096af7
Ensure VIPS_NOVECTOR env var is respected ( #3897 )
2023-12-15 18:51:32 +00:00
Lovell Fuller
3a0c375692
Docs: improve cross-platform help messaging
...
tldr; don't use npm for multi-platform installs
2023-12-13 12:59:14 +00:00
Lovell Fuller
c5eaeb2ddb
Add help when possibly using an unsupported libc
2023-12-12 21:01:09 +00:00
Lovell Fuller
19fa4cd1d3
Docs: update liborc references to highway
2023-12-12 12:01:41 +00:00
Lovell Fuller
9e3b021b1a
Add help text for Node.js snap failures
...
The official Node.js Snap as distributed via the Ubuntu Snap Store
does not provide support for native modules.
Sometimes, if the version of the core matches the version of the
underlying OS, then it will appear to work.
There are quite a few open issues relating to this in the
nodejs/snap repo.
2023-12-11 22:56:51 +00:00
Lovell Fuller
516b1ec332
Improve help text displayed on failure of require
2023-12-11 21:28:09 +00:00
Lovell Fuller
95ba045a69
Tests: improve yarn locator coverage
2023-12-11 21:14:40 +00:00
Lovell Fuller
a584ae093e
Allow yarn locator hash calc to fail e.g. Windows
2023-12-10 19:51:21 +00:00
Lovell Fuller
1592f96b7b
Add support for Yarn Plug'n'Play filesystem layout #3888
2023-12-10 19:38:03 +00:00
Lovell Fuller
4d049ee8f5
Docs: make use of optional dependencies even clearer
2023-12-02 09:20:42 +00:00
Lovell Fuller
9c877d93fa
Docs: info about how animated images are loaded
2023-11-27 20:35:53 +00:00
Lovell Fuller
e78200cc84
Increase control over output metadata ( #3856 )
...
Add withX and keepX functions to take advantage of
libvips 8.15.0 new 'keep' metadata feature.
2023-11-22 09:03:57 +00:00
Lovell Fuller
3f7313d031
Improve tint luminance with weighting function ( #3859 )
...
Co-authored-by: John Cupitt <jcupitt@gmail.com>
2023-11-19 13:19:34 +00:00
Pooya Parsa
75ef61a958
Correctly check for when sharp is unavailable ( #3848 )
2023-11-10 15:30:01 +00:00
Lovell Fuller
a8f68ba7f0
Add infrastructure to build and publish as wasm32 ( #3840 )
...
Co-authored-by: Ingvar Stepanyan <me@rreverser.com>
2023-11-09 14:46:07 +00:00
Lovell Fuller
074004392c
Simplify logic to determine installation help
2023-11-06 16:49:53 +00:00
Lovell Fuller
cccd1635c5
Small improvements to install error help text
2023-11-06 09:40:45 +00:00
Lovell Fuller
0bd1715f36
Options for trim op must be an Object, add lineArt #2363
2023-11-04 14:09:50 +00:00
Dennis Beatty
28aa176957
Add support for miniswhite when using TIFF output
2023-11-03 11:27:49 +00:00
Lovell Fuller
3719f79065
Docs: simply language around failOn options
2023-10-14 09:19:28 +01:00
Lovell Fuller
f8b6cb6d5b
Update package names to use 'img' npm organisation
2023-10-12 17:03:37 +01:00
Thomas
e6942805b4
TypeScript: withMetadata accepts boolean ( #3823 )
2023-10-11 20:38:13 +01:00
Lovell Fuller
47e76c9981
Ensure all Error objects contain a stack prop #3653
2023-10-11 14:59:21 +01:00
Lovell Fuller
ff2fb18c76
Remove extranous quote from help text
2023-10-11 10:03:07 +01:00
Lovell Fuller
80e4707af1
Revert "Package managers cannot handle nested optionalDependencies"
...
This partially reverts commit 51e56f994ce1332f77daf625e23820a895de074d.
Ignoring plug'n'play, it looks like yarn and pnpm do get the
filesystem layout right for this scenario, which is good news.
It also looks like npm 10 will get it right too.
2023-10-10 19:34:36 +01:00
Lovell Fuller
9b5eecba8f
Yarn pnp unsupported, use alternative nodeLinker
2023-10-10 11:14:39 +01:00
Lovell Fuller
7e25dd7be1
Ensure versions prop detects use of global libvips
2023-10-10 09:18:25 +01:00
Lovell Fuller
f7da2e5970
Building from source now requires node-addon-api in dependencies
...
If you want to build sharp from source against a globally-installed
libvips then you will now need to add both node-addon-api and
node-gyp to the dependencies section of your package.json file.
The binding.gyp file is "hidden" inside the src directory to
prevent various build and package manager tooling from assuming
that everyone is going to build from source every time.
2023-10-08 15:39:02 +01:00
Lovell Fuller
51e56f994c
Package managers cannot handle nested optionalDependencies
2023-10-07 11:09:45 +01:00
Lovell Fuller
ca95979ecc
Prefix node builtins, skips cache lookup
2023-10-05 12:09:19 +01:00
Lovell Fuller
9161c605e1
Clarify extract-resize-extract operation ordering
2023-10-03 19:28:18 +01:00
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
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
ldrick
846563e45f
TypeScript: add definitions for block and unblock ( #3799 )
2023-09-18 10:42:13 +01:00
Lovell Fuller
7f64d464de
Docs: add missing returns property to raw
2023-08-29 11:17:35 +01:00
Lovell Fuller
9c7713ed54
Docs: remove mention of EXIF from flip/flop ops
2023-08-29 10:49:21 +01:00
Lovell Fuller
8be6da1def
Docs: clarify when rotate op will remove EXIF Orientation
2023-08-29 10:19:07 +01:00
Lovell Fuller
95635683ac
Ensure withMetadata skips default profile for RGB16 #3773
2023-08-24 18:13:00 +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
Lovell Fuller
0bc79cdb95
Docs: include paletteBitDepth metadata
2023-07-28 16:04:02 +01:00
Kleis Auke Wolthuizen
f908987f35
Docs: use SVG image for the resize fit property example ( #3735 )
2023-07-21 21:58:02 +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