Lovell Fuller
1f2f33d9a7
Ensure licensing headers are retained by code bundlers
2025-10-31 11:52:41 +00:00
Lovell Fuller
206eb4a89a
Limit colour strings to 200 chars, helps reduce effect of potential ReDoS
2025-10-18 14:52:17 +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
45f8717900
Upgrade color to latest version via CommonJS wrapper package
...
Allows continued support of non-ESM runtimes - see #4450
2025-09-10 09:21:14 +01:00
Lovell Fuller
5b5dfbad77
Ensure pdfBackground constructor property is used #4207
...
Slightly refactor the way background colours are set
2025-04-09 22:21:14 +01:00
Lovell Fuller
b249357732
Docs: improve colour vs color consistency
...
API supports both, docs prefer colour
2024-09-06 13:40:34 +01:00
Lovell Fuller
807d9241bd
Bump/replace devDeps
...
Add required 'module' JSDoc tag to all exports
2024-09-06 13:17:33 +01:00
Lovell Fuller
f67228e5ea
Remove experimental status from pipelineColourspace
2024-04-09 22:32:17 +01: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
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
de01fc44e7
Docs: ensure API fn name linking is consistent
2023-03-28 14:00:52 +01:00
Lovell Fuller
6c61ad256f
Ensure all source code files contain SPDX licence
2023-02-28 17:01:58 +00:00
Lovell Fuller
42e45d842a
Docs: add more examples (composite, greyscale, tint)
2022-03-12 20:33:15 +00:00
Daiz
bb48d0d857
Add pipelineColourspace operator
2021-07-14 13:45:47 +01:00
Lovell Fuller
c65de3fe6d
Default to single-channel output from extractChannel #2658
2021-07-14 13:45:47 +01:00
Lovell Fuller
24d9e53c3f
Docs: add example of 16-bit RGB output #2528
2021-01-26 15:03:43 +00:00
Lovell Fuller
0ee08bfe46
Docs: lint JSDoc annotations when building docs
2020-05-15 14:07:27 +01:00
Lovell Fuller
da4e05c118
Better validation and test coverage for background colours
2019-08-16 20:37:17 +01:00
Lovell Fuller
233b015d77
Improve consistency of validation error handling
...
Utilises common path of existing invalidParameterError
2019-07-26 14:58:54 +01:00
Lovell Fuller
e3549ba28c
Remove functions previously deprecated in v0.21.0
...
background, crop, embed, ignoreAspectRatio, max, min, withoutEnlargement
2019-03-01 23:43:35 +00:00
Julian Aubourg
383b933e26
Build prototype with Object.assign to allow minification ( #1475 )
2018-11-26 19:40:06 +01: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
2ce166ab0a
Update links to libvips, now in its own GitHub org
2018-09-21 20:33:01 +01:00
Rik Heywood
dbac4b9a63
Add tint operation to set image chroma
2018-04-11 20:05:48 +01:00
Lovell Fuller
27fb864ac4
Update dev deps, deconstify all the functions, API doc refresh
2017-03-31 21:42:23 +01:00
Lovell Fuller
d2455267a8
Allow non-RGB input to embed/extend onto bg with alpha #646
2016-12-11 16:01:21 +00: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
Lovell Fuller
8717ecc429
Modularise JS source in 'lib' subdirectory.
...
Generate public API documention via jsdoc comments.
2016-11-02 09:25:20 +00:00