Lovell Fuller
be00d72d82
Upgrade nan to fix clang linking problem #259
v0.11.2
2015-08-28 10:48:20 +01:00
Lovell Fuller
5b376364f5
Add test case for require-time libc++ segfault
2015-08-27 23:59:48 +01:00
Lovell Fuller
409d15c624
Support EXIF Orientation removal in libvips v8.1.0
...
See #189 and jcupitt/libvips@fbe321e
2015-08-24 21:48:38 +01:00
Lovell Fuller
ce22388c3b
Add io.js v3 to Appveyor CI test matrix
2015-08-24 19:31:11 +01:00
Lovell Fuller
30143cf509
Version bumps and changelog updates for v0.11.2
2015-08-24 19:03:05 +01:00
Lovell Fuller
78f31d2b0d
Auto-exclude benchmark contenders that fail compilation
2015-08-24 18:55:59 +01:00
Lovell Fuller
4e67a5025a
Use malloc for Nan::NewBuffer owned data
...
GC results in free() rather than delete[]
Add plenty of new valgrind suppressions
2015-08-24 16:14:49 +01: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
045680fba5
Document use of crop gravity as a String
2015-08-19 16:28:28 +01:00
Lovell Fuller
692347cc6b
Merge pull request #255 from papandreou/feature/cropString
...
crop: Permit specifying the gravity as a string
2015-08-19 15:13:29 +01: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
c4a278ec9c
Update changelog for v0.11.1
...
Version bumps for benchmark test
v0.11.1
2015-08-12 09:49:50 +01:00
Lovell Fuller
658a541f49
Add test case for enlarge+embed combo #243
2015-08-12 09:26:38 +01:00
Lovell Fuller
01435977de
Blur and sharpen ops always convolve
...
Partial revert of 36ac882
2015-08-12 07:25:14 +01:00
Lovell Fuller
36ac8828f2
Gamma correction and premultiply do not mix
...
Skip premultiply for fast blur/sharpen
Automate gamma correction tests
2015-08-11 21:51:22 +01:00
Lovell Fuller
9c83d98bbb
Update Appveyor CI to MSVC 2015
2015-07-31 12:11:18 +01:00
Lovell Fuller
dee9ca3ec2
Merge pull request #244 from TheThing/patch-1
...
Silence MSVC warning:
"C4530: C++ exception handler used,
but unwind semantics are not enabled."
2015-07-26 15:58:54 +01:00
Jonatan Nilsson
d375327d20
binding.gyp: Fix warnings during compiling
...
Fixes the following warnings while compiling:
```
D:\Forritun\Microsoft Visual Studio 14.0\VC\include\xlocale(341): warning C4530: C++ exception handler used, but unwind semantics are not enabled. Specify /EHsc (compiling source file ..\src\common.cc) [D:\sharp\build\sharp.vcxproj]
D:\Forritun\Microsoft Visual Studio 14.0\VC\include\xlocale(341): warning C4530: C++ exception handler used, but unwind semantics are not enabled. Specify /EHsc (compiling source file ..\src\operations.cc) [D:\sharp\build\sharp.vcxproj]
...etc...
```
Solution taken from here: https://github.com/TooTallNate/node-gyp/issues/26#issuecomment-7296389
2015-07-25 07:44:06 +00:00
Lovell Fuller
09244192e9
Add permalinks back to mkdocs
...
Erroneously removed in de333eb
2015-07-16 09:34:42 +01:00
Lovell Fuller
de333eb02d
Add PPA details for Ubuntu LTS
...
Remove Mac OS from preinstall script - please use homebrew
2015-07-16 09:28:54 +01:00
Lovell Fuller
8b50f15a44
Version bumps ahead of v0.11.0
v0.11.0
2015-07-15 10:55:06 +01:00
Lovell Fuller
f853fa3e23
Suppress known magick and glib leaks
2015-07-15 10:47:09 +01:00
Lovell Fuller
d26f6b3b89
Big documentation clean-up
...
Add structure via mkdocs (replaces ever-growing README)
Inline usage examples with the method they demonstrate
Add changelog
2015-07-15 10:17:55 +01:00
Lovell Fuller
022a2b1ade
Ensure test coverage of overlayWith error paths
2015-07-15 09:37:25 +01:00
Lovell Fuller
4f1ac5717e
Clarify removal of EXIF Orientation tag #189
2015-07-13 22:28:59 +01: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
642e5687b6
Guard against unexpected overlay band format #97
2015-07-11 22:56:18 +01:00
Lovell Fuller
2ec845b083
Create normalize/blur/sharpen operations
...
Reduces pipeline by ~100 LOC
2015-07-11 21:44:39 +01:00
Lovell Fuller
c40cd1aa50
Switch Appveyor CI to x64 and iojs 2.x
...
Still install/build for 32-bit node/iojs exe
2015-07-11 19:56:23 +01:00
Lovell Fuller
804162c69a
Increase AppVeyor CI timeout
2015-07-11 08:58:15 +01:00
Lovell Fuller
08b2a647d0
Update benchmark results for 0.11.0
...
Adds CImg-based 'lwip' module
Use AWS EC2 c4 instance type
2015-07-10 23:26:25 +01:00
Lovell Fuller
3a058c0c27
Add 'lwip' module to benchmark tests
...
Dependencies bump
2015-07-10 22:14:56 +01:00
Lovell Fuller
b8885c1faa
Auto-width and height calcs now round instead of floor
...
I think this will better match people's expectations
2015-07-03 15:21:28 +01:00
Lovell Fuller
321e0f2bfe
Add 'icc' raw profile data to metadata #129
2015-06-29 21:27:23 +01:00
Lovell Fuller
cff8b45420
Add OS X build status image
...
Almost-automated(TM)
2015-06-29 14:24:59 +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
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