Lovell Fuller
1f2f33d9a7
Ensure licensing headers are retained by code bundlers
2025-10-31 11:52:41 +00:00
Kleis Auke Wolthuizen
69b2c45615
Tests: migrate text suite to async ( #4466 )
2025-10-27 16:21:37 +00:00
Lovell Fuller
c1c16ed3e6
Improve error messaging when only warnings issued #4465
2025-10-17 14:57:38 +01:00
Lovell Fuller
1bbee519aa
Separate build script from install script #4458
...
The --build-from-source flag is now deprecated and will soon
be removed along with the need to define an install script.
This will remove a whole category of package manager
warnings about install scripts and "built" dependencies.
Most people don't need to build sharp from source, but for
those that do, a suitable method is now something like:
$ npm install package-that-depends-on-sharp
$ npm explore sharp -- npm run build
2025-10-07 16:11:54 +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
dfcbceee4b
Upgrade sharp-libvips to v1.2.3
2025-09-17 12:10:36 +01:00
Lovell Fuller
b0154ed83c
Upgrade sharp-libvips to v1.2.2
2025-09-15 10:01:04 +01:00
Lovell Fuller
93b814f849
Upgrade to libvips v8.17.2
2025-09-14 12:23:16 +01:00
Lovell Fuller
8607ff2f4a
Tests: remove extraneous use of toColourspace
2025-08-18 10:33:32 +01:00
Lovell Fuller
e045235545
Upgrade to sharp-libvips v1.2.1
2025-07-24 16:51:28 +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
628454559e
Ensure autoOrient removes metadata after shrink-on-load #4431
2025-07-19 14:00:42 +01:00
Lovell Fuller
92f21451c1
Upgrade to sharp-libvips v1.2.0
2025-07-08 21:58:53 +01:00
Lovell Fuller
2cd2f8430a
Upgrade to libvips v8.17.1
2025-07-08 08:36:44 +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
96dfd400b2
Tests: update benchmark environment
2025-06-26 11:16:54 +01:00
Lovell Fuller
1422798c1d
Upgrade to sharp-libvips v1.2.0-rc.3
2025-06-24 13:11:12 +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
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
01f6cbbaee
Upgrade to sharp-libvips v1.2.0-rc.2
2025-06-12 14:59:13 +01:00
Lovell Fuller
99be893dd4
Upgrade to libvips v8.17.0
...
CI: Use more recent, non-deprecated Windows runners
Bump devDeps
2025-06-12 11:27:26 +01:00
Kleis Auke Wolthuizen
4d1f7e051d
Support composite op with non-sRGB pipeline colourspace ( #4412 )
2025-06-12 10:32:24 +01:00
Kleis Auke Wolthuizen
91f1b58f31
Tests: Regenerate expected fixtures ahead of libvips v8.17.0 ( #4402 )
2025-06-08 23:31:07 +01:00
Lovell Fuller
63b0a11b5b
Tests: remove a possible race condition
2025-05-19 23:21:55 +01:00
Lovell Fuller
94481a967e
Ensure fit=contain resizing supports multiple alpha channels #4382
2025-05-13 14:31:51 +01:00
Lovell Fuller
7c7f960b60
Ensure support for wide-char filenames on Windows #4391
2025-05-13 08:53:37 +01:00
Hans
e922ef7450
Add support for prebuilt Windows ARM64 binaries #4375
2025-05-10 14:29:25 +01:00
Lovell Fuller
701143afb3
Ensure animated GIF to WebP conversion retains loop #3394
2025-04-23 15:43:58 +01:00
Lovell Fuller
c26e67cc5b
Release v0.34.0
2025-04-04 13:44:11 +01:00
Lovell Fuller
dbb7606129
Prerelease v0.34.0-rc.1
2025-04-03 15:29:32 +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
Kleis Auke Wolthuizen
2035492fd9
Ensure Yarn PnP hash calculation works with pre-releases ( #4347 )
2025-03-16 22:05:52 +00:00
Lovell Fuller
f3a4f060c6
Test: appease linter - see 3c177af
2025-03-14 12:17:37 +00:00
Lovell Fuller
3c177af594
Test: update perf test dependencies to latest
...
Drop squoosh as it does not support Node.js 20+
2025-03-14 11:13:30 +00:00
Lovell Fuller
9d40a64120
Fix small memory leak in new join feature - see 5ab9168
2025-03-13 14:08:00 +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
Steven
bee1fbaa34
Tests: use of SIMD is the default behaviour ( #4282 )
2024-11-23 22:52:12 +00:00
Lovell Fuller
06b08bf10f
Support info.size on wide-char systems via upgrade to C++17 #3943
2024-11-04 20:18:23 +00:00
Lovell Fuller
04e7f58cea
Ensure background metadata can be parsed #4090
2024-11-02 13:03:58 +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