Lovell Fuller
|
d92ea31858
|
overlayWith improvements: diff sizes/formats, gravity, buffer input
|
2016-02-29 15:15:27 +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
|
5febce7a59
|
Remove executable bit from test/* file permissions
|
2015-11-21 23:05:48 +00:00 |
|
Lovell Fuller
|
022a2b1ade
|
Ensure test coverage of overlayWith error paths
|
2015-07-15 09:37:25 +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
|
1091be374e
|
Alpha compositing: support grey+alpha src and non-alpha dst
|
2015-06-02 14:51:08 +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 |
|