Lovell Fuller
b55e58f31e
Trim space from end of libvips error messages
2023-03-24 09:58:21 +00:00
Lovell Fuller
4ec883eaa0
Wrap all async JS callbacks, help avoid possible race #3569
2023-03-01 12:41:11 +00:00
Lovell Fuller
6c61ad256f
Ensure all source code files contain SPDX licence
2023-02-28 17:01:58 +00:00
Lovell Fuller
bdc50e1d6e
Unpin node-addon-api, cast CallbackInfo access to size_t
...
See https://github.com/nodejs/node-addon-api/pull/1253
2023-01-16 09:00: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
584807b4f5
Add runtime detection of V8 memory cage #3384
...
When using the V8 memory cage, Buffers cannot be wrapped and then
later freed via a callback. When the cage is detected via a throw,
instead fall back to copying Buffer contents to V8 memory.
This approach will be used by Electron 21+ and you should expect
reduced performance and increased memory consumption/fragmentation.
2022-12-14 16:06:04 +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
Kleis Auke Wolthuizen
513fb40f40
Improve multi-frame image resizing ( #2789 )
...
* Ports vips_thumbnail logic to sharp
* Deprecates the pageHeight output option for WebP/GIF
2021-12-10 20:32:04 +00:00
Lovell Fuller
079bd7b9f5
Upgrade to libvips v8.12.0-rc1
2021-11-16 10:28:38 +00:00
Lovell Fuller
3f08f6a359
Add default background metadata for PNG and GIF images
2021-07-19 14:55:22 +01:00
Lovell Fuller
43a085d1ae
Add support for OME-TIFF subIFDs #2557
2021-04-02 08:04:21 +01:00
Lovell Fuller
8d49b7dde1
Ensure tests pass with latest libvips master branch
...
Expose forthcoming HEIF features where available
2021-01-13 16:47:49 +00:00
Lovell Fuller
ab015ef90f
Avoid copy in metadata levels for loop
2020-06-16 18:59:20 +01:00
Lovell Fuller
760550ca0d
Expose levels metadata for multi-level images #2222
2020-06-04 20:29:02 +01:00
Lovell Fuller
e82a585cec
Ensure AsyncWorker options are persisted #2130
2020-03-19 21:21:21 +00:00
Lovell Fuller
4abb4edf64
Migrate internals to N-API #1282
2020-02-15 19:38:15 +00:00
Lovell Fuller
bd52e93fca
Deprecate limitInputPixels and sequentialRead, move to input options
2020-01-12 19:59:39 +00:00
Lovell Fuller
4a745f2d2e
Expose delay/loop metadata for animated images #1905
2020-01-09 22:51:08 +00:00
Lovell Fuller
4b8cc13a05
Add 2020 to list of copyright years
2020-01-08 21:20:53 +00:00
Lovell Fuller
d31a91a599
Expose raw TIFFTAG_PHOTOSHOP metadata #1600
2019-11-29 13:05:07 +00:00
Lovell Fuller
b737d4601e
Add experimental support for HEIF images #1105
...
Requires a custom, globally-installed libvips compiled with libheif
2019-07-04 13:21:32 +01:00
Lovell Fuller
ee8bfa3980
Add 2019 to list of years of copyright
2019-01-04 16:05:26 +00:00
Lovell Fuller
cc633589d9
Expose pages metadata for multi-page input images #1205
2019-01-01 22:10:27 +00:00
Lovell Fuller
cc1d4c1a6d
Expose palette-bit-depth metadata, requires upcoming libvips v8.8.0
2019-01-01 21:02:00 +00:00
Lovell Fuller
db4df6f0b2
Add size to metadata response (Stream/Buffer only) #695
2018-10-02 18:05:08 +01:00
Lovell Fuller
17f942c802
Add chromaSubsampling and isProgressive to metadata #1186
2018-10-02 17:11:25 +01:00
Lovell Fuller
0ee8c63551
Replace use of libvips API deprecated since v8.6.1
...
See jcupitt/libvips@b085908
2018-05-19 15:03:50 +01:00
Lovell Fuller
498b061819
Upgrade nan dependency, enables async hooks
2018-02-23 19:18:31 +00:00
Oleg Aleynik
c4df115948
Expose IPTC and XMP metadata when available ( #1079 )
2018-01-10 22:12:11 +00:00
Lovell Fuller
95850d75f6
Include pixel format depth when reading metadata
2017-05-07 09:29:38 +01:00
Lovell Fuller
301bfbd271
Expose libvips warnings via NODE_DEBUG env var
2017-04-26 21:37:43 +01:00
Lovell Fuller
81f5589411
Add use of 'cc' to improve C++ code style linting
2017-02-11 09:59:23 +00:00
Lovell Fuller
e6bfa52b0b
Add raw pixel data support to boolean and withOverlay ops
...
The previously-scattered image opening logic has been refactored to a
single ImageDescriptor struct/Object available to both JS and C++ code
This removed about 150 LOC but more importantly reduces the complexity
of adding/exposing new operations that require an input image.
2016-07-26 23:07:25 +01:00
Lovell Fuller
c66495b66c
Tighten C++ linting rules
...
Bump benchmark dependencies
Update leak test suppressions
Update future branch details
2016-03-31 20:30:40 +01:00
Lovell Fuller
bb37dc1ea6
Expose density metadata; set density of images from vector input
2016-03-01 19:33:54 +00:00
Lovell Fuller
677b2b9089
Selected output format > unknown file extension #344
2016-02-07 20:13:13 +00:00
Lovell Fuller
e380576da2
Add support for raw, uncompressed pixel Buffer/Stream input
2016-02-03 19:21:37 +00:00
Lovell Fuller
56508e8d79
Add support for libvips' PPM and FITS loaders #347
2016-02-03 17:48:22 +00:00
Lovell Fuller
5c9c17f1f6
Switch from libvips' C to C++ binding
...
Requires upgrade to libvips 8.2.1
2016-02-03 17:48:22 +00:00
Lovell Fuller
3dbedf1fb6
Match g_malloc/g_free for make benefit glorious nation of Windows
...
Remove C++ standard lib from Windows packaging
2015-11-21 22:51:32 +00:00
Lovell Fuller
84fd1caa46
Switch default interpolator to bicubic #289
...
Only use gaussian blur for non-linear interpolators
Improves performance of bilinear by ~15%
Add liborc to the packaged build to improve bicubic perf
Add examples of the various interpolation methods
Add bilinear vs bicubic to perf tests
2015-11-15 22:04:31 +00:00
Lovell Fuller
2678d761ba
Use FreeCallback to support mixed Windows runtime libs #152
2015-11-14 13:58:05 +00:00
Lovell Fuller
ede2ee9ce3
Use Persistent wrapper to prevent GC of input Buffer #152
...
Avoids memcpy of input and output Buffer objects
Improves Buffer and Stream performance by ~3%
2015-11-14 11:24:15 +00:00
Lovell Fuller
4e67a5025a
Use malloc for Nan::NewBuffer owned data
...
GC results in free() rather than delete[]
Add plenty of new valgrind suppressions
2015-08-24 16:14:49 +01:00
Lovell Fuller
b7e0a6f277
Upgrade to nan v2 #246
...
Provides support for io.js v3 and Node v4
2015-08-23 21:36:48 +01:00
Lovell Fuller
321e0f2bfe
Add 'icc' raw profile data to metadata #129
2015-06-29 21:27:23 +01:00
Lovell Fuller
6ac47c1ef8
Add raw EXIF data to metadata response
...
Copy metadata input buffer to match pipeline
Prevents possible metadata segfault under load
2015-06-28 23:35:40 +01:00
Lovell Fuller
5781a23a4d
Combine new tile* API methods
...
Use v7.40.0+ libvips loader methods
Separate Openslide as input vs Deep Zoom as output
Split tile-based tests into new file
Added assertions for generated tile size
2015-03-12 15:39:27 +00:00
Victor Mateevitsi
2d1e6f2644
Added Deep Zoom support.
...
Added OpenSuse 13.1 and 13.2 support in preinstall.sh script.
Added OpenSlide support in preinstall script.
Added unit tests for Deep Zoom and OpenSlide.
2015-03-10 14:00:27 +00:00
Lovell Fuller
c93f79daa7
Guard against InitImage failure #150
...
Protects against truncated image headers
2015-01-20 10:38:44 +00:00