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
1091be374e
Alpha compositing: support grey+alpha src and non-alpha dst
2015-06-02 14:51:08 +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
f19b6c48ca
Skip normalise operation for images with one colour
...
It didn't play nicely with premultiplication
2015-06-01 14:21:02 +01:00
Lovell Fuller
d2a2654ace
Replace use of 'finally' in failing tests
2015-06-01 14:21:02 +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
Lovell Fuller
c792a047b1
Ensure libvips version requirement
...
Should improve debugging, e.g. #222
2015-06-01 14:21:01 +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
c886eaa6b0
Version bumps for v0.11.0 WIP
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
Lovell Fuller
75d72cfded
Version bumps ahead of v0.10.1
v0.10.1
2015-06-01 09:50:49 +01:00
Lovell Fuller
21b0d8c7f7
Version bumps ahead of v0.10.1
...
Use SPDX format in licence field
2015-05-31 19:35:24 +01:00
Lovell Fuller
fa8f06f07d
Include C standard library for 'atoi' #228
...
Xcode 6.3 appears to no longer do this
2015-05-31 19:05:18 +01:00
Lovell Fuller
e07a105b7c
Test availability of __has_feature macro
2015-05-11 11:54:53 +01:00
Lovell Fuller
4f72dcbf54
Verify platform/compiler compatibility #178 #214
2015-05-11 10:46:47 +01:00
Lovell Fuller
b77877c83d
Add Amazon Linux 2015.03
...
Update to libvips version 8.0.2
2015-05-07 15:50:14 +01:00
Lovell Fuller
8fd3520257
Correct use of Windows CI env variable
2015-05-05 11:15:32 +01:00
Lovell Fuller
f15e64039c
Windows CI does not yet have io.js v2
2015-05-05 10:46:23 +01:00
Lovell Fuller
3ffe2ba17f
Windows CI matrix and version bumps
2015-05-05 10:15:20 +01:00
Lovell Fuller
33782d3c83
Embed alpha image on non-transparent background #204
2015-04-29 20:14:45 +01:00
Lovell Fuller
783826aa26
Reverse Openslide if/else for Debian 8 #203
2015-04-27 18:44:53 +01:00
Lovell Fuller
c2ef16eac2
Don't publish AppVeyor config to npm
2015-04-27 18:44:11 +01:00
Lovell Fuller
e999fb6e30
Dependency version bumps ahead of v0.10.0
v0.10.0
2015-04-23 14:29:14 +01:00
Lovell Fuller
d1fc0591a5
Silence Windows compiler warnings #19
2015-04-21 14:39:37 +01:00
Lovell Fuller
fb1c9cf3d3
Less strict assert for unordered events
2015-04-21 13:57:24 +01:00
Lovell Fuller
21ba1dfc26
Wrap flapping event test in nextTick
2015-04-21 13:22:29 +01:00
Lovell Fuller
dacd62428e
Fix Windows CI binding config
2015-04-21 12:37:45 +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
8926ebc56c
Add Appveyor config for Windows CI
...
Silence 'possible loss of data' warning
2015-04-20 19:00:22 +01:00
Lovell Fuller
9da87ce868
Fix typo in conditional introduced in 8ac33aa
2015-04-20 17:50:47 +01:00
Lovell Fuller
46cc45c186
Fail fast for unknown interpolator
2015-04-20 11:22:21 +01:00
Lovell Fuller
54f2243386
Merge pull request #198 from bkw/unknownInterpolator
...
Runtime guard against unknown interpolator class, avoids segfault.
2015-04-20 10:17:44 +01:00
Bernhard K. Weisshuhn
8ac33aad69
avoid segfault with unknown interpolator
2015-04-20 00:24:03 +02:00
Lovell Fuller
6fc62d39c9
Update thank you list
...
Add perf test for normalise
2015-04-19 21:09:19 +01:00
Lovell Fuller
a0655806de
No need to remove dzi file extension
...
libvips handles this - ensures filenames containing . work
2015-04-19 21:08:15 +01:00
Lovell Fuller
3614d14f83
A few small fixes to the test scripts
2015-04-19 16:15:40 +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
Lovell Fuller
be39297f3b
Merge pull request #194 from bkw/normalize
...
Add normalize() to use full luminance range.
2015-04-19 16:05:20 +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
Lovell Fuller
3dfc7bea3a
Merge pull request #192 from skedastik/judgement
...
Add support for ignoreAspectRatio option when resizing
2015-04-16 15:53:43 +01:00
Alaric Holloway
f72435c750
Support resize without preserving aspect ratio #118
2015-04-16 06:50:47 -07:00
Lovell Fuller
3810f642d3
Add small cache before convolution for seq access
2015-04-14 21:31:20 +01: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
ccb7887cb9
Use libjpeg-dev metapackage for Debian variants #190
2015-04-09 11:56:36 +01:00
Lovell Fuller
f1ad1216ca
Add support for Windows #19
...
Requires VIPS_HOME environment variable
2015-04-05 22:42:14 +01:00
Lovell Fuller
ce6813329b
Improve code portability ahead of Windows support
2015-04-05 21:57:53 +01:00
Lovell Fuller
7ad7193b1e
Add test for progressive JPEG output
2015-03-30 11:36:14 +01:00