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
397ee492d9
Ensure extend op is sequential for multi-page TIFF #4069
2024-04-18 11:05:04 +01:00
Lovell Fuller
9bcf399b4c
Ensure extend op stays sequential when copying px #3928
2024-01-04 09:24:41 +00:00
Lovell Fuller
a41c62be2b
Upgrade semistandard, appease new linter rules
2023-09-26 21:25:15 +01:00
Lovell Fuller
6c61ad256f
Ensure all source code files contain SPDX licence
2023-02-28 17:01:58 +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
23033e2050
Prevent double unpremultiply with some composite blends
2022-03-04 23:17:07 +00:00
Lovell Fuller
c62002554b
Improve performance and accuracy of multi-image composite #2286
2022-02-16 19:04:23 +00:00
Kleis Auke Wolthuizen
513fb40f40
Improve multi-frame image resizing ( #2789 )
...
* Ports vips_thumbnail logic to sharp
* Deprecates the pageHeight output option for WebP/GIF
2021-12-10 20:32:04 +00:00
Lovell Fuller
60adc110f5
Ensure background is premultiplied when compositing #2858
2021-08-29 16:40:40 +01:00
Lovell Fuller
6147491d9e
Extend: default missing edge props to zero #2578
2021-03-25 16:34:02 +00:00
Lovell Fuller
50b461024d
Add test coverage for single value extend operation
2019-07-26 19:31:14 +01:00
Lovell Fuller
03394556b5
Update semistandard linter to latest
2018-11-11 18:05:40 +00:00
Lovell Fuller
a64844689e
Deprecate background, add op-specific prop to resize/extend/flatten #1392
2018-10-01 20:58:55 +01:00
Lovell Fuller
a71e562ff7
Upgrade to latest v1.x.x major version of the color dependency.
...
Uses 'alpha' instead of 'a' to represent transparency values.
2016-12-04 21:04:18 +00:00
Patrick Paskaris
6ccccf8c39
Allow use of extend with greyscale input ( #623 )
2016-11-14 22:09:43 +00:00
Lovell Fuller
8717ecc429
Modularise JS source in 'lib' subdirectory.
...
Generate public API documention via jsdoc comments.
2016-11-02 09:25:20 +00:00
Lovell Fuller
cbdbbe535a
Update tests to meet semistandard code standards
...
Switch to const/let instead of var
2016-11-02 09:25:20 +00:00
frulo
e699e36270
Add alpha channel, if required, before extend operation ( #439 )
2016-05-26 09:46:14 +01:00
Lovell Fuller
f950294f70
Add ability to extend (pad) the edges of an image
2016-03-03 09:18:11 +00:00