Lovell Fuller
929ea10f76
Re-enable test for 1200 DPI SVG rasterisation to PNG
2017-11-27 19:31:31 +00:00
Lovell Fuller
99076edc89
Default PNG output to adaptiveFiltering=false, compressionLevel=9
...
PNG is mostly used for logos and line art, so these defaults will
produce the smallest files for most output most of the time.
2017-10-19 11:05:43 +01:00
Lovell Fuller
57946ed672
Upgrade to libvips v8.6.0
...
Expose offset coordinates of strategy-based crop
Switch to Github releases for prebuilt libvips
Move packaging scripts to lovell/sharp-libvips repo
2017-10-19 11:05:43 +01:00
Yves Bos
d8765f955d
Allow xres and yres to be set for TIFF output ( #828 )
2017-06-03 10:52:09 +01:00
jingsam
4c6804eadc
Add toFormat 'jpg' alias for 'jpeg' ( #814 )
2017-05-22 12:59:43 +01:00
Lovell Fuller
e398b471e1
Prevent aliasing by using dynamic values for shrink(-on-load)
2017-05-13 18:46:39 +01:00
Lovell Fuller
c41d755441
Ctor single arg: allow plain object, reject null/undefined
...
Thank you @kub1x
2017-05-06 19:03:14 +01:00
Lovell Fuller
c8e59f08ec
Add support for Buffer and Stream-based TIFF output
2017-05-04 16:40:49 +01:00
Lovell Fuller
52bea15ad7
Upgrade libvips dependency to v8.5.4, plus other bumps
2017-04-26 23:04:08 +01:00
YvesBos
4cd3b66761
Add support for squashing TIFF output to 1-bit ( #783 )
2017-04-26 17:47:29 +01:00
Lovell Fuller
088d36b47b
Add support for TIFF float predictor
2017-04-01 10:08:47 +01:00
Lovell Fuller
27fb864ac4
Update dev deps, deconstify all the functions, API doc refresh
2017-03-31 21:42:23 +01:00
Kristo Jorgenson
f8e72f443d
Expose TIFF compression and predictor options ( #738 )
2017-03-29 12:12:04 +01:00
Lovell Fuller
1aa053ce6f
Create blank image (width, height, channels, background) #470
2017-03-11 11:46:01 +00:00
Lovell Fuller
6fe5b307b1
Allow toBuffer to resolve Promise with info+data #143
2017-03-04 22:15:31 +00:00
Lovell Fuller
d8df503404
Ensure Readable can start flowing after Writable finish #671
2017-01-22 14:03:06 +00:00
Rahul Nanwani
a1b8efe721
Expose WebP alpha quality, lossless and near-lossless output options ( #685 )
2017-01-19 13:45:32 +00:00
Lovell Fuller
7231d92d1f
Autoconvert GIF+SVG input to PNG output if no format specified
2016-11-30 22:46:04 +00:00
Lovell Fuller
deb978bf57
Remove use of deprecated functions from test code
2016-11-04 10:18:29 +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
Lovell Fuller
de09577342
Put back overzealous code removal from 2470e5c
2016-11-02 09:25:20 +00:00
Lovell Fuller
cbdbbe535a
Update tests to meet semistandard code standards
...
Switch to const/let instead of var
2016-11-02 09:25:20 +00:00
Lovell Fuller
eb30f6ceff
Upgrade libvips to v8.4.2
...
Improved EXIF orientation and GIF alpha channel support
2016-11-02 09:25:20 +00:00
Matt Hirsch
f672f86b53
Add ability to read and write native vips .v files ( #500 )
2016-07-09 16:21:16 +01:00
Lovell Fuller
cdb2894bd9
Use libvips' new lanczos3 kernel as default for image reduce
...
Deprecate interpolateWith method, now provided as an option
2016-05-18 19:57:22 +01:00
Lovell Fuller
1bece3a792
Add 2 channel (grey+alpha) GIF test case #375
2016-05-07 20:04:17 +01:00
Lovell Fuller
1de0038516
Upgrade to libvips 8.3.x
...
Add support for libvips' new native loaders, including GIF and SVG
Pre-built binaries now include giflib and librsvg, exclude *magick
2016-05-07 20:04:17 +01:00
Felix Bünemann
1b7c5816fc
Speed up slow pixel limit tests ( #404 )
...
This replaces the single color 20000x14000 PNG with a 20000x14000
Grayscale JPG. On a Broadwell Core i7 @ 3.1 GHz this speeds up the
"Disabling limit works" test from ~6.2s to ~0.15s because it can use
jpeg resize-on-load optimizations.
This should fix occasional timeouts on Travis CI.
2016-04-08 22:21:28 +01:00
Samy Al Zahrani
ef61da3051
Ensure dimensions of final output image are provided ( #399 )
...
Add a failing test for vips::VError exception
* fix buffer size mismatch
* Loosen error message assertion
* Update image
2016-04-08 08:58:51 +01:00
Lovell Fuller
71fb839e2b
Speed up limitInputPixels test case
...
Update changelog
2016-04-04 12:48:53 +01:00
kentongray
8c9c070caf
Ability to disable limitInputPixels #250
...
Update docs
Added a giant image for testing
Adding myself to contributors
Added tests to verify giant image can be opened
Extend test-win time limit (because of large images)
2016-04-04 08:35:11 +01:00
Lovell Fuller
86815bc9c4
Emit post-processing 'info' event for Stream-based output
2016-03-01 20:08:05 +00:00
Lovell Fuller
bb37dc1ea6
Expose density metadata; set density of images from vector input
2016-03-01 19:33:54 +00:00
Lovell Fuller
2d05804fc3
Add cache recommendations for use with Alpine/musl #354
...
Prevent Windows EBUSY errors during tests
2016-02-11 20:33:33 +00:00
Lovell Fuller
2a56de69cc
Add Alpine Linux packaging test #354
...
Requires libvips cache to be disabled for tests
Skip tiff/magick tests when format unavailable
2016-02-11 18:30:50 +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
cf7664a854
Improve SVG support by allowing control of density/DPI
...
Switch pre-built libs from Imagemagick to Graphicsmagick
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
11329d5e09
Expose control of the number of open files in libvips' cache.
...
Breaks API of existing cache method.
Disable libvips cache for I/O tests.
2016-02-03 17:48:22 +00:00
Lovell Fuller
0ae619dfc5
Remove stray win32 library that was causing segfaults
...
Explicit int cast to prevent 'loss of precision' warnings
Remove unnecessary semver checking from I/O tests
2015-11-21 22:18:39 +00:00
Lovell Fuller
05dd191e17
Ensure 16-bit+alpha input images work with vips_premultiply #301
...
Improves SVG support as *magick serves these as 16-bit
Add automated tests for SVG and 16-bit+alpha PNG inputs
2015-11-21 20:21:34 +00:00
Lovell Fuller
e2c53b59ce
Tighten constructor and quality param checks #221
2015-06-01 14:48:57 +01:00
Lovell Fuller
fb1c9cf3d3
Less strict assert for unordered events
2015-04-21 13:57:24 +01:00
Lovell Fuller
21ba1dfc26
Wrap flapping event test in nextTick
2015-04-21 13:22:29 +01:00
Lovell Fuller
1e52c2dbe6
Windows compatibility #19
...
Hide WebP format and normalise option
Separate test runners for node and iojs
2015-04-21 12:13:19 +01:00
Lovell Fuller
3614d14f83
A few small fixes to the test scripts
2015-04-19 16:15:40 +01:00
Lovell Fuller
f6fd45cc90
Expose libjpeg extension param features
...
Trellis quantisation, overshoot deringing and scan optimisation
2015-04-19 16:15:40 +01:00
Lovell Fuller
ae968142ee
Soften limitInputPixels upper limit #146
...
Default limit of 14-bit dimensions remains
2015-04-12 14:23:36 +01:00
Lovell Fuller
f1ad1216ca
Add support for Windows #19
...
Requires VIPS_HOME environment variable
2015-04-05 22:42:14 +01:00