Matthew McEachen
b4d72bd544
Add failOnError option to fail-fast on bad input image data ( #976 )
2017-10-19 11:05:43 +01:00
Lovell Fuller
6a1c7b7588
Ensure input Buffer really is marked as Persistent #950
2017-09-16 20:17:32 +01:00
Lovell Fuller
72b0efd393
Remove possible switch case fall through
...
Luckily there were no side effects in this... case
2017-06-25 19:09:20 +01:00
Lovell Fuller
2f534dc01c
Base maximum output dimensions on limitation of format
2017-05-04 23:20:37 +01:00
Lovell Fuller
301bfbd271
Expose libvips warnings via NODE_DEBUG env var
2017-04-26 21:37:43 +01:00
Lovell Fuller
1aa053ce6f
Create blank image (width, height, channels, background) #470
2017-03-11 11:46:01 +00:00
Lovell Fuller
81f5589411
Add use of 'cc' to improve C++ code style linting
2017-02-11 09:59:23 +00:00
Lovell Fuller
d2455267a8
Allow non-RGB input to embed/extend onto bg with alpha #646
2016-12-11 16:01:21 +00:00
Lovell Fuller
eb30f6ceff
Upgrade libvips to v8.4.2
...
Improved EXIF orientation and GIF alpha channel support
2016-11-02 09:25:20 +00:00
Lovell Fuller
28ce33feb3
Fix y-axis calc when overlaying at fixed point #566
2016-09-16 11:20:08 +01:00
Matt Hirsch
5c5d74a903
Add joinChannel and toColourspace/toColorspace operations ( #513 )
2016-08-17 15:42:05 +01:00
Lovell Fuller
e6bfa52b0b
Add raw pixel data support to boolean and withOverlay ops
...
The previously-scattered image opening logic has been refactored to a
single ImageDescriptor struct/Object available to both JS and C++ code
This removed about 150 LOC but more importantly reduces the complexity
of adding/exposing new operations that require an input image.
2016-07-26 23:07:25 +01:00
Lovell Fuller
c42fb97419
Refactor pipeline to use common 16-bit detection methods
2016-07-11 23:03:45 +01:00
Matt Hirsch
d17e8d3450
Add boolean feature for bitwise image operations ( #501 )
2016-07-11 09:51:43 +01:00
Matt Hirsch
f672f86b53
Add ability to read and write native vips .v files ( #500 )
2016-07-09 16:21:16 +01:00
Rahul Nanwani
278273b5c3
Add top/left offset support to overlayWith operation ( #473 )
2016-07-05 10:12:02 +01:00
Kleis Auke Wolthuizen
2e9cd83ed2
Add support for clipping/cutting out ( #435 ) ( #448 )
...
USAGE: overlayWith('overlayimage.png', { cutout: true } )
2016-06-25 16:48:01 +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
Felix Bünemann
b224874332
Add support for writing dz format to zip container ( #402 )
...
To enable this you can either use the `.zip` or `.szi` file extensions
or use `.tile({container: 'zip'})` with the `.dzi` extension.
2016-04-08 19:58:13 +01:00
Lovell Fuller
c66495b66c
Tighten C++ linting rules
...
Bump benchmark dependencies
Update leak test suppressions
Update future branch details
2016-03-31 20:30:40 +01:00
Lovell Fuller
bb37dc1ea6
Expose density metadata; set density of images from vector input
2016-03-01 19:33:54 +00:00
Lovell Fuller
d92ea31858
overlayWith improvements: diff sizes/formats, gravity, buffer input
2016-02-29 15:15:27 +00:00
Lovell Fuller
677b2b9089
Selected output format > unknown file extension #344
2016-02-07 20:13:13 +00:00
Lovell Fuller
56508e8d79
Add support for libvips' PPM and FITS loaders #347
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
84fd1caa46
Switch default interpolator to bicubic #289
...
Only use gaussian blur for non-linear interpolators
Improves performance of bilinear by ~15%
Add liborc to the packaged build to improve bicubic perf
Add examples of the various interpolation methods
Add bilinear vs bicubic to perf tests
2015-11-15 22:04:31 +00:00
Lovell Fuller
2678d761ba
Use FreeCallback to support mixed Windows runtime libs #152
2015-11-14 13:58:05 +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
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
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
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
c792a047b1
Ensure libvips version requirement
...
Should improve debugging, e.g. #222
2015-06-01 14:21:01 +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
Bernhard K. Weisshuhn
8ac33aad69
avoid segfault with unknown interpolator
2015-04-20 00:24:03 +02:00
Lovell Fuller
9b5229f2dd
Support old and new Magick loader class names
...
See jcupitt/libvips@99b4bcb
2015-03-12 17:12:06 +00:00
Lovell Fuller
5781a23a4d
Combine new tile* API methods
...
Use v7.40.0+ libvips loader methods
Separate Openslide as input vs Deep Zoom as output
Split tile-based tests into new file
Added assertions for generated tile size
2015-03-12 15:39:27 +00:00
Victor Mateevitsi
2d1e6f2644
Added Deep Zoom support.
...
Added OpenSuse 13.1 and 13.2 support in preinstall.sh script.
Added OpenSlide support in preinstall script.
Added unit tests for Deep Zoom and OpenSlide.
2015-03-10 14:00:27 +00:00
Maurus Cuelenaere
125ee836fe
Let libvips check whether we received a valid image or not
...
This removes the custom image fingerprinting code and uses the libvips
is_a_buffer() infrastructure instead.
2015-03-01 11:53:17 +01:00
Lovell Fuller
f89e9d726d
Add support for libvips v8.0.0
2015-02-16 13:27:22 +00:00
Maurus Cuelenaere
ab7408c96f
Add support for loading images through ImageMagick as a buffer
2015-02-16 10:12:59 +01:00
Lovell Fuller
b86674f91f
Add cpplint to test suite
2015-01-16 22:31:46 +00:00
Lovell Fuller
f57a0e3b00
Ensure embedded profile, if any, is always used
...
Perform sRGB conversion at end of pipe only
withMetadata exports profile, should not convert
Convert one fixture to sRGB to help test
Discovered while investigating #125
2014-11-25 18:54:49 +00:00
Lovell Fuller
177a4f574c
Minimum version of libvips now 7.40.0 #74
2014-11-17 12:08:05 +00:00
Lovell Fuller
ee513ac7a7
Less C, more C++ e.g. namespace, enum class
...
Improve image reference handling
2014-11-11 18:28:23 +00:00
Lovell Fuller
47927ef47d
Shrink less, affine more, maintain performance #75
...
Affects interpolators with 4x4+ window size
e.g. Bicubic, LBB, Nohalo
Introduces blur before large affine
to improve large PNG reductions
2014-11-08 12:08:27 +00:00
Lovell Fuller
7537adf399
Add features from libvips 7.40+
...
Load TIFF from Buffer/Stream
Interlaced PNG output no longer needs tilecache
Option to disable PNG adaptive row filtering
2014-11-08 12:08:27 +00: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