Lovell Fuller
5b4f4b0672
Upgrade to libvips v8.2.3 ahead of sharp v0.14.0
2016-03-22 09:37:52 +00: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
5c9c17f1f6
Switch from libvips' C to C++ binding
...
Requires upgrade to libvips 8.2.1
2016-02-03 17:48:22 +00:00
Lovell Fuller
dc2b79ac9a
Use array context for include/library paths in gyp config
...
Remove -I prefix from include paths
Should allow for compilation on FreeBSD #326
2016-01-01 14:04:52 +00:00
Lovell Fuller
e21277ceba
Version bump of libpng Windows dependency
2015-11-22 21:11:29 +00:00
Lovell Fuller
3dbedf1fb6
Match g_malloc/g_free for make benefit glorious nation of Windows
...
Remove C++ standard lib from Windows packaging
2015-11-21 22:51:32 +00:00
Lovell Fuller
0ae619dfc5
Remove stray win32 library that was causing segfaults
...
Explicit int cast to prevent 'loss of precision' warnings
Remove unnecessary semver checking from I/O tests
2015-11-21 22:18:39 +00:00
Lovell Fuller
c9ecc7a517
Document Debian 7 support
...
Add liborc to fix openSUSE support
Switch recommended *magick to ImageMagick for OS X
Increase test timeouts (for Circle CI)
2015-11-19 22:47:34 +00:00
Lovell Fuller
bf6b894480
Improve dependency-less documentation
...
Start to comment ever-growing GYP config
Add Circle CI config to run packaging tests
2015-11-10 21:49:45 +00:00
Lovell Fuller
05cec013fe
Ensure support for more Linux flavours
...
Add docker-based packaging tests
2015-11-09 08:37:30 +00:00
Lovell Fuller
f4cbbd7b79
Ensure Windows CI uses x64
2015-11-07 20:22:17 +00:00
Lovell Fuller
2129adfcc3
Initial commit of local libvips binding/packaging
...
Copy Windows DLLs into release dir as no rpath equivalent
Use local libvips on Windows CI
2015-11-07 19:58:26 +00:00
vlapo
75d954a6bc
Add --runtime_link=static
2015-10-14 11:29:29 +02: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
36be0453dd
Refactor internal 'resize' to more apt 'pipeline'
...
Refactor 'composite' C to C++ 'operations'
2015-06-01 16:33:26 +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
d1fc0591a5
Silence Windows compiler warnings #19
2015-04-21 14:39:37 +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
49b44d8238
Ensure compilation on RHEL/Centos 6 gcc
2014-10-21 22:01:43 +01:00
Lovell Fuller
8bc1981891
Refactor C++ code
...
Split features into their own file
Style is becoming less C, more C++
2014-10-21 21:38:19 +01:00
Lovell Fuller
b877751b2d
Add support for C++11 on Mac
2014-08-24 21:41:09 +01:00
Lovell Fuller
5fe945fca8
Add gravity support to crop #45
2014-08-21 11:01:25 +01:00
Lovell Fuller
2126f9afc1
Ensure xcode/clang uses cflags
...
Silence pedantic warnings triggered by V8 in 0.11
2014-07-09 21:14:40 +01:00
Lovell Fuller
012edb4379
Support existing path to pkg-config lib for Heroku #57
2014-06-17 19:55:41 +01:00
Lovell Fuller
6d20a1ca81
Simplify gyp to support non-standard brew installs #56
2014-06-05 22:19:02 +01:00
Lovell Fuller
6b5f2028b7
Add support for 32 bit Linux #27
2014-05-21 23:46:10 +01:00
Pierre Inglebert
e96fd8b9de
0.11 compat using nan
2014-04-02 00:10:42 +02:00
Lovell Fuller
a292e1fe8e
Add path to homebrew-installed pkgconfig for Mac OS 10.8 (10.9 is symlinked to 10.8) #9
2014-03-12 20:45:35 +00:00
Lovell Fuller
16551bc058
Take a temporary copy of buffers provided as input. Soak testing suggests this prevents the problems seen in #6 .
2014-02-12 22:36:13 +00:00
Lovell Fuller
7ffcdb79e0
Add glib-2.0 path for Mac OS X
2014-01-30 18:28:24 +00:00
Lovell Fuller
d509458ba1
Major rewrite and therefore API change. Despite the name, image sharpening is now optional, plus there are other new options. Can now handle buffers in and out. Doubled performance in certain cases. Closes #3 . Closes #4 .
2014-01-19 21:38:37 +00:00
Lovell Fuller
0b7c8661fb
The pkgconfig data file ends up in /usr/local when compiling libvips from source
2013-09-23 21:40:01 +01:00
Lovell Fuller
a4149ed2a5
Initial commit
2013-08-19 22:39:51 +01:00