Hans
e922ef7450
Add support for prebuilt Windows ARM64 binaries #4375
2025-05-10 14:29:25 +01:00
Lovell Fuller
73bec629cf
Docs: website already hosts images, no need to use jsdelivr
2025-05-05 13:20:49 +01:00
Stephen Tse
eba3e9aeb2
TypeScript: Add smartDeblock definition to WebpOptions ( #4387 )
2025-05-05 13:15:50 +01:00
Lovell Fuller
701143afb3
Ensure animated GIF to WebP conversion retains loop #3394
2025-04-23 15:43:58 +01:00
Steven D'Onfro
38b6f44611
TypeScript: Add missing properties for animated images ( #4369 )
2025-04-12 11:38:24 +01:00
Lovell Fuller
5b5dfbad77
Ensure pdfBackground constructor property is used #4207
...
Slightly refactor the way background colours are set
2025-04-09 22:21:14 +01:00
Kleis Auke Wolthuizen
a642767329
Docs: update path to api-resize-fit.svg
( #4368 )
2025-04-08 10:15:29 +01:00
Steven
3c7dbb8fba
fix(types): update autoOrient
type to include undefined ( #4362 )
...
This PR fixes the following error:
```
node_modules/.pnpm/sharp@0.34.0/node_modules/sharp/lib/index.d.ts(1590,15): error TS2430: Interface 'OverlayOptions' incorrectly extends interface 'SharpOptions'.
Types of property 'autoOrient' are incompatible.
Type 'boolean | undefined' is not assignable to type 'boolean'.
Type 'undefined' is not assignable to type 'boolean'.
```
2025-04-04 21:53:46 +01:00
Quentin Pinçon
031c808aa5
Expose erode and dilate operations #4243
2025-03-27 13:17:19 +00:00
Lovell Fuller
3e41f8b65e
Non-animated GIF output defaults to no-loop #3394
2025-03-21 09:36:25 +00:00
Lovell Fuller
3fd818c4b5
Prevent use of linux-x64 binaries with v1 microarchitecture
2025-03-19 19:54:53 +00:00
Kleis Auke Wolthuizen
2035492fd9
Ensure Yarn PnP hash calculation works with pre-releases ( #4347 )
2025-03-16 22:05:52 +00:00
Lovell Fuller
edad89c531
Ensure removeAlpha removes all alpha channels #2266
2025-02-20 09:26:52 +00:00
Lovell Fuller
9d01dd20bf
TypeScript: ensure definition of sharp.versions matches reality
2025-02-10 17:37:54 +00:00
Lovell Fuller
5ab9168813
Add support for input array to join or animate #1580
2025-02-07 13:53:27 +00:00
Don Denton
14c83e1f4c
Add autoOrient operation and constructor option #4144
2025-01-17 11:09:59 +00:00
Kleis Auke Wolthuizen
92083ea64c
Docs: prebuilt binaries support tile-based output ( #4305 )
...
Except when targeting WebAssembly.
2024-12-28 11:51:50 +00:00
Lovell Fuller
82dc859a49
Docs: clarify composite operation ordering #4288
2024-12-05 12:36:52 +00:00
Lovell Fuller
7bdf419eb1
Upgrade to libvips v8.16.0
2024-11-04 18:10:35 +00:00
Lovell Fuller
04e7f58cea
Ensure background metadata can be parsed #4090
2024-11-02 13:03:58 +00:00
Lovell Fuller
3796dd8a87
Expose new libvips/libjxl features (animation, EXIF)
...
Requires libvips compiled with support for libjxl
2024-10-29 15:04:14 +00:00
Lovell Fuller
8afec170ed
Expose WebP smartDeblock output option
2024-10-29 14:41:58 +00:00
Lovell Fuller
3154af776e
Add isPalette and bitsPerSample metadata, deprecate paletteBitDepth
2024-10-29 09:11:19 +00:00
David Vaness
1533bf995a
TypeScript: Ensure channel counts use the correct range #4197
2024-10-13 13:37:43 +01:00
Lovell Fuller
b249357732
Docs: improve colour vs color consistency
...
API supports both, docs prefer colour
2024-09-06 13:40:34 +01:00
Lovell Fuller
807d9241bd
Bump/replace devDeps
...
Add required 'module' JSDoc tag to all exports
2024-09-06 13:17:33 +01:00
Caleb Meredith
7ee54810d4
Add pdfBackground constructor property ( #4207 )
2024-09-06 12:31:43 +01:00
David Vaness
ab65b7a0f1
TypeScript: chromaSubsampling can be undefined ( #4191 )
2024-08-14 12:59:10 +01:00
Lovell Fuller
ff2e689d35
Remove yarn v1 specifics from help text
2024-08-14 08:48:12 +01:00
Lovell Fuller
3c14dbb21e
Minimise use of engines
property to improve yarn v1 support
2024-08-13 09:37:00 +01:00
Marcos Casagrande
735fee74db
Expose optional minAmplitude parameter of blur operation ( #4172 )
2024-07-23 11:31:11 +01:00
Marcos Casagrande
67a4592756
Expose optional precision parameter of blur operation ( #4168 )
2024-07-20 13:53:23 +01:00
Lovell Fuller
10c6f474d9
Docs: changelog and credit for #4157
2024-07-18 18:29:38 +01:00
Nathan Keynes
d642108be2
Expose PNG metadata comments ( #4157 )
2024-07-18 18:08:03 +01:00
Denice
60c5c5083d
Add support to recomb operation for 4x4 matrices
2024-07-05 15:31:51 +01:00
Lovell Fuller
ae06f46914
Ensure sharp.format.heif is AVIF-only for prebuilt binaries
2024-06-19 09:40:02 +01:00
Lovell Fuller
9c05ea8dd2
Add pageHeight and pages to anim output response #3411
2024-06-17 16:32:49 +01:00
Richard Hillmann
56fae3eda1
Ensure SHARP_FORCE_GLOBAL_LIBVIPS option works correctly #4111
...
Allows the install/check script to inject a logger function,
keeping its use within binding.gyp free of additional output.
Co-authored-by: Lovell Fuller <github@lovell.info>
2024-05-24 17:45:39 +01:00
Lovell Fuller
da655a1859
Reduce default concurrency for musl thread over-subscription
...
https://github.com/lovell/sharp-libvips/issues/229
2024-04-30 19:23:44 +01:00
Lovell Fuller
a1309aa3b8
Tighten constructor text property validation #4071
2024-04-19 12:48:47 +01:00
Lovell Fuller
579cf93030
Install: advanced option to force global libvips #4060
2024-04-10 09:25:53 +01:00
Lovell Fuller
f67228e5ea
Remove experimental status from pipelineColourspace
2024-04-09 22:32:17 +01:00
Lovell Fuller
6257994746
Expose bilinear resize kernel and improve docs #4061
2024-04-09 22:21:52 +01:00
ike
0981b24f60
TypeScript: add missing definitions for OverlayOptions ( #4048 )
2024-04-02 14:42:10 +01:00
Lovell Fuller
aa1bbcb5c1
Guard heif bitdepth property for prebuilt binaries
2024-03-21 18:33:57 +00:00
Mert
3c26080c39
Add bitdepth option to heif output ( #4036 )
...
Prebuilt binaries support only AVIF with a bitdepth of 8
2024-03-21 14:36:17 +00:00
Lovell Fuller
7bc74feb11
Ensure clone takes deep copy of options #4029
2024-03-17 09:42:21 +00:00
Aaron Che
8fbb1cd154
Ensure text.wrap property can accept word-char as value ( #4028 )
2024-03-17 08:15:03 +00:00
Lovell Fuller
0f77b18078
Rename internal property name to better reflect use
...
This property is used for the processing pipeline colourspace
rather than the input colourspace, so the name was confusing.
2024-03-06 20:49:47 +00:00
Lovell Fuller
045d54e2e6
Docs: include use of fetch() in Stream-based example
2024-02-28 13:15:47 +00:00