Lovell Fuller
c8ff7e11a9
Upgrade to libvips v8.7.0
...
Drop Node 4 support
Add experimental musl prebuild for Node 8 and 10
2018-09-19 21:38:09 +01:00
Lovell Fuller
430a4297aa
Add support for prebuilt sharp binaries on common platforms
2018-03-04 14:33:44 +00:00
Rahul Nanwani
d6aee8e5ba
Add pixel-derived image statistics via vips_stats ( #915 )
2017-12-09 11:17:48 +00:00
Lovell Fuller
57946ed672
Upgrade to libvips v8.6.0
...
Expose offset coordinates of strategy-based crop
Switch to Github releases for prebuilt libvips
Move packaging scripts to lovell/sharp-libvips repo
2017-10-19 11:05:43 +01:00
Lovell Fuller
eb8773fe3e
Use detect-libc instead of ldd output parsing
2017-07-17 12:11:13 +01:00
Lovell Fuller
46aec7eabc
Upgrade libvips dependency and packaging to v8.5.1
2017-04-26 21:37:43 +01:00
Jérémy Lal
3a1db53d5a
Simpler expression for finding vips-cpp libdir ( #656 )
...
Fixes : #655
2016-12-18 08:57:50 +00:00
Lovell Fuller
552cfd6ff1
Store pre-compiled binary dependencies in 'vendor' directory.
...
This frees up 'lib' directory to allow for more modular JavaScript.
2016-11-02 09:25:20 +00:00
Lovell Fuller
98fb2e73f9
Remove trailing space from pkg-config libs output
...
Workaround for bug in pkg-config prior to v0.29
2016-11-02 09:25:20 +00:00
Lovell Fuller
1a0030e086
Restrict readelf usage to Linux only #602
2016-10-14 16:07:17 +01:00
Lovell Fuller
114ce370ed
Provide a default lib location when detecting C++11 ABI
...
Useful for pkgconfig without -L, e.g. Alpine Linux
See also commit 07d66da
2016-10-13 12:38:53 +01:00
Lovell Fuller
07d66da57b
Auto-detect C++11 ABI version, remove --sharp-cxx11 flag
2016-09-28 21:40:30 +01:00
Lovell Fuller
475f0bf120
Refactor packaging scripts, add ARMv7/v8 binaries
2016-08-12 13:40:44 +01:00
Lovell Fuller
da0dc28bc4
Remove unescaped module_root_dir as it can contain spaces
2016-08-01 13:44:46 +01:00
Lovell Fuller
36bfbdee0d
Add support for using pre-compiled binaries with OSX
2016-07-25 16:32:42 +01:00
Lovell Fuller
4f1472d4ff
Upgrade to libvips v8.3.2
2016-07-25 15:30:14 +01:00
Lovell Fuller
7689fbe54d
Ensure --sharp-cxx11 flag is passed through #456 #494
...
node-gyp replaces dashes with underscores
2016-07-06 10:40:53 +01:00
Jérémy Lal
39040fb9a0
Allow node-gyp configure --sharp-cxx11=1 ( #456 )
...
Can also be set in .npmrc.
Closes : #442
2016-06-08 17:42:46 +01:00
Lovell Fuller
7388d97502
Allow keyword macros for glib support on MSVC
2016-05-08 13:30:42 +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
Samy Al Zahrani
f214269aa1
Enable RTTI for clang-based builds
...
This allows for a more verbose error message on mac os x
```
libc++abi.dylib: terminating with uncaught exception of type vips::VError
```
becomes
```
libc++abi.dylib: terminating with uncaught exception of type vips::VError: VipsImage: memory area too small --- should be 1191960 bytes, you passed 1189440
```
2016-04-06 15:23:17 +01:00
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