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
Lovell Fuller
66f7cef253
Docs: fix a few typos
2023-07-12 14:22:29 +01:00
Lovell Fuller
cc5ac5385f
Docs: clarify use of extract before composite
2023-06-23 08:08:39 +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
dc4b39f73f
Docs: multi-page images cannot be flipped
2023-05-13 08:54:21 +01:00
Lovell Fuller
e873978e53
Docs: clarify which axis is used when mirroring
2023-05-11 10:24:24 +01:00
Lovell Fuller
a2ca678854
Docs: clarify text align applies to multi-line
2023-04-27 09:00:11 +01:00
Lovell Fuller
bf9bb56367
Docs: fix affine interpolator example
2023-04-22 13:56:33 +01:00
Lovell Fuller
d08baa20e6
Install: log possible error when removing vendor dir
2023-04-19 11:06:16 +01:00
Lovell Fuller
afed876f90
Docs: ensure inclusion of jp2 function
...
A misplaced code coverage comment was preventing this.
See ef849fd for the original commit where this broke.
2023-04-17 20:55:12 +01:00
Lovell Fuller
d6b60a60c6
Docs: add example of how to set EXIF GPS metadata
2023-04-17 20:35:47 +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
de01fc44e7
Docs: ensure API fn name linking is consistent
2023-03-28 14:00:52 +01:00
Lovell Fuller
148760fe55
Docs: clarify resize reduction/enlargement options refer to scaling
...
Types: options can be passed as first resize parameter
2023-03-24 15:19:21 +00:00
Lovell Fuller
6008ff8a08
Docs: tile-based output requires libgsf
2023-03-22 09:17:07 +00:00
LachlanNewman
d7776e3b98
Add support to normalise for lower and upper percentiles ( #3583 )
2023-03-21 10:13:12 +00:00
Lovell Fuller
fc03fba602
Docs: clarify metadata ignores chained ops
2023-03-10 13:35:06 +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
Lovell Fuller
b90474affa
Docs: clarify formats that support multi-page/anim
2023-02-28 14:39:49 +00:00
Lovell Fuller
34cbc6dec3
Docs: clarify that paths are relative to process working dir
2023-02-23 10:33:13 +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
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
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
25c6da2bcd
Docs: add a couple of missing params/props
2023-01-17 15:01:52 +00:00
Lovell Fuller
02f855d57a
Expose own version as sharp.versions.sharp #3471
2023-01-17 09:56:58 +00:00