Commit Graph

7664 Commits

Author SHA1 Message Date
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
John Cupitt
2041f228f5 fix thumbnail with small plus crop plus no upsize
thumbnail could fail for small images if upsize was disallowed and crop
was enabled, thanks Andrewsville

see https://github.com/libvips/libvips/issues/2157
2021-07-18 15:00:35 +01:00
John Cupitt
dd4b11063a special case for **-1
Since it's very common.

See https://github.com/libvips/libvips/discussions/2352
2021-07-16 13:06:15 +01:00
John Cupitt
b493b16e54 Merge branch '8.11' 2021-07-16 10:23:19 +01:00
John Cupitt
6946c3b9d9 start up threadpool later
might help php and ruby web frameworks

see eg. https://github.com/libvips/php-vips-ext/issues/42
2021-07-14 20:21:38 +01:00
Rosen Penev
fde53df4da use reserve instead of constructor
The constructor 0 initializes. reserve does not.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-07-11 17:31:17 -07:00
Rosen Penev
63f64c5055 cplusplus: fix for loop sizes
Array indeces are pointers and should use pointer sizes.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-07-11 17:31:11 -07:00
John Cupitt
3732751bf9
Merge pull request #2342 from neheb/res
VImage: reserve vector before push_back loop
2021-07-11 12:36:57 +01:00
Rosen Penev
3f57c0a515 VImage: reserve vector before push_back loop
Avoids unnecessary resizes.

Found with clang-tidy's performance-inefficient-vector-operation

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-07-11 00:58:56 -07:00
John Cupitt
6dd6fafa2a Merge branch '8.11' 2021-07-03 11:47:26 +01:00
John Cupitt
ee865253a6 not jp2k pyr fix in changelog 2021-07-03 11:17:33 +01:00
John Cupitt
70182e4eac don't load modules if they are built in
Only load modules if libvips has been built as a set of modules.
Otherwise can can end up loading operations twice.
2021-07-03 11:14:58 +01:00
John Cupitt
d14d5eed25 Merge branch '8.11' 2021-07-02 17:20:21 +01:00
John Cupitt
75a3b08c91 Merge branch '8.11' of github.com:libvips/libvips into 8.11 2021-07-02 17:19:55 +01:00
John Cupitt
d4c5556c83 fix jp2k pyramid generation
8.11.1 broke it, unfortunately
2021-07-02 17:19:27 +01:00
John Cupitt
951e900a32 fix libdir directory guessing on windows 2021-07-02 17:18:46 +01:00
John Cupitt
16f32d2967
Merge pull request #2335 from kleisauke/autoconf-pkgconf-macros
Use autoconf macros for pkgconf where possible
2021-07-02 15:33:18 +01:00
Kleis Auke Wolthuizen
ab5f437259 Use autoconf macros for pkgconf where possible 2021-07-02 15:57:25 +02:00
John Cupitt
ec1d1abf50 Merge branch '8.11' 2021-07-02 12:35:24 +01:00
John Cupitt
d07dee8b0c better libdir guessing
take the lib directory name (eg. "lib64" etc.) from the configure
time libdir
2021-07-02 11:50:34 +01:00
John Cupitt
5fff62576e more dbg output 2021-06-30 17:22:35 +01:00
John Cupitt
7e5312f626 more dbg code 2021-06-30 14:30:02 +01:00
John Cupitt
ad40d881dd remi's libdir patch, plus version bump to 8.11.2 2021-06-29 17:41:08 +01:00
Remi Collet
c7f7fc52e8 use /lib64 instead of /lib when needed 2021-06-29 17:35:33 +01:00
John Cupitt
757d031005 always check the return of vips_image_pipeline()
For consistency. Although I don't think it can meaningfully fail.
2021-06-29 16:12:17 +01:00
John Cupitt
ebcdf246f8 Merge branch '8.11' 2021-06-29 12:15:19 +01:00