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
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
Lovell Fuller
331926dc3c
Concat Stream-based input in single operation for ~+3% perf and less GC #429
2016-05-24 21:04:18 +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
b7a098fb28
Break existing sharpen API to accept sigma and improve precision
2016-05-07 20:04: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
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
John Tobin
ebfc897bcf
Fix for orientation values 1-8
2016-04-02 11:59:26 +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
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
d92ea31858
overlayWith improvements: diff sizes/formats, gravity, buffer input
2016-02-29 15:15:27 +00:00
Jarda Kotesovec
32fcb771ca
clone clean up
2016-02-17 10:25:00 +01:00
Lovell Fuller
677b2b9089
Selected output format > unknown file extension #344
2016-02-07 20:13:13 +00:00
Joel Mukuthu
da74cd078f
Fix: default crop gravity to sharp.gravity.center
...
Closes https://github.com/lovell/sharp/issues/350
2016-02-04 10:38:58 +01: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
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
32c4b9eff1
Allow SIMD vector unit to be toggled on/off #172
...
Currently defaults to off but future versions may default to on
2015-12-12 09:11:50 +00:00
Lovell Fuller
8012733a52
Expose libvips+deps versions attribute
...
Add versions.json for Linux packaging
Bump vips-dev Windows version for latest libpng
2015-11-22 20:58:38 +00:00
Andreas Lind
60b8b92630
Add support for .extract({left:...,top:...,width:...,height:...}).
2015-11-18 12:06:10 +01: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
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
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
2129adfcc3
Initial commit of local libvips binding/packaging
...
Copy Windows DLLs into release dir as no rpath equivalent
Use local libvips on Windows CI
2015-11-07 19:58:26 +00:00
Brandon Aaron
25e5f27785
add corner gavity support
2015-10-27 15:10:10 -04:00
Andreas Lind
faa515d969
crop: Permit specifying the gravity as a string.
...
Will be looked up in require('sharp').gravity.
2015-08-19 14:49:02 +02:00
Lovell Fuller
d303703dc5
Allow override of EXIF Orientation tag #189
...
Clear Orientation when rotate/flip/flop are used
2015-07-13 20:00:33 +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
86490bedfb
Add 'clone' method to snapshot an instance
...
Cloned instances share a common input
Allows multiple output Streams to use a single input Stream
2015-06-28 14:21:02 +01:00
Lovell Fuller
36be0453dd
Refactor internal 'resize' to more apt 'pipeline'
...
Refactor 'composite' C to C++ 'operations'
2015-06-01 16:33:26 +01:00
Lovell Fuller
e2c53b59ce
Tighten constructor and quality param checks #221
2015-06-01 14:48:57 +01:00
Lovell Fuller
8832ae0bf9
Add private maxColourDistance for functional tests
...
Switch MSE-based tests to use it
Remove experimental MSE-based compare API
2015-06-01 14:21:02 +01:00
Daniel Gasienica
ef8db1eebf
Premultiply alpha channel to avoid dark artifacts during tranformation
...
Add `Sharp.compare(file1, file2, callback)` function for comparing images
using mean squared error (MSE). This is useful for unit tests.
See:
- https://github.com/jcupitt/libvips/issues/291
- http://entropymine.com/imageworsener/resizealpha/
2015-06-01 14:21:02 +01:00
Daniel Gasienica
64f7f1d662
Add experimental overlayWith
API
...
Composites an overlay image with alpha channel into the input image (which
must have alpha channel) using ‘over’ alpha compositing blend mode. This API
requires both images to have the same dimensions.
References:
- http://en.wikipedia.org/wiki/Alpha_compositing#Alpha_blending
- https://github.com/jcupitt/ruby-vips/issues/28#issuecomment-9014826
See #97 .
2015-06-01 14:21:01 +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
46cc45c186
Fail fast for unknown interpolator
2015-04-20 11:22:21 +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
Bernhard K. Weisshuhn
dce36e0074
Add normalize() for simple histogram stretching
...
Available as normalize() or normalise().
Normalization takes place in LAB place and thus should not change any
colors.
Existing alpha channels are preserved untouched by normalization.
2015-04-18 12:55:04 +02:00
Lovell Fuller
ba034a8164
Add docs for new ignoreAspectRatio option
2015-04-16 18:28:30 +01:00
Alaric Holloway
f72435c750
Support resize without preserving aspect ratio #118
2015-04-16 06:50:47 -07: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
81c710eaa3
Add EventEmitter for queue length changes
...
Remove unnecessary params from Error handler
2015-03-20 15:44:18 +00: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