Vincent Voyer
1eedb22ef5
docs(clone): add promise example
2020-04-08 09:45:04 +01:00
Lovell Fuller
4abb4edf64
Migrate internals to N-API #1282
2020-02-15 19:38:15 +00:00
Lovell Fuller
91902740e4
Attempt to detect out-of-date homebrew-managed vips
2020-01-19 19:58:24 +00:00
Lovell Fuller
bd52e93fca
Deprecate limitInputPixels and sequentialRead, move to input options
2020-01-12 19:59:39 +00:00
Lovell Fuller
a8a0c1e935
Update doc links contained within code
...
Throw rather than exit if require fails
2020-01-10 16:29:40 +00:00
Lovell Fuller
96a994a4c0
Move functions to improve logical ordering of docs
2020-01-03 20:58:57 +00:00
Paul Neave
08a6597626
Add background option to tile output operation ( #1924 )
2019-10-25 14:30:33 +01:00
Lovell Fuller
e627f6d68d
Docs: clarify that input 'path' refers to the filesystem
2019-10-05 08:43:40 +01:00
Lovell Fuller
417cca6e0d
Use libvips built-in ICC profiles when required #1619
2019-07-29 14:16:21 +01:00
Lovell Fuller
233b015d77
Improve consistency of validation error handling
...
Utilises common path of existing invalidParameterError
2019-07-26 14:58:54 +01:00
Lovell Fuller
36e8a3da88
Expose libwebp smartSubsample and reductionEffort #1545
2019-07-14 22:52:38 +01:00
Lovell Fuller
b737d4601e
Add experimental support for HEIF images #1105
...
Requires a custom, globally-installed libvips compiled with libheif
2019-07-04 13:21:32 +01:00
Lovell Fuller
687795c801
Enhancement to and changelog entry for #1638
...
Remove bindings dependency as this isn't really... required
2019-04-02 20:39:06 +01:00
Sidhartha Chatterjee
2e0fbbb942
Add warning if sharp bindings aren't built correctly ( #1638 )
2019-04-02 17:00:55 +01:00
Jakub Michálek
b494b2e872
Add brightness, saturation and hue modulation #609 ( #1601 )
2019-03-25 07:44:07 +00:00
Lovell Fuller
9cc06c887b
Add support for pages option for multi-page input #1566
2019-03-17 16:37:27 +00:00
Lovell Fuller
7cafd4386c
Add composite op, supporting multiple images and blend modes #728
2019-03-09 22:46:23 +00:00
Fabrizio Ruggeri
5afe02be60
Allow page input option to be set for PDF ( #1595 )
2019-03-01 23:29:34 +00:00
Lovell Fuller
fa69ff773a
Input image decoding fail fast by default
2019-01-18 19:25:55 +00:00
Lovell Fuller
98797445de
Expose PNG output options requiring libimagequant #1484
2019-01-13 09:06:05 +00:00
Lovell Fuller
4c01a099ea
Add ensureAlpha op, adds alpha channel if missing #1153
2019-01-05 21:12:33 +00:00
Michael B. Klein
c695c40abc
Expose libvips pyramid/tile options for TIFF output ( #1483 )
2018-12-06 22:33:46 +01:00
Lovell Fuller
1c4f6f75f3
Add Node 11 to CI, experimental only, no prebuild
...
Hide deprecation warnings - see nodejs/nan#811
2018-11-11 17:55:35 +00:00
Daiz
a48f8fbb61
Allow separate parameters for gamma encoding and decoding ( #1439 )
2018-11-11 10:15:38 +01:00
Lovell Fuller
21fbe546b8
Switch from custom trim op to vips_find_trim #914
2018-10-02 11:24:32 +01:00
Lovell Fuller
a64844689e
Deprecate background, add op-specific prop to resize/extend/flatten #1392
2018-10-01 20:58:55 +01:00
Lovell Fuller
c3274e480b
Deprecate crop, embed, ignoreAspectRatio, max, min, withoutEnlargement.
...
These become options of the resize operation instead. #1135
2018-09-30 20:16:27 +01:00
freezy
796738da65
Add support for arbitrary rotation angle via vips_rotate ( #1385 )
2018-09-27 18:00:36 +01:00
Lovell Fuller
71755b69e4
Remove duplicate libvips version/platform check
2018-09-21 20:20:40 +01:00
Axel Eirola
7d48a5ccf4
Allow floating point density input ( #1362 )
...
Metadata output will still remain integer
2018-09-01 08:58:30 +01:00
Lovell Fuller
c14434f9e7
Add removeAlpha op, removes alpha channel if any #1248
2018-08-07 20:32:11 +01:00
thegareth
2de062a34a
Docs: update the "make a transparent image" example ( #1316 )
...
Alpha for colour is between 0-1, not 0-255.
2018-08-02 09:42:25 +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
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
Lovell Fuller
165e337e44
Changelog entry and doc refresh for #1204
2018-04-25 10:19:33 +01:00
Rik Heywood
dbac4b9a63
Add tint operation to set image chroma
2018-04-11 20:05:48 +01:00
Andrea Bianco
875937e3d8
Expose libvips' median filter operation ( #1161 )
2018-03-17 10:52:44 +00:00
Marcel
d599d1f29e
Expose linear transform feature of libvips ( #1024 )
2018-02-04 10:36:04 +00:00
Kenric D'Souza
927b77700d
Add gravity support to embed feature ( #1038 )
2017-12-12 19:29:16 +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
965a97105e
Default TIFF predictor to horizontal to match libvips' behaviour
2017-10-19 19:40:07 +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
Yves Bos
d8765f955d
Allow xres and yres to be set for TIFF output ( #828 )
2017-06-03 10:52:09 +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
Lovell Fuller
c41d755441
Ctor single arg: allow plain object, reject null/undefined
...
Thank you @kub1x
2017-05-06 19:03:14 +01:00
Lovell Fuller
2f534dc01c
Base maximum output dimensions on limitation of format
2017-05-04 23:20:37 +01:00