Lovell Fuller
6008ff8a08
Docs: tile-based output requires libgsf
2023-03-22 09:17:07 +00:00
LachlanNewman
d7776e3b98
Add support to normalise for lower and upper percentiles ( #3583 )
2023-03-21 10:13:12 +00:00
Lovell Fuller
fc03fba602
Docs: clarify metadata ignores chained ops
2023-03-10 13:35:06 +00:00
Lovell Fuller
0063df4d4f
Ensure clahe op uses random read, simplify validation
2023-02-28 21:59:31 +00:00
Lovell Fuller
6c61ad256f
Ensure all source code files contain SPDX licence
2023-02-28 17:01:58 +00:00
Lovell Fuller
b90474affa
Docs: clarify formats that support multi-page/anim
2023-02-28 14:39:49 +00:00
Lovell Fuller
34cbc6dec3
Docs: clarify that paths are relative to process working dir
2023-02-23 10:33:13 +00:00
Lovell Fuller
863e37455a
Docs: changelog and credit for #3556
2023-02-18 12:50:58 +00:00
Tomasz Janowski
6f0e6f2e65
Add support to extend for extendWith, allows copy/mirror/repeat ( #3556 )
2023-02-17 14:01:24 +00:00
Lovell Fuller
42d2f07e44
Add ignoreIcc input option to ignore embedded ICC profile
2023-02-12 17:51:24 +00:00
Jérémy Lal
9608f219bd
Add support for ArrayBuffer input ( #3548 )
2023-02-05 09:45:17 +00:00
Lovell Fuller
a532659b0f
Types: changes/additions relating to new v0.32.0 features
...
A separate commit is required as these were not part of the
initial definitions in the v0.31.3 snapshot.
From now on, new features and updates can include the relevant
TypeScript definition changes as part of the same
code/docs/tests commits.
2023-01-17 16:11:04 +00:00
Lovell Fuller
25c6da2bcd
Docs: add a couple of missing params/props
2023-01-17 15:01:52 +00:00
Lovell Fuller
02f855d57a
Expose own version as sharp.versions.sharp #3471
2023-01-17 09:56:58 +00:00
Lovell Fuller
9f79f80a93
Docs: fastShrinkOnLoad can round-down when auto-scaling
2023-01-16 12:06:50 +00:00
Lovell Fuller
f79760b4f2
Docs: changelog and help for TypeScript defs #3369 #3370
2023-01-16 11:12:00 +00:00
Espen Hovlandsdal
aa5f0f4e40
Include and publish TypeScript definitions ( #3370 )
...
Definitions are a snapshot taken from `@types/sharp`,
which remain under the terms of MIT licensing.
2023-01-16 10:48:37 +00:00
Lovell Fuller
286a322622
Docs: changelog and doc refresh for #3470
2023-01-16 09:27:31 +00:00
Emanuel Jöbstl
6d404f4d2c
Add coords to output when using attention based crop ( #3470 )
2023-01-16 09:20:42 +00:00
Lovell Fuller
a1e464cc5e
Switch to sequential read as default where possible
2023-01-15 18:43:50 +00:00
Lovell Fuller
081debd055
Reduce sharpen op max sigma from 10000 to 10 #3521
2023-01-10 16:29:40 +00:00
Lovell Fuller
e8273580af
Docs: add note about use of fastShrinkOnLoad with resize kernel
2023-01-06 19:24:32 +00:00
Lovell Fuller
5be36c2deb
Install: log Rosetta detection, improve related docs
2023-01-04 21:11:21 +00:00
Lovell Fuller
eac6e8b261
Upgrade to libvips v8.14.0-rc1
...
- Replace GIF 'optimise' option with 'reuse'
- Add 'progressive' option to GIF
- Add 'wrap' option to text creation
- Add 'formatMagick' property to *magick input metadata
2022-12-29 15:53:50 +00:00
Lovell Fuller
efbb0c22fd
Docs: add image with examples of resize fit property
2022-12-21 15:47:39 +00:00
Lovell Fuller
a7fa7014ef
Add experimental support for JPEG-XL, requires libvips with libjxl
...
The prebuilt binaries do not include support for this format.
2022-12-13 21:55:17 +00:00
Lennart
89e204d824
Docs: clarify failOn
property applies to decoding pixel values ( #3481 )
2022-12-08 16:13:18 +00:00
Lovell Fuller
2a71f1830f
Expand range of sharpen params to match libvips #3427
2022-12-07 09:28:01 +00:00
Lovell Fuller
def99a294a
Install: log proxy use, if any, to aid with debugging
2022-12-06 19:35:47 +00:00
Lovell Fuller
01ffa80338
Improve extractChannel support for 16-bit output #3453
2022-11-15 15:00:32 +00:00
Lovell Fuller
5740f4545e
Expose GIF opts: interFrameMaxError, interPaletteMaxError #3401
2022-11-14 16:09:52 +00:00
Lovell Fuller
df971207b8
Prevent possible race condition when reading metadata #3451
2022-11-13 10:04:55 +00:00
Peter Whidden
76cda885fb
Docs: fix minor typo in resize properties ( #3444 )
2022-11-09 08:44:05 +00:00
Ingvar Stepanyan
1a563360c6
Fix errors for missing OpenJPEG ( #3442 )
...
Fixes couple of minor issues with JP2 errors:
1. The tests passed as false-positives even if regex is changed to arbitary pattern, because the promise returned from `assert.rejects` was ignored and the test ended prematurely. This is fixed by removing `{ ... }` around the test function body.
2. This, in turn, hid an issue with `toFile` not throwing the expected error message which was instead propagating `Error: VipsOperation: class "jp2ksave" not found` from libvips. This is now fixed by manually checking the extension before calling into libvips.
3. Pre-creating error instances like `errJp2Save` did is sometimes tempting, but is problematic for debugging because it hides the actual stacktrace of the error (the stacktrace is collected at the moment of `new Error` creation). This is now turned into a function that creates error with the right stack.
2022-11-08 19:53:14 +00:00
Gino Emiliozzi
ae79d26ead
Docs: help clarify 'fit' is option name, not value ( #3410 )
2022-10-17 15:26:59 +01:00
Lovell Fuller
eaf8a86bf2
Tests: increase timeout to 20s
...
Ignore unit coverage of fn used at install time
2022-09-27 14:25:34 +01:00
Lovell Fuller
3400976d61
Tests: ignore a branch for coverage check
2022-09-27 14:10:49 +01:00
Lovell Fuller
2d49f0e93e
Tests: require 100% branch coverage to pass
...
Remove old coverage tooling, coveralls
2022-09-27 13:49:42 +01:00
Lovell Fuller
70e6bb0162
Ensure close event occurs after end event #3313
2022-09-20 08:52:40 +01:00
Lovell Fuller
fbd4970b57
Ensure auto-rotation works with shrink-on-load #3352
...
Fixes regression in 0.31.0
2022-09-07 14:17:40 +01:00
Lovell Fuller
c1393daa70
Expose unlimited option for HEIF input
2022-09-05 09:19:53 +01:00
Lovell Fuller
5cdb2b83d5
Upgrade to libvips v8.13.1
2022-09-04 12:42:27 +01:00
Lovell Fuller
0e3bd46ca3
Docs: clarify that metadata respects page/pages
2022-09-01 09:58:17 +01:00
Lovell Fuller
4b38f56d02
Docs: add avif and heif examples
2022-09-01 09:57:50 +01:00
Mart
c3a852eecf
Add trim option to provide a specific background colour ( #3332 )
...
Co-authored-by: Mart Jansink <mart@cinemait.nl>
2022-08-23 12:28:02 +01:00
Lovell Fuller
3a44748f49
Ensure PNG bitdepth can be set for non-palette output #3322
2022-08-22 14:57:12 +01:00
Lovell Fuller
e1bc8674fd
Docs: clarify composite operation ordering
2022-08-21 19:53:04 +01:00
Anton Marsden
74e3f73934
Expand linear operation to allow use of per-channel arrays #3303
2022-08-20 10:27:04 +01:00
Lovell Fuller
212a6e7519
Ensure op ordering is respected where possible #3319
...
Emit warnings when previous ops might be ignored
Flip and flop now occur before rotate, if any
2022-08-18 16:41:33 +01:00
Kid
e547eaa180
Docs: fix broken link to Got stream documentation ( #3323 )
2022-08-07 14:25:36 +01:00