Lovell Fuller
1f2f33d9a7
Ensure licensing headers are retained by code bundlers
2025-10-31 11:52:41 +00: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
8607ff2f4a
Tests: remove extraneous use of toColourspace
2025-08-18 10:33:32 +01:00
Lovell Fuller
6c61ad256f
Ensure all source code files contain SPDX licence
2023-02-28 17:01:58 +00:00
Lovell Fuller
01ffa80338
Improve extractChannel support for 16-bit output #3453
2022-11-15 15:00:32 +00:00
Lovell Fuller
c65de3fe6d
Default to single-channel output from extractChannel #2658
2021-07-14 13:45:47 +01:00
Tobias Nießen
af66a73225
Tests: fix unit test description ( #2619 )
2021-03-13 16:18:40 +00:00
Lovell Fuller
17ea70a102
Add named 'alpha' channel to extractChannel op #2138
2020-06-07 10:43:43 +01:00
Lovell Fuller
1106aac2d8
Tests: tweak colour thresholds for (non-turbo) libjpeg compat
2018-09-21 19:51:47 +01:00
Lovell Fuller
93aac660a3
Tests: avoid shrink-on-load for (non-turbo) libjpeg compat
2018-09-21 19:34:52 +01:00
Lovell Fuller
d705cffdd6
Ensure extractChannel works with 16-bit images #1330
2018-08-12 20:22:39 +01:00
Lovell Fuller
94607b585a
Ensure extractChannel sets bw colourspace interp #1257
2018-06-19 22:47:52 +01: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
Matt Hirsch
15a577863a
Ensure boolean, bandbool, extractChannel ops occur before sRGB conversion ( #504 )
2016-07-13 19:20:50 +01:00
Matt Hirsch
83d8847f57
Add extractChannel operation to extract a channel from an image ( #497 )
2016-07-09 16:48:30 +01:00