Lovell Fuller
36078f9903
Switch to the libvips crop strategy implementations
2017-05-06 14:46:28 +01:00
Lovell Fuller
1169afbe90
Avoid (un)premultiplication for overlay image without alpha channel
...
Add 'premultiplied' boolean attribute to output info, helps test
2017-04-26 21:37:43 +01:00
Lovell Fuller
46aec7eabc
Upgrade libvips dependency and packaging to v8.5.1
2017-04-26 21:37:43 +01:00
YvesBos
4cd3b66761
Add support for squashing TIFF output to 1-bit ( #783 )
2017-04-26 17:47:29 +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
Rahul Nanwani
a1b8efe721
Expose WebP alpha quality, lossless and near-lossless output options ( #685 )
2017-01-19 13:45:32 +00:00
Lovell Fuller
d2455267a8
Allow non-RGB input to embed/extend onto bg with alpha #646
2016-12-11 16:01:21 +00:00
Lovell Fuller
d3c78f825c
Ensure premultiply op occurs before box shrink #605
2016-12-04 18:25:44 +00:00
Patrick Paskaris
6ccccf8c39
Allow use of extend with greyscale input ( #623 )
2016-11-14 22:09:43 +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
36e636dca1
Drop support for versions of Node prior to v4.
...
Reduce production (sub)depedency count from 93 to 50.
Modernise dev tooling, e.g. use nyc, replace jshint with semistandard.
Make 'npm test' command consistent across platforms.
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
Lovell Fuller
18b9991fe7
Add experimental 'attention' crop strategy
2016-10-12 11:18:58 +01:00
Lovell Fuller
28ce33feb3
Fix y-axis calc when overlaying at fixed point #566
2016-09-16 11:20:08 +01:00
Lovell Fuller
af9d09f8ae
Ensure conv kernel scale is clamped to min val of 1 #561
2016-09-03 20:06:49 +01:00
Matt Hirsch
5c5d74a903
Add joinChannel and toColourspace/toColorspace operations ( #513 )
2016-08-17 15:42:05 +01:00
Matt Hirsch
d17e8d3450
Add boolean feature for bitwise image operations ( #501 )
2016-07-11 09:51:43 +01:00
Matt Hirsch
83d8847f57
Add extractChannel operation to extract a channel from an image ( #497 )
2016-07-09 16:48:30 +01:00
Matt Hirsch
f672f86b53
Add ability to read and write native vips .v files ( #500 )
2016-07-09 16:21:16 +01:00
Kleis Auke Wolthuizen
b69627891d
Add trim operation to remove "boring" edges ( #491 #492 )
2016-07-08 22:19:10 +01:00
Matt Hirsch
65b7f7d7d5
Add bandbool feature for channel-wise boolean operations ( #496 )
2016-07-07 21:03:49 +01:00
Rahul Nanwani
278273b5c3
Add top/left offset support to overlayWith operation ( #473 )
2016-07-05 10:12:02 +01:00
Lovell Fuller
4c172d25f6
Allow images with alpha channel to use LAB sharpen #490
2016-07-04 21:33:44 +01:00
Matt Hirsch
b70a7d9a3b
Add convolve operation for kernel-based convolution ( #479 )
2016-07-04 20:48:00 +01:00
Matt Hirsch
85f20c6e1b
Add greyscale option to threshold operation ( #480 )
2016-07-03 19:32:07 +01:00
Kleis Auke Wolthuizen
2e9cd83ed2
Add support for clipping/cutting out ( #435 ) ( #448 )
...
USAGE: overlayWith('overlayimage.png', { cutout: true } )
2016-06-25 16:48:01 +01:00
Lovell Fuller
f1ead06645
Update test expectations/thresholds previously failing on OS X.
...
Remove Node v5 from CI builds.
2016-06-14 22:25:27 +01:00
Lovell Fuller
7d261a147d
Ensure scaling factors are calculated independently #452
...
Fixes bug introduced in v0.15.0 where, if the shrink operation
rounded up along one dimension, it could then also round up the
reduce operation on the same axis, creating a small stretch effect.
2016-06-13 23:03:45 +01:00
lemnisk8
62554b766f
Add support for repeated/tiled overlay image ( #443 )
...
USAGE: overlayWith('overlayimage.png', { tile: true, gravity: northwest} )
When using the tile option, the gravity option is applied to the extracted part of the tiled overlay image.
2016-05-26 16:42:17 +01:00
frulo
e699e36270
Add alpha channel, if required, before extend operation ( #439 )
2016-05-26 09:46:14 +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
Lovell Fuller
b6030c161b
Update expected test fixtures for libvips 8.3
2016-04-23 20:07:55 +01:00
Lovell Fuller
c920180cb3
Remove (un)premultiply ops when not resizing/compositing #413
2016-04-23 19:50:00 +01:00
Lovell Fuller
e0d58266be
Allow use of embed with 1 and 2 channel images #411
2016-04-14 21:39: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
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
2034efcf55
Add experimental, entropy-based auto-crop
...
Remove deprecated extract API
2016-03-05 12:29:16 +00:00
Lovell Fuller
f950294f70
Add ability to extend (pad) the edges of an image
2016-03-03 09:18:11 +00:00
Lovell Fuller
d92ea31858
overlayWith improvements: diff sizes/formats, gravity, buffer input
2016-02-29 15:15:27 +00:00
Lovell Fuller
df33c3024a
Fix embedding onto transparent backgrounds #366
...
Fully automate embed tests to prevent regression
2016-02-25 18:36:00 +00:00
Lovell Fuller
ca49e6079c
Increase threshold for gamma=0 test, due to either
...
the version of libjpeg or a cumulative rounding error.
2016-02-04 19:10:58 +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
2675b2265b
Ensure 16-bit input images embed onto alpha background
...
Support gamma correction of images with alpha channel
Favour shrink over affine when reducing by integral factor
2016-02-03 17:48:22 +00:00
Lovell Fuller
b3d6e94984
Optimisation for integral factors: favour shrink over affine
2016-02-03 17:48:22 +00:00
Lovell Fuller
61b86744d7
Ensure 16-bit input images work with embed option #325
2015-12-23 20:46:49 +00:00