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
dc07fd4e9c
Upgrade to libvips v8.15.2
2024-03-18 15:55:01 +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
3eeaee71c0
Ensure pipelineColourspace handles CMYK profiles #3906
2024-03-06 20:20:04 +00:00
Lovell Fuller
75fedf1b75
Ensure keepIccProfile retains P3 input profiles #4008
2024-02-26 15:23:50 +00:00
Lovell Fuller
fb70fbb09f
Ensure keepIccProfile retains CMYK input profiles #3906
2024-02-11 20:10:18 +00:00
Lovell Fuller
278f393f74
Upgrade to libvips v8.15.1
2024-01-11 15:44:57 +00:00
Lovell Fuller
cbf68c1395
Improve error for unsupported multi-page rotation #3940
2024-01-11 11:59:01 +00:00
Lovell Fuller
9bcf399b4c
Ensure extend op stays sequential when copying px #3928
2024-01-04 09:24:41 +00:00
Lovell Fuller
fe2b298a2f
Emit warning for invalid ICC profile #3895
2023-12-15 12:13:57 +00:00
Lovell Fuller
1592f96b7b
Add support for Yarn Plug'n'Play filesystem layout #3888
2023-12-10 19:38:03 +00:00
Lovell Fuller
e78200cc84
Increase control over output metadata ( #3856 )
...
Add withX and keepX functions to take advantage of
libvips 8.15.0 new 'keep' metadata feature.
2023-11-22 09:03:57 +00:00
Lovell Fuller
3f7313d031
Improve tint luminance with weighting function ( #3859 )
...
Co-authored-by: John Cupitt <jcupitt@gmail.com>
2023-11-19 13:19:34 +00:00
Lovell Fuller
139e4b9f65
Show cast-function-type compiler warnings
2023-11-16 11:18:58 +00:00
Lovell Fuller
a8f68ba7f0
Add infrastructure to build and publish as wasm32 ( #3840 )
...
Co-authored-by: Ingvar Stepanyan <me@rreverser.com>
2023-11-09 14:46:07 +00:00
Lovell Fuller
8c5a493f68
Correct Deno package cache rpath from 8d1747a
2023-11-06 14:20:53 +00:00
Lovell Fuller
4a37a27cca
Improve worker thread support by preventing unload on dlclose
2023-11-04 22:23:01 +00:00
Lovell Fuller
0bd1715f36
Options for trim op must be an Object, add lineArt #2363
2023-11-04 14:09:50 +00:00
Lovell Fuller
2e7c60675b
Upgrade to libvips 8.15.0-rc2
2023-11-04 11:36:18 +00:00
Dennis Beatty
28aa176957
Add support for miniswhite when using TIFF output
2023-11-03 11:27:49 +00:00
Lovell Fuller
655da113c8
Ensure multi-page extract remains sequential #3837
2023-11-01 13:54:33 +00:00
Lovell Fuller
069d1786f5
The value of library_dirs is now common for all platforms
2023-10-20 11:15:23 +01:00
Lovell Fuller
f43829a16a
Use Call semantics for C++ to JS callbacks
...
Reverts 4ec883e as no longer required
2023-10-19 16:14:21 +01:00
Lovell Fuller
8d1747aa6a
Add rpath to match Deno package cache layout
2023-10-13 18:54:37 +01:00
Lovell Fuller
f8b6cb6d5b
Update package names to use 'img' npm organisation
2023-10-12 17:03:37 +01:00
Lovell Fuller
4b028edfe9
Revert "Remove extraneous rpath"
...
This reverts commit 3f54ef7525ed357ce64bf375ef7ce3d70a52ba61.
The filesystem layout used by pnpm means that a nesting of 2
directories deep is used in the wild and must remain.
2023-10-10 09:56:07 +01:00
Lovell Fuller
7e25dd7be1
Ensure versions prop detects use of global libvips
2023-10-10 09:18:25 +01:00
Lovell Fuller
3b22640077
Use std::snprintf to concat libvips version parts
2023-10-09 13:35:20 +01:00
Lovell Fuller
3f54ef7525
Remove extraneous rpath
...
The sharp.node shared library should now always end up being
nested either 3 subdirectories deep into the package root or exist
within same namespace of the node_modules tree.
2023-10-09 07:58:14 +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
08108f5fad
Use std::once for vips_init call
2023-10-06 09:44:57 +01:00
Lovell Fuller
f8cf25ca56
Ensure correct interp of 16-bit raw input #3808
2023-10-05 14:05:36 +01:00
Lovell Fuller
70ac6905c7
Use std::atomic for counters
2023-09-30 14:01:04 +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
Lovell Fuller
dbce6fab79
Upgrade to libvips v8.14.5
2023-09-18 20:09:54 +01:00
Lovell Fuller
9c217ab580
Ensure withMetadata can add RGB16 profiles #3773
2023-08-31 12:49:50 +01:00
Lovell Fuller
e7381e522e
Alternative fix for 4340d60, uses existing StaySequential
2023-08-31 12:09:11 +01:00
Lovell Fuller
4340d60ccf
Ensure composite tile images fully decoded #3767
2023-08-31 09:04:51 +01:00
Lovell Fuller
95635683ac
Ensure withMetadata skips default profile for RGB16 #3773
2023-08-24 18:13:00 +01:00
Lovell Fuller
ccd51c8cbf
Upgrade to libvips v8.14.4
2023-08-15 16:40:22 +01:00
Lovell Fuller
bb7469b2d1
Ensure withMetadata adds default sRGB profile #3761
2023-08-15 13:02:20 +01:00
Kleis Auke Wolthuizen
a2cac61209
Simplify 90/270 orient-before-resize logic ( #3762 )
2023-08-15 07:56:07 +01:00
Lovell Fuller
5c19f6dd9b
Ensure resize fit=inside respects 90/270 rotate #3756
2023-08-14 13:45:23 +01:00
Kleis Auke Wolthuizen
2829e17743
Fix build with musl 1.2.4 ( #3755 )
2023-08-07 21:57:00 +01:00
Lovell Fuller
7ecbc20d3d
Upgrade to libvips v8.14.3
2023-07-21 11:10:21 +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
bcd865cc96
Ensure decoding remains sequential for all ops #3725
2023-07-12 11:35:59 +01:00
Lovell Fuller
9c547dc321
Use copy rather than cache to prevent affine overcompute
...
More predictable behaviour, see commit 14c3346 for context
2023-07-10 13:56:42 +01:00
Lovell Fuller
5522060e9e
Limit HEIF output dimensions to 16384x16384
...
This is a slightly breaking change to sync with the behaviour of a
forthcoming libvips patch release. It also matches the libavif
limit. Having an arbitrary limit is safer than no limit.
2023-07-10 10:24:14 +01:00