Lovell Fuller
4f9f8179a6
Linter: apply all recommended biome settings
...
Enforces previously-skipped useArrowFunction check
2025-11-04 09:41:45 +00:00
Lovell Fuller
09d5aa8cfa
Docs: update internal and libvips doc links
2025-11-02 14:38:22 +00:00
Lovell Fuller
1f2f33d9a7
Ensure licensing headers are retained by code bundlers
2025-10-31 11:52:41 +00:00
Lovell Fuller
9e4e184132
Add experimental support for prebuilt linux-riscv64 binaries
2025-10-19 11:56:45 +01:00
Lovell Fuller
206eb4a89a
Limit colour strings to 200 chars, helps reduce effect of potential ReDoS
2025-10-18 14:52:17 +01:00
throwbi
6b922b30d5
Add support for BigTIFF output ( #4459 )
2025-09-30 09:41:02 +01:00
Lovell Fuller
f2978651f0
Migrate from mocha to Node.js native test runner
...
Includes coverage reports when using Node.js 22 onwards
2025-09-21 12:03:27 +01:00
Lovell Fuller
b36237ddcb
Switch linter from semistandard to biome
...
Uses the recommended rules apart from complexity/useArrowFunction,
which would affect about 1700 lines of code with little benefit
right now. This is something that can be addressed over time.
2025-09-18 21:18:31 +01:00
Lovell Fuller
45f8717900
Upgrade color to latest version via CommonJS wrapper package
...
Allows continued support of non-ESM runtimes - see #4450
2025-09-10 09:21:14 +01:00
Bayan Bennett
c01e272db5
TypeScript: Ensure KernelEnum includes linear ( #4441 )
2025-08-21 09:35:41 +01:00
Lovell Fuller
cd337e4de3
Docs: extractChannel output colourspace is b-w or grey16
2025-08-18 10:24:55 +01:00
Lovell Fuller
08b4242efe
Ensure autoOrient occurs before non-90 rotation #4425
...
- Separate orient vs rotate ordering logic
- Simplify EXIF auto-orient by using only rotate and/or flop
2025-07-21 16:10:37 +01:00
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