Don Denton
ab884e13cf
Fix double rotate behavior
...
Docs and warnings state that we ignore previous calls to `.rotate()` when multiple calls are made, but we were not correctly resetting the state at the start of the second call.
2024-12-08 21:11:53 -05:00
Don Denton
7169a2555e
Drop options.useExifOrientation in favor of options.input.autoOrient
2024-12-08 13:11:47 -05:00
Don Denton
8e7c7b4196
Refactor: autoOrient() is primary, rotate() is alias
2024-12-08 13:11:47 -05:00
Don Denton
0263e6eaac
Add support for flip/flop/rotate after auto-orient
...
fixes #4144
2024-12-08 13:08:59 -05: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
Marcos Casagrande
735fee74db
Expose optional minAmplitude parameter of blur operation ( #4172 )
2024-07-23 11:31:11 +01:00
Marcos Casagrande
67a4592756
Expose optional precision parameter of blur operation ( #4168 )
2024-07-20 13:53:23 +01:00
Denice
60c5c5083d
Add support to recomb operation for 4x4 matrices
2024-07-05 15:31:51 +01:00
Lovell Fuller
cbf68c1395
Improve error for unsupported multi-page rotation #3940
2024-01-11 11:59:01 +00:00
Lovell Fuller
9c7713ed54
Docs: remove mention of EXIF from flip/flop ops
2023-08-29 10:49:21 +01:00
Lovell Fuller
8be6da1def
Docs: clarify when rotate op will remove EXIF Orientation
2023-08-29 10:19:07 +01:00
Lovell Fuller
66f7cef253
Docs: fix a few typos
2023-07-12 14:22:29 +01:00
Lovell Fuller
dc4b39f73f
Docs: multi-page images cannot be flipped
2023-05-13 08:54:21 +01:00
Lovell Fuller
e873978e53
Docs: clarify which axis is used when mirroring
2023-05-11 10:24:24 +01:00
Lovell Fuller
bf9bb56367
Docs: fix affine interpolator example
2023-04-22 13:56:33 +01:00
Lovell Fuller
e87204b92c
Doc update and changelog entry for #3461
2023-04-07 11:21:15 +01:00
Anton Marsden
a4c6eba7d4
Add unflatten operation to create an alpha channel ( #3461 )
2023-04-07 11:01:29 +01:00
LachlanNewman
d7776e3b98
Add support to normalise for lower and upper percentiles ( #3583 )
2023-03-21 10:13:12 +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
081debd055
Reduce sharpen op max sigma from 10000 to 10 #3521
2023-01-10 16:29:40 +00:00
Lovell Fuller
2a71f1830f
Expand range of sharpen params to match libvips #3427
2022-12-07 09:28:01 +00: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
Lionel Tzatzkin
9a0d9eed74
Docs: correct syntax in sharpen example ( #3310 )
2022-07-29 12:11:16 +01:00
Lovell Fuller
1d36936954
Ensure create has correct bit depth and colourspace #3139
2022-03-22 19:48:02 +00:00
Lovell Fuller
ac18bbbc7c
Ensure backwards-compatibility of JSDoc introduced in ea599ad
2022-03-11 19:07:11 +00:00
Lovell Fuller
7a1a1cf9e8
Docs: add/correct some operation examples
2022-03-09 19:18:41 +00:00
Lovell Fuller
ea599ade10
Allow sharpen options to be provided as an Object
...
Also exposes x1, y2, y3 parameters #2561 #2935
2022-03-09 19:07:08 +00:00
Lovell Fuller
638d540371
Docs: mild blur is a box filter, add examples
2022-01-18 10:29:10 +00:00
Tenpi
4a9267ce12
Add lightness option to modulate operation
2021-08-30 20:22:41 +01:00
Espen Hovlandsdal
b7ddbe71f7
Add support for negating only non-alpha channels
...
Fixes #1035
2021-08-02 21:19:56 +01:00
Lovell Fuller
70139600b5
Docs: fix CLAHE link
2021-05-23 18:49:54 +01:00
Lovell Fuller
1b4d1521e0
Docs: cross-link removeAlpha and flatten
2021-05-23 18:46:23 +01:00
Lovell Fuller
d72852b3aa
Docs: changelog entry for #2726
2021-05-23 17:45:43 +01:00
Brad Parham
4b6b6189bf
Add contrast limiting adaptive histogram equalization (CLAHE) operator ( #2726 )
2021-05-23 17:36:04 +01:00
Timo Hausmann
d1ca756bd8
Docs: correct flatten example to use object instead of string ( #2654 )
2021-04-06 17:21:14 +01:00
Lovell Fuller
f1f18fbb4a
Docs: clarify that flatten removes alpha channel #2601
2021-03-25 14:38:55 +00:00
Lovell Fuller
da43a3055f
Docs: correct typo in description of threshold operation
2021-03-21 20:51:30 +00:00
Lovell Fuller
36087fe518
Remove array-flatten dependency
2021-03-14 11:19:53 +00:00
Guillermo Varela
0f473fe3b1
Expose libvips affine operation ( #2336 )
2020-11-16 12:27:38 +00:00
Lovell Fuller
0ee08bfe46
Docs: lint JSDoc annotations when building docs
2020-05-15 14:07:27 +01:00
Lovell Fuller
a216d2945b
Upgrade to libvips v8.9.0-rc4, drop support for Node.js 8
2020-01-03 20:26:55 +00: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
Jakub Michálek
b494b2e872
Add brightness, saturation and hue modulation #609 ( #1601 )
2019-03-25 07:44:07 +00:00
Keith
541e7104fd
Expose libvips recombination matrix operation #1477
2018-12-04 23:06:34 +01:00
Julian Aubourg
383b933e26
Build prototype with Object.assign to allow minification ( #1475 )
2018-11-26 19:40:06 +01:00
Lovell Fuller
f00928dedb
Doc refresh for #1438 #1439
2018-11-11 17:40:19 +00:00