Lovell Fuller
d705cffdd6
Ensure extractChannel works with 16-bit images #1330
2018-08-12 20:22:39 +01:00
Lovell Fuller
c14434f9e7
Add removeAlpha op, removes alpha channel if any #1248
2018-08-07 20:32:11 +01:00
Lovell Fuller
25bd2cea3e
Add experimental entropy field to stats response
2018-08-06 15:41:27 +01:00
Lovell Fuller
532de4ecab
Cache libvips binaries to reduce re-install time #1301
2018-08-05 10:31:41 +01:00
Espen Hovlandsdal
7bbc5176a1
Expose mozjpeg quant_table flag ( #1285 )
2018-07-10 15:56:05 +01:00
Tom Lokhorst
76c41eaf05
Expose libjpeg optimize_coding flag ( #1265 )
2018-06-21 18:12:10 +01:00
Lovell Fuller
94607b585a
Ensure extractChannel sets bw colourspace interp #1257
2018-06-19 22:47:52 +01:00
Lovell Fuller
da0b0348a2
Prevent rounding err with shrink-on-load and 90/270 rot #1241
2018-06-19 21:19:34 +01:00
Lovell Fuller
54a71fc142
Fix tint op by ensuring LAB and allowing negative values #1235
...
Add test cases for more tint colours and input interpretations
2018-05-23 20:51:47 +01:00
Nathan Graves
5d140d949f
Add support for Group4 (CCITTFAX4) compression to TIFF output ( #1208 )
2018-04-26 19:49:08 +01:00
Lovell Fuller
6d2da2b3ba
Switch unzip test dependency for Node 10 support
2018-04-25 20:37:10 +01:00
Nathan Graves
b154cd0418
Add support for page selection with multi-page TIFF input ( #1204 )
2018-04-24 22:57:27 +01:00
Rik Heywood
dbac4b9a63
Add tint operation to set image chroma
2018-04-11 20:05:48 +01:00
Thomas Parisot
0d7c3fc4d8
Ignore global libvips during install via SHARP_IGNORE_GLOBAL_LIBVIPS ( #1165 )
2018-03-22 18:48:30 +00:00
Andrea Bianco
875937e3d8
Expose libvips' median filter operation ( #1161 )
2018-03-17 10:52:44 +00:00
Lovell Fuller
f60f7dab12
Prevent error when cumulative rounding below target #1154
2018-03-13 19:42:10 +00:00
Lovell Fuller
430a4297aa
Add support for prebuilt sharp binaries on common platforms
2018-03-04 14:33:44 +00:00
Lovell Fuller
5ab6f599fb
Prevent crop when at or below target dimensions #1134
2018-02-23 10:31:11 +00:00
Andrea Bianco
f86ae79fdb
Expose angle option in tile feature ( #1121 )
2018-02-18 20:00:08 +01:00
Marcel
d599d1f29e
Expose linear transform feature of libvips ( #1024 )
2018-02-04 10:36:04 +00:00
Oleg Aleynik
c4df115948
Expose IPTC and XMP metadata when available ( #1079 )
2018-01-10 22:12:11 +00:00
Lovell Fuller
3764d63244
Add valgrind suppressions for Node 8
2018-01-06 13:39:26 +00:00
Lovell Fuller
8e74668e3c
Update linter plus related spacing fixes
2018-01-05 10:18:08 +00:00
Lovell Fuller
9bd2cec199
Update benchmark test dependencies
2018-01-02 20:19:11 +00:00
Lovell Fuller
7115ae5375
Prevent toFile ext taking precedence over toFormat #1037
2017-12-20 20:33:08 +00:00
Lovell Fuller
13997ca653
Run unit test files sequentially through valgrind
2017-12-18 19:57:26 +00:00
Lovell Fuller
9fa04a0b93
Attach event listener to clone only for Stream #995
2017-12-12 21:53:27 +00:00
Kenric D'Souza
927b77700d
Add gravity support to embed feature ( #1038 )
2017-12-12 19:29:16 +00:00
Rahul Nanwani
d6aee8e5ba
Add pixel-derived image statistics via vips_stats ( #915 )
2017-12-09 11:17:48 +00:00
Lovell Fuller
8fe3b59efe
Update test fixtures for e9b7231ac0
2017-12-08 17:54:39 +00:00
Lovell Fuller
50848ee462
Add unit test coverage report for C++
2017-11-30 20:16:30 +00:00
Lovell Fuller
2abf9f96c7
Force TIFF predictor=none to match fixture in squash tests
2017-11-27 19:55:20 +00:00
Lovell Fuller
929ea10f76
Re-enable test for 1200 DPI SVG rasterisation to PNG
2017-11-27 19:31:31 +00:00
Lovell Fuller
efd2e893cf
Ensure expected fixtures match libvips v8.6.0 behaviour
2017-11-27 19:13:39 +00:00
Lovell Fuller
2a18b9a8f7
Remove centreSampling option, update some expected test fixtures
...
See https://github.com/jcupitt/libvips/issues/705
2017-11-26 13:49:56 +00:00
Lovell Fuller
ba521fccb4
Replace caw with its tunnel-agent dependency
2017-11-07 19:38:10 +00:00
Lovell Fuller
3c88c84998
Doc refresh, changelog and dead code removal for #977
2017-10-19 11:05:43 +01:00
Jarda Kotěšovec
d0f66c3734
Switch to libvips' resize, make fastShrinkOnLoad optional ( #977 )
2017-10-19 11:05:43 +01:00
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
99076edc89
Default PNG output to adaptiveFiltering=false, compressionLevel=9
...
PNG is mostly used for logos and line art, so these defaults will
produce the smallest files for most output most of the time.
2017-10-19 11:05:43 +01:00
Lovell Fuller
7b6c80327e
Verify platform of vendor binaries at install and run time
2017-10-19 11:05:43 +01: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
Kleis Auke Wolthuizen
e0d622d347
Skip shrink-on-load when trimming ( #887 ) ( #888 )
2017-07-28 21:02:30 +01:00
Lovell Fuller
d25d761b55
Update benchmark deps, allow node-images to fail
2017-07-14 13:18:13 +01:00
Lovell Fuller
49297d6afb
Ensure flip and flop operations work with auto-rotate #837
2017-06-19 23:42:26 +01:00
Yves Bos
d8765f955d
Allow xres and yres to be set for TIFF output ( #828 )
2017-06-03 10:52:09 +01:00
Lovell Fuller
f42a1ceab7
Recalculate residual after adjusting shrink #831
2017-05-30 20:22:15 +01:00
Lovell Fuller
9e39a7fa95
Correct shrink calc, regression introduced in e398b47 #831
2017-05-30 17:16:41 +01:00
jingsam
4c6804eadc
Add toFormat 'jpg' alias for 'jpeg' ( #814 )
2017-05-22 12:59:43 +01:00
Nicolas Coden
99810c0311
Add support for any rotation angle ( #791 )
...
Allow to provide any positive or negative multiple of 90 to `.rotate(...)`.
Negative angles and angles above 360 are converted to valid 0/90/180/270
rotations (0 rotations are still ignored).
Changes:
- [Node] Add `useExifOrientation` internal variable to know if the Exif
orientation must be used instead of the provided angle. This allows to save a
negative angle in the `angle` option, because the `-1` special case is not
needed.
- [Node] Change check for planed-rotation in extract, to prepare a
rotation before extraction: check with both `angle` and `useExifOrientation`
options.
I think this check contains a bit too much logics on rotation options. Maybe
we could move this condition to a dedicated function.
- [C++] Separate `CalculateRotationAndFlip` into two generic functions:
- `CalculateExifRotationAndFlip`: Calculate the angle of rotation and
need-to-flip for the given Exif orientation.
- `CalculateAngleRotation`: Calculate the rotation for the given angle.
One or the other function is used to calculate the rotation, depending on
wether the Exif orientation tag or the provided angle must be used.
- Add unit tests for `-3690`, `-450`, `-90`, `90`, `450`, `3690` and `-3780`,
`-540`, `0`, `180`, `540`, `3780` rotations
- Add `320x240` fixture image for tests.
Unrelated changes (squashed):
- Add ncoden to the list of contributors
2017-05-22 11:08:33 +01:00