Lovell Fuller
a7fa7014ef
Add experimental support for JPEG-XL, requires libvips with libjxl
...
The prebuilt binaries do not include support for this format.
2022-12-13 21:55:17 +00:00
Lovell Fuller
01ffa80338
Improve extractChannel support for 16-bit output #3453
2022-11-15 15:00:32 +00:00
Lovell Fuller
5740f4545e
Expose GIF opts: interFrameMaxError, interPaletteMaxError #3401
2022-11-14 16:09:52 +00:00
Lovell Fuller
5b0fba4c01
Ensure auto-rotate always works without resize #3422
2022-11-02 13:59:34 +00:00
Lovell Fuller
eacb8337fa
Ensure manual flip, rotate, resize op order #3391
2022-10-01 11:55:29 +01:00
Lovell Fuller
28b87db760
Ensure AVIF output is always 8-bit #3358
2022-09-14 13:33:47 +01:00
Lovell Fuller
fbd4970b57
Ensure auto-rotation works with shrink-on-load #3352
...
Fixes regression in 0.31.0
2022-09-07 14:17:40 +01:00
Lovell Fuller
5cdb2b83d5
Upgrade to libvips v8.13.1
2022-09-04 12:42:27 +01:00
Lovell Fuller
f5109560d6
Standardise approach for string to enum conversion
2022-09-02 12:20:09 +01:00
Mart
c3a852eecf
Add trim option to provide a specific background colour ( #3332 )
...
Co-authored-by: Mart Jansink <mart@cinemait.nl>
2022-08-23 12:28:02 +01:00
Lovell Fuller
a618ce7a15
Ensure image is unpremultiplied before composite #3334
2022-08-21 17:51:05 +01:00
Anton Marsden
74e3f73934
Expand linear operation to allow use of per-channel arrays #3303
2022-08-20 10:27:04 +01:00
Lovell Fuller
212a6e7519
Ensure op ordering is respected where possible #3319
...
Emit warnings when previous ops might be ignored
Flip and flop now occur before rotate, if any
2022-08-18 16:41:33 +01:00
brahima
ea7cf2a2ef
Expose vips_text to create an image containing rendered text ( #3252 )
2022-07-25 11:32:10 +01:00
Lovell Fuller
b46ab510da
Add Buffer and Stream support to tile output #2238
2022-07-24 11:06:41 +01:00
Lovell Fuller
c295f06a6f
Ensure only props owned by EXIF Object are parsed #3292
2022-07-13 21:33:06 +01:00
Lovell Fuller
6288c7bced
Expose reoptimise palette option for GIF output
2022-07-12 21:12:31 +01:00
Lovell Fuller
d247c02762
Add mixed and minSize animation options for WebP output
2022-07-12 14:51:03 +01:00
Lovell Fuller
81c74f57e0
Re-introduce support for greyscale ICC profiles #3114
2022-06-29 11:41:36 +01:00
Kleis Auke Wolthuizen
afc4c5bf79
Upgrade to libvips v8.13.0-rc1 ( #3230 )
...
* Switch from decompress-zip to extract-zip
The former seems to hang when unzipping a ZIP64 file that uses
the general purpose bit flag 3 as file entry.
See: https://github.com/thejoshwolfe/yauzl#no-streaming-unzip-api
* Prefer to call via static member instead
Makes it clearer that a static method is being called.
* `flatten-orange.jpg`: save without chroma subsampling
To ensure no down-scaling of the Cr/Cb channels.
2022-06-26 22:39:29 +01:00
Blayne Chard
a333b87f5d
Prevent upsampling via libwebp ( #3267 )
2022-06-20 10:49:53 +01:00
Lovell Fuller
a75718565c
Ensure composite can tile with outside resize #3227
2022-06-08 12:39:00 +01:00
jakob0fischl
54d9dc46f5
Fix rotate-then-extract for EXIF orientation 2 ( #3218 )
2022-05-15 12:26:57 +01:00
Lovell Fuller
5d36f5f699
Improve error message for SVG render above limit #3167
2022-04-04 14:20:04 +01:00
Lovell Fuller
926572b41e
Control sensitivity to invalid images via failOn
...
Deprecates failOnError, equivalent to failOn=warning
2022-04-04 12:27:45 +01:00
Lovell Fuller
ea599ade10
Allow sharpen options to be provided as an Object
...
Also exposes x1, y2, y3 parameters #2561 #2935
2022-03-09 19:07:08 +00:00
Lovell Fuller
23033e2050
Prevent double unpremultiply with some composite blends
2022-03-04 23:17:07 +00:00
Lovell Fuller
21a960796c
Ignore greyscale ICC profiles due to lcms bug #3112
2022-02-28 11:28:08 +00:00
Lovell Fuller
c62002554b
Improve performance and accuracy of multi-image composite #2286
2022-02-16 19:04:23 +00:00
Kleis Auke Wolthuizen
115a6b10f6
Ensure affineInterpolator is correctly finalised ( #3083 )
2022-02-09 14:45:11 +00:00
Kleis Auke Wolthuizen
83db5f8a2a
Ensure withoutReduction does not interfere with contain/crop/embed ( #3081 )
2022-02-08 21:22:23 +00:00
Kleis Auke Wolthuizen
7eb5efa3a3
Update tests and comments after 7faacd9 ( #3080 )
2022-02-08 21:12:38 +00:00
Kleis Auke Wolthuizen
7faacd91b0
Avoid fastShrinkOnLoad
workaround
2022-02-08 18:20:25 +00:00
Lovell Fuller
2b01951306
Skip JPEG shrink-on-load for known rounding errors #3066
...
Co-authored-by: Kleis Auke Wolthuizen <github@kleisauke.nl>
2022-02-03 21:19:48 +00:00
Lovell Fuller
47ae1f52db
Docs: metadata returns resolutionUnit, if present
2022-01-29 15:24:44 +00:00
ompal
f7bed69ffb
Add resolutionUnit to metadata and as tiff option #3023
...
Co-authored-by: Lovell Fuller <github@lovell.info>
2022-01-29 14:31:47 +00:00
Kleis Auke Wolthuizen
68823a5edb
Take page parameter into account when all frames are read ( #3059 )
2022-01-27 21:42:08 +00:00
Lovell Fuller
d8f1298511
Ensure rotate-then-extract works with EXIF mirroring #3024
2022-01-08 18:48:11 +00:00
Chris Banks
446e4e3c3a
Add withoutReduction option to resize operation ( #3006 )
2021-12-12 19:10:56 +00:00
Lovell Fuller
9755629cfd
Ensure ops without multi-page support reject ( #3010 )
2021-12-12 09:14:26 +00:00
Kleis Auke Wolthuizen
513fb40f40
Improve multi-frame image resizing ( #2789 )
...
* Ports vips_thumbnail logic to sharp
* Deprecates the pageHeight output option for WebP/GIF
2021-12-10 20:32:04 +00:00
Lovell Fuller
e1ba2a7fd8
Standardise HEIF effort option name, deprecate speed
2021-11-24 19:54:04 +00:00
Lovell Fuller
2b1f5cbe07
Standardise WebP effort option name, deprecate reductionEffort
2021-11-24 18:54:30 +00:00
Lovell Fuller
72025051c5
Expose control over CPU effort for palette PNG #2541
2021-11-24 17:12:53 +00:00
Max Gordon
2deced0fb9
Ensure 16-bit PNG output uses correct bitdepth #2958
2021-11-23 12:19:41 +00:00
Lovell Fuller
f7f3e43490
Add support for GIF output using cgif in prebuilt binaries
2021-11-21 10:22:34 +00:00
Michael B. Klein
342de36973
Impute TIFF xres/yres from withMetadata({density})
2021-11-08 19:43:42 +00:00
Lovell Fuller
b33231d4bd
Ensure correct dimensions when contain 1px image #2951
2021-11-07 16:35:30 +00:00
Lovell Fuller
d359331426
Remove animation props from single page images #2890
2021-10-18 20:27:10 +01:00
Lovell Fuller
1dd4be670d
Add timeout function to limit processing time
2021-09-22 10:33:59 +01:00