Patrick Paskaris
bc84d1e47a
Allow PNG and WebP tile-based output in addition to JPEG ( #622 )
2016-11-13 20:36:43 +00:00
Lovell Fuller
a7b024d4fa
Tile-based output filename may not exist, check g_stat return value
2016-11-06 14:31:32 +00:00
Lovell Fuller
9911863441
Expose libvips centre option, mimics *magick +0.5px convention
2016-11-04 18:17:33 +00:00
Lovell Fuller
8717ecc429
Modularise JS source in 'lib' subdirectory.
...
Generate public API documention via jsdoc comments.
2016-11-02 09:25:20 +00:00
Lovell Fuller
3f5e38bb62
Deprecate output format option functions.
...
Access is now via options of existing output format functions.
e.g. use .jpeg({quality: n}) instead of .jpeg().quality(n)
2016-11-02 09:25:20 +00:00
Lovell Fuller
18b9991fe7
Add experimental 'attention' crop strategy
2016-10-12 11:18:58 +01:00
Lovell Fuller
7ada9dbd0d
Changelog update, fix for small leak introduced in 5c5d74a
2016-08-17 20:56:53 +01:00
Matt Hirsch
5c5d74a903
Add joinChannel and toColourspace/toColorspace operations ( #513 )
2016-08-17 15:42:05 +01:00
cmtt
fc2002fbd0
Add alpha channels, if missing, to overlayWith images ( #540 )
2016-08-13 17:19:15 +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
032bb7e96b
Ensure ICC profiles are removed from PNG output #521
2016-07-21 16:49:27 +01:00
Lovell Fuller
a5bd68ef8c
Recalc after WebP shrink-on-load to avoid rounding errors #508
2016-07-21 15:18:14 +01:00
Matt Hirsch
c39a9b8de9
Prevent boolean errors during extract operation ( #509 ) ( #511 )
2016-07-16 10:56:15 +01:00
Matt Hirsch
15a577863a
Ensure boolean, bandbool, extractChannel ops occur before sRGB conversion ( #504 )
2016-07-13 19:20:50 +01:00
Lovell Fuller
c42fb97419
Refactor pipeline to use common 16-bit detection methods
2016-07-11 23:03:45 +01:00
Lovell Fuller
e10aeb29eb
Add missing include introduced by fee3d88
2016-07-11 14:05:26 +01:00
Lovell Fuller
fee3d882c7
Prevent GC of Buffer object vector via accumulate/lambda.
...
Removes need for naming Buffers and separate container struct.
2016-07-11 13:07:32 +01:00
Matt Hirsch
d17e8d3450
Add boolean feature for bitwise image operations ( #501 )
2016-07-11 09:51:43 +01:00
Matt Hirsch
83d8847f57
Add extractChannel operation to extract a channel from an image ( #497 )
2016-07-09 16:48:30 +01:00
Matt Hirsch
f672f86b53
Add ability to read and write native vips .v files ( #500 )
2016-07-09 16:21:16 +01:00
Kleis Auke Wolthuizen
b69627891d
Add trim operation to remove "boring" edges ( #491 #492 )
2016-07-08 22:19:10 +01:00
Matt Hirsch
65b7f7d7d5
Add bandbool feature for channel-wise boolean operations ( #496 )
2016-07-07 21:03:49 +01:00
Rahul Nanwani
278273b5c3
Add top/left offset support to overlayWith operation ( #473 )
2016-07-05 10:12:02 +01:00
Lovell Fuller
a5d85b8a54
Changelog plus tidy of code/docs for convolve operation
2016-07-04 22:13:47 +01:00
Matt Hirsch
b70a7d9a3b
Add convolve operation for kernel-based convolution ( #479 )
2016-07-04 20:48:00 +01:00
Lovell Fuller
91e1ed1314
Ensure ICC profiles are licenced for distribution #486
2016-07-04 10:13:16 +01:00
Matt Hirsch
85f20c6e1b
Add greyscale option to threshold operation ( #480 )
2016-07-03 19:32:07 +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
7d261a147d
Ensure scaling factors are calculated independently #452
...
Fixes bug introduced in v0.15.0 where, if the shrink operation
rounded up along one dimension, it could then also round up the
reduce operation on the same axis, creating a small stretch effect.
2016-06-13 23:03:45 +01:00
lemnisk8
62554b766f
Add support for repeated/tiled overlay image ( #443 )
...
USAGE: overlayWith('overlayimage.png', { tile: true, gravity: northwest} )
When using the tile option, the gravity option is applied to the extracted part of the tiled overlay image.
2016-05-26 16:42:17 +01:00
frulo
e699e36270
Add alpha channel, if required, before extend operation ( #439 )
2016-05-26 09:46:14 +01:00
Lovell Fuller
cdb2894bd9
Use libvips' new lanczos3 kernel as default for image reduce
...
Deprecate interpolateWith method, now provided as an option
2016-05-18 19:57:22 +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
Lovell Fuller
b7a098fb28
Break existing sharpen API to accept sigma and improve precision
2016-05-07 20:04:17 +01:00
Lovell Fuller
ee21d2991c
Use shrink-on-load for WebP input
2016-05-07 20:04:17 +01:00
Lovell Fuller
c920180cb3
Remove (un)premultiply ops when not resizing/compositing #413
2016-04-23 19:50:00 +01:00
Lovell Fuller
e0d58266be
Allow use of embed with 1 and 2 channel images #411
2016-04-14 21:39: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
Samy Al Zahrani
ef61da3051
Ensure dimensions of final output image are provided ( #399 )
...
Add a failing test for vips::VError exception
* fix buffer size mismatch
* Loosen error message assertion
* Update image
2016-04-08 08:58:51 +01:00
kentongray
8c9c070caf
Ability to disable limitInputPixels #250
...
Update docs
Added a giant image for testing
Adding myself to contributors
Added tests to verify giant image can be opened
Extend test-win time limit (because of large images)
2016-04-04 08:35:11 +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
24fb0c33c2
Add further test case for #387 , which builds on 25b63a2
2016-03-30 19:26:19 +01:00
Lovell Fuller
25b63a2fb4
Ensure ratios are not swapped when rotating 90/270 and ignoring aspect
2016-03-28 22:40:37 +01:00
Lovell Fuller
2034efcf55
Add experimental, entropy-based auto-crop
...
Remove deprecated extract API
2016-03-05 12:29:16 +00:00
Lovell Fuller
38ddb3b866
Add support for Zoomify and Google tile layouts
...
Breaks existing tile API
2016-03-03 20:39:38 +00:00
Lovell Fuller
f950294f70
Add ability to extend (pad) the edges of an image
2016-03-03 09:18:11 +00: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
df33c3024a
Fix embedding onto transparent backgrounds #366
...
Fully automate embed tests to prevent regression
2016-02-25 18:36:00 +00:00
Lovell Fuller
6ca2a4a9cd
Ensure sharp.format lists support for raw input #220
2016-02-11 18:12:51 +00:00