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
Lovell Fuller
905518fab0
Add input fileSuffix and output alias to format #2642
2022-07-11 10:45:19 +01:00
Lovell Fuller
7a8ab452c5
Add support for WebP and PackBits compression with TIFF output #3198
2022-06-29 11:35:58 +01:00
AlexanderTheGrey
4662527a17
Allow WebP encoding effort of 0 ( #3261 )
2022-06-17 08:22:51 +01:00
Lovell Fuller
58c2af3251
Docs: improve output format info for toBuffer
2022-04-25 11:41:06 +01:00
David Humphrey
75e5afcd42
Docs: fix typo in gif example ( #3201 )
2022-04-22 16:09:28 +01:00
Lovell Fuller
4c29368b51
Docs: EXIF metadata unsupported for TIFF output #3074
2022-04-18 09:53:35 +01:00
Lovell Fuller
424660278d
Allow use of toBuffer+toFile w/ same instance #3044
2022-02-03 22:01:46 +00:00
ompal
f7bed69ffb
Add resolutionUnit to metadata and as tiff option #3023
...
Co-authored-by: Lovell Fuller <github@lovell.info>
2022-01-29 14:31:47 +00:00
Lovell Fuller
d67e09ba7c
Add support for IIIF v3 tile-based output
2022-01-07 20:45:48 +00:00
Lovell Fuller
4c3a8a7007
Docs: fix example formatting, remove outdated warning
2021-12-21 12:31:29 +00:00
Lovell Fuller
92399ee5e2
Docs: correct gif resize example
2021-12-13 18:26:35 +00:00