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
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
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
b7a098fb28
Break existing sharpen API to accept sigma and improve precision
2016-05-07 20:04:17 +01:00
Lovell Fuller
ee21d2991c
Use shrink-on-load for WebP input
2016-05-07 20:04:17 +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
b224874332
Add support for writing dz format to zip container ( #402 )
...
To enable this you can either use the `.zip` or `.szi` file extensions
or use `.tile({container: 'zip'})` with the `.dzi` extension.
2016-04-08 19:58:13 +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
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
24fb0c33c2
Add further test case for #387 , which builds on 25b63a2
2016-03-30 19:26:19 +01:00
Lovell Fuller
25b63a2fb4
Ensure ratios are not swapped when rotating 90/270 and ignoring aspect
2016-03-28 22:40:37 +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
38ddb3b866
Add support for Zoomify and Google tile layouts
...
Breaks existing tile API
2016-03-03 20:39:38 +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
bb37dc1ea6
Expose density metadata; set density of images from vector input
2016-03-01 19:33:54 +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
6ca2a4a9cd
Ensure sharp.format lists support for raw input #220
2016-02-11 18:12:51 +00:00
Lovell Fuller
afb30b3695
Ensure VipsArea is unreferenced after Buffer-based output
...
Prevents the leak of a ~1KB GMutex per output image
2016-02-09 19:28:17 +00:00
Lovell Fuller
677b2b9089
Selected output format > unknown file extension #344
2016-02-07 20:13:13 +00:00
Lovell Fuller
736c04a7a4
Only set density option when using magick loader
...
to reduce number of warnings from libvips #352
2016-02-04 19:16:54 +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
57c1e3ae26
Slightly simplify marshalling of data from V8 Objects
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
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
61b86744d7
Ensure 16-bit input images work with embed option #325
2015-12-23 20:46:49 +00:00
Lovell Fuller
58e6368525
Ensure embedded ICC profiles output with perceptual intent #321
2015-12-06 20:24:17 +00:00
Lovell Fuller
8a3098604c
Remove experimental code that could prevent anti-alias filter
2015-11-21 23:37:44 +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
5842da22d8
Merge pull request #306 from dacarley/negate
...
Add negate operation to invert all pixel values.
2015-11-17 20:45:09 +00:00
David Carley
3af62446fc
Implements greyscale thresholding
2015-11-17 12:15:34 -06:00
David Carley
33a175eafb
Implements negation.
2015-11-17 10:18:59 -06:00
Lovell Fuller
5dfeaa9fd1
Ensure gaussian blur is applied before lbb interpolator #289
2015-11-16 08:26:35 +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
20f468991f
Start to use libvips 8.1.0+ features #152
...
Use native (un)premultiply
Support normalise on Windows
2015-11-12 22:14:53 +00:00
Lovell Fuller
58d9e0fef7
Pre-extract rotate should not swap width/height #296
2015-11-11 22:34:30 +00:00
Brandon Aaron
25e5f27785
add corner gavity support
2015-10-27 15:10:10 -04:00
Brandon Aaron
79470d2e07
EXIF Orientation tags 2 and 4 were flipping instead of flopping
2015-10-16 15:41:40 -04:00
Chris Riley
ce2d7b8efc
Update pipeline.cc
...
In the upgrade to nan v2 that was part of v0.11.2 the baton values for blurSigma, sharpenFlat, and sharpenJagged were being cast to int32_t causing blur(sigma) and sharpen(radius, flat, jagged) to fail with "parameters out of range". This patch casts these baton values to doubles.
2015-09-06 12:29:07 -04: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
01435977de
Blur and sharpen ops always convolve
...
Partial revert of 36ac882
2015-08-12 07:25:14 +01:00