Lovell Fuller
e1628d8ef5
Simplify ICC processing when retaining input profiles #4468
...
Takes advantage of libvips' improved ICC handling
2025-11-04 15:06:49 +00:00
Lovell Fuller
4f9f8179a6
Linter: apply all recommended biome settings
...
Enforces previously-skipped useArrowFunction check
2025-11-04 09:41:45 +00:00
Lovell Fuller
09d5aa8cfa
Docs: update internal and libvips doc links
2025-11-02 14:38:22 +00:00
Lovell Fuller
1f2f33d9a7
Ensure licensing headers are retained by code bundlers
2025-10-31 11:52:41 +00:00
throwbi
6b922b30d5
Add support for BigTIFF output ( #4459 )
2025-09-30 09:41:02 +01: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
Thibaut Patel
4e3f3792ad
Add keepXmp and withXmp for control over output XMP metadata #4416
2025-07-04 15:20:32 +01:00
Lovell Fuller
8c53d499f7
Expose keepDuplicateFrames GIF output parameter
2025-06-15 15:39:01 +01:00
Lovell Fuller
c4d6aec48c
Docs: Highlight that Windows ARM64 support is experimental
2025-05-19 22:04:08 +01:00
Kleis Auke Wolthuizen
92083ea64c
Docs: prebuilt binaries support tile-based output ( #4305 )
...
Except when targeting WebAssembly.
2024-12-28 11:51:50 +00:00
Lovell Fuller
3796dd8a87
Expose new libvips/libjxl features (animation, EXIF)
...
Requires libvips compiled with support for libjxl
2024-10-29 15:04:14 +00:00
Lovell Fuller
8afec170ed
Expose WebP smartDeblock output option
2024-10-29 14:41:58 +00: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
9c05ea8dd2
Add pageHeight and pages to anim output response #3411
2024-06-17 16:32:49 +01:00
Lovell Fuller
aa1bbcb5c1
Guard heif bitdepth property for prebuilt binaries
2024-03-21 18:33:57 +00:00
Mert
3c26080c39
Add bitdepth option to heif output ( #4036 )
...
Prebuilt binaries support only AVIF with a bitdepth of 8
2024-03-21 14:36:17 +00:00
Lovell Fuller
0eb57698ec
Docs: clarify how to achieve 16-bit PNG output
2024-02-14 10:03:18 +00:00
Lovell Fuller
bc95531f2d
Docs: clarify skipBlanks default for tile-based output
2024-02-13 22:40:10 +00:00
Lovell Fuller
e78200cc84
Increase control over output metadata ( #3856 )
...
Add withX and keepX functions to take advantage of
libvips 8.15.0 new 'keep' metadata feature.
2023-11-22 09:03:57 +00:00
Dennis Beatty
28aa176957
Add support for miniswhite when using TIFF output
2023-11-03 11:27:49 +00:00
Lovell Fuller
47e76c9981
Ensure all Error objects contain a stack prop #3653
2023-10-11 14:59:21 +01:00
Lovell Fuller
ca95979ecc
Prefix node builtins, skips cache lookup
2023-10-05 12:09:19 +01:00
Lovell Fuller
3043e01171
Make heif compression option mandatory #3740
2023-09-27 11:55:42 +01:00
Lovell Fuller
a41c62be2b
Upgrade semistandard, appease new linter rules
2023-09-26 21:25:15 +01:00
Lovell Fuller
7f64d464de
Docs: add missing returns property to raw
2023-08-29 11:17:35 +01:00
Lovell Fuller
95635683ac
Ensure withMetadata skips default profile for RGB16 #3773
2023-08-24 18:13:00 +01:00
Lovell Fuller
85b26dab68
Expose preset option for WebP output #3639
2023-07-12 19:12:04 +01:00
BJJ
7e6a70af44
Improve detection of jp2 filename extensions #3674
2023-06-05 09:31:25 +01:00
Lovell Fuller
afed876f90
Docs: ensure inclusion of jp2 function
...
A misplaced code coverage comment was preventing this.
See ef849fd for the original commit where this broke.
2023-04-17 20:55:12 +01:00
Lovell Fuller
d6b60a60c6
Docs: add example of how to set EXIF GPS metadata
2023-04-17 20:35:47 +01:00
Lovell Fuller
de01fc44e7
Docs: ensure API fn name linking is consistent
2023-03-28 14:00:52 +01:00
Lovell Fuller
6008ff8a08
Docs: tile-based output requires libgsf
2023-03-22 09:17:07 +00:00
Lovell Fuller
6c61ad256f
Ensure all source code files contain SPDX licence
2023-02-28 17:01:58 +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
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
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
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
Lovell Fuller
5740f4545e
Expose GIF opts: interFrameMaxError, interPaletteMaxError #3401
2022-11-14 16:09:52 +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
Lovell Fuller
70e6bb0162
Ensure close event occurs after end event #3313
2022-09-20 08:52:40 +01:00
Lovell Fuller
4b38f56d02
Docs: add avif and heif examples
2022-09-01 09:57:50 +01:00
Lovell Fuller
3a44748f49
Ensure PNG bitdepth can be set for non-palette output #3322
2022-08-22 14:57:12 +01:00
brahima
ea7cf2a2ef
Expose vips_text to create an image containing rendered text ( #3252 )
2022-07-25 11:32:10 +01:00
Lovell Fuller
76c4c51e2a
Remove previously-deprecated reductionEffort and speed options
2022-07-24 11:18:16 +01:00
Lovell Fuller
b46ab510da
Add Buffer and Stream support to tile output #2238
2022-07-24 11:06:41 +01:00
Lovell Fuller
6288c7bced
Expose reoptimise palette option for GIF output
2022-07-12 21:12:31 +01:00
Lovell Fuller
d247c02762
Add mixed and minSize animation options for WebP output
2022-07-12 14:51:03 +01:00
Lovell Fuller
e4160c684d
Docs: add timeout example
2022-07-11 11:12:32 +01:00