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
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