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
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
f672f86b53
Add ability to read and write native vips .v files ( #500 )
2016-07-09 16:21:16 +01:00
Matt Hirsch
65b7f7d7d5
Add bandbool feature for channel-wise boolean operations ( #496 )
2016-07-07 21:03:49 +01:00
Matt Hirsch
b70a7d9a3b
Add convolve operation for kernel-based convolution ( #479 )
2016-07-04 20:48:00 +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
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
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
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
Brandon Aaron
79470d2e07
EXIF Orientation tags 2 and 4 were flipping instead of flopping
2015-10-16 15:41:40 -04: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
Lovell Fuller
b50fb53f27
Use image fingerprints in functional tests #122
2015-06-01 14:21:01 +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
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
Lovell Fuller
c93f79daa7
Guard against InitImage failure #150
...
Protects against truncated image headers
2015-01-20 10:38:44 +00:00
Lovell Fuller
247b607afd
Add SVG and PSD fixtures and tests
2014-12-05 21:35:18 +00:00
Lovell Fuller
f7c2a839ad
Add support for profile-less CMYK images #99
2014-11-06 11:30:19 +00:00
Lovell Fuller
db6dc6431b
Add support for mirroring #62
2014-10-21 14:47:08 +01:00
Lovell Fuller
ca561daedf
Test code refactor #63
...
Use mocha for feature-specific unit tests
Add test coverage report via istanbul
2014-10-20 15:32:56 +01:00