Lovell Fuller
8ee8d273ee
Provide XMP as a string, as well as a Buffer, where possible
2025-07-04 15:56:09 +01:00
Thibaut Patel
4e3f3792ad
Add keepXmp and withXmp for control over output XMP metadata #4416
2025-07-04 15:20:32 +01:00
Lovell Fuller
df5454e7dc
Add support for RAW digicam input, requires custom libvips+libraw
2025-06-30 12:14:06 +01:00
Lovell Fuller
e26d4e9d5b
Add pageHeight param to create/new for animated input #3236
2025-06-21 11:33:52 +01:00
Lovell Fuller
852c7f8663
Clean up internal naming of format-specific input options
2025-06-17 13:24:55 +01:00
Lovell Fuller
e688c53659
Docs: expand info about parallelism and concurrency control #4411
2025-06-16 12:02:09 +01:00
Lovell Fuller
c4b1d80c35
Expose stylesheet and highBitdepth SVG input params
2025-06-16 11:11:02 +01:00
Lovell Fuller
f92540f134
Nest format-specific constructor params (deprecate at top-level)
...
- `subifd` -> `tiff.subifd`
- `level` -> `openSlide.level`
- `pdfBackground` -> `pdf.background`
2025-06-16 07:51:36 +01:00
Lovell Fuller
8c53d499f7
Expose keepDuplicateFrames GIF output parameter
2025-06-15 15:39:01 +01:00
Lovell Fuller
9392b8702b
Add Magic Kernel Sharp (no relation) to resizing kernels
2025-06-15 12:53:10 +01:00
Michael B. Klein
751f9992c4
Expose JPEG 2000 oneshot decoder option #4262
...
Requires libvips compiled with support for JP2 images
Co-authored-by: Kleis Auke Wolthuizen <github@kleisauke.nl>
2025-06-13 08:46:36 +01:00
Lovell Fuller
c4d6aec48c
Docs: Highlight that Windows ARM64 support is experimental
2025-05-19 22:04:08 +01:00
Lovell Fuller
32872ef840
TypeScript: ensure metadata response matches reality #4383
2025-05-13 14:26:25 +01:00
Kleis Auke Wolthuizen
0b5f131df8
Improve install error help text for ppc64le architecture ( #4392 )
2025-05-11 08:44:15 +01:00
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