Commit Graph

7889 Commits

Author SHA1 Message Date
Lovell Fuller
4d079f1691
gifsave: use cgif namespaced API (#2422)
See https://github.com/dloebl/cgif/pull/18
2021-09-03 12:04:28 +01:00
John Cupitt
307d24eea7 Merge branch '8.11' 2021-08-30 14:02:28 +01:00
John Cupitt
b62287a792 check .v enums more carefully 2021-08-30 14:02:03 +01:00
John Cupitt
26f5da19e9 Merge branch '8.11' 2021-08-30 12:44:06 +01:00
John Cupitt
6444bfb5bb note coding fix in changelog 2021-08-30 12:43:43 +01:00
Lovell Fuller
bd8093ab71 Handle error values when guessing interpretation (#2421) 2021-08-30 12:30:55 +01:00
Lovell Fuller
4aaed60573 Ensure VIPS_CODING_ERROR is handled for vips images (#2420) 2021-08-30 12:30:43 +01:00
Lovell Fuller
01c39d0774
Ensure VIPS_CODING_ERROR is handled for vips images (#2420) 2021-08-29 20:16:31 +01:00
Lovell Fuller
30897e8e36
Handle error values when guessing interpretation (#2421) 2021-08-29 20:15:24 +01:00
John Cupitt
b9230edcbe Merge branch '8.11' 2021-08-29 19:13:12 +01:00
John Cupitt
451cfcd282 small cleanups from "unlimited" option 2021-08-29 19:08:51 +01:00
Joshua Sager
bb88490a17 Introduce unlimited flag, enabling unlimited text chunks in PNGs (#2419)
* Introduce unlimited flag, enabling unlimited text chunks

* remove extraneous optional flag causing GLib-GObject-CRITICAL **: 17:10:34.095: validate_and_install_class_property

* Address feedback from @jcupitt

* various compilation error fixes

* Interlace detection uses unlimited=false

* attempt to fix tests

* documentation changes, introduced MAX_PNG_TEXT_CHUNKS and bumped max to 20 (was 10)
2021-08-29 18:41:49 +01:00
Joshua Sager
608a7cee9b
Introduce unlimited flag, enabling unlimited text chunks in PNGs (#2419)
* Introduce unlimited flag, enabling unlimited text chunks

* remove extraneous optional flag causing GLib-GObject-CRITICAL **: 17:10:34.095: validate_and_install_class_property

* Address feedback from @jcupitt

* various compilation error fixes

* Interlace detection uses unlimited=false

* attempt to fix tests

* documentation changes, introduced MAX_PNG_TEXT_CHUNKS and bumped max to 20 (was 10)
2021-08-29 18:06:33 +01:00
John Cupitt
b0b8e6ee65 small style changes 2021-08-23 01:14:37 +01:00
Lovell Fuller
1f5d6f6bc9
Add gifsave operation, depends on cgif and libimagequant (#2381) 2021-08-22 18:11:41 +01:00
Doug Nazar
97f5417aaa
Fix tests when using a separate build dir. (#2405) 2021-08-18 11:45:02 +01:00
Kleis Auke Wolthuizen
b978ed8e8f
Adapt TestForeign.test_heifsave test (#2402)
- `heifsave` defaults to AV1 compression for .avif suffix since commit 8c44863.
- Test lossless compression mode.
2021-08-16 22:25:14 +01:00
John Cupitt
e60f11eb45 fix rank fast path
there was an off-by-one error which could cause an out of bounds read

see https://github.com/libvips/libvips/issues/2401
2021-08-16 17:46:25 +01:00
John Cupitt
9d186c9cd4 Merge branch '8.11' 2021-08-14 18:17:11 +01:00
John Cupitt
3ccf1761dd Merge branch '8.11' of github.com:libvips/libvips into 8.11 2021-08-07 18:47:41 +01:00
John Cupitt
57d8dd3ece better jp2k save behaviour
- don't enable mct if subsampling is on
- don't make such deep pyramids
2021-08-07 18:46:50 +01:00
Kleis Auke Wolthuizen
1611afee7e
Fix a few -Wstrict-aliasing=1 warnings (#2380) 2021-08-07 18:11:36 +01:00
John Cupitt
1ce301812d Merge branch '8.11' 2021-08-06 17:00:24 +01:00
John Cupitt
fd1a036cd8 limit number of PNG chunks
reduces the threat of PNG decompression bombs
2021-08-06 10:55:08 +01:00
John Cupitt
e93a23e0b7 Merge branch '8.11' 2021-08-05 12:29:11 +01:00
John Cupitt
5263686511 limit the number of text chunks in PNGs
very large numbers of text chunks can cause high memory use
2021-08-05 12:28:22 +01:00
John Cupitt
3d77c6abaa tiny layout fix 2021-08-05 11:24:29 +01:00
John Cupitt
8082063607 rename webp reduction-effort as effort
though effort still works
2021-07-30 11:07:43 +01:00
John Cupitt
ff1260df1c rename heifsave "speed" param as "effort"
For consistency with the rest of libvips. "speed" still works.
2021-07-30 10:59:12 +01:00
Lovell Fuller
aabb1555d2
pngsave: expose quantisation effort setting (#2367) 2021-07-30 10:43:42 +01:00
John Cupitt
9221fae973 remove some stray dbg code
accidentally committed previously
2021-07-29 13:19:11 +01:00
John Cupitt
b4582dbdaa set CFLAGS for magick API detect
since it will try to compile and link code fragments
2021-07-29 13:12:29 +01:00
John Cupitt
d43b3ff0f8
Merge pull request #2362 from lovell/heifload-verify-dimensions
heifload: verify page dimensions are non-zero
2021-07-26 11:03:56 +01:00
Lovell Fuller
81009d3e4c heifload: verify page dimensions are non-zero 2021-07-25 21:47:55 +01:00
John Cupitt
86466a9b9a put the sudo back
we probably need to change the user that macos-m1 runs as
2021-07-23 18:35:14 +01:00
John Cupitt
a0709f1bfc try install without sudo
since macos won't sudo as admin
2021-07-23 18:31:05 +01:00
John Cupitt
65ac1efc5f ci on m1 2021-07-23 14:04:45 +01:00
John Cupitt
b4560b6802 ci on m1 try 2021-07-23 14:01:45 +01:00
John Cupitt
635bf530b8 github actions for m1
another try
2021-07-23 14:00:28 +01:00
John Cupitt
ed697bd040 try to fix m1 build 2021-07-23 13:57:47 +01:00
John Cupitt
6ae68b9113 another try at a workflow for m1 2021-07-23 13:55:04 +01:00
John Cupitt
3b2003a31a attempt to add macos-m1 to CI
who knows, it might work
2021-07-23 12:58:34 +01:00
John Cupitt
11818e1caf Merge branch 'master' of github.com:libvips/libvips 2021-07-19 09:17:30 +01:00
John Cupitt
08d3c32868 Note jxlsave protos 2021-07-19 07:57:48 +01:00
Adil Benameur
37c82c8e2a added the jxl save functions to foreign.h 2021-07-19 07:54:03 +01:00
John Cupitt
93b78107c8
Merge pull request #2354 from adil-benameur/master
added the jxl save functions to foreign.h
2021-07-19 07:53:19 +01:00
John Cupitt
d21ee5aa2b remove double space 2021-07-19 07:51:44 +01:00
Adil Benameur
914c7cf185 added the jxl save functions to foreign.h 2021-07-19 01:28:00 +02:00
John Cupitt
2b0aae2d72
Merge pull request #2298 from libvips/update-svgload-to-latest
update svgload to work with latest librsvg
2021-07-18 18:58:32 +01:00
John Cupitt
2cebec9a80 stop text output getting too large
see https://github.com/libvips/libvips/issues/2300
2021-07-18 18:53:47 +01:00