Commit Graph

7885 Commits

Author SHA1 Message Date
John Cupitt
ce54b4e5ad Merge branch '8.12' 2022-01-13 11:47:53 +00:00
John Cupitt
6b475c92a2 raise linpng size limit
By default libpng is limited to 1m pixels per axis. Raise this to
VIPS_MAX_COORD, ie. 10m pixels.
2022-01-13 11:44:28 +00:00
John Cupitt
56a7916e80 remove stray error messages 2022-01-09 12:20:25 +00:00
John Cupitt
c278f9019d Merge branch '8.12' 2022-01-01 00:29:26 +00:00
John Cupitt
f75b3c1ee9 adjust GIF alpha threshold
see https://github.com/libvips/libvips/discussions/2604
2021-12-31 20:20:56 +00:00
John Cupitt
eb906f182d Merge branch '8.12' 2021-12-22 10:26:57 +00:00
John Cupitt
d3f77e4433 add a sniffer for TTF
since TTF files can be caught by the almost unfixably overgenerous TGA sniffer

see https://github.com/libvips/php-vips/issues/127
2021-12-22 10:25:52 +00:00
Joel Larsson
93ff76ce53 Fix documentation typo (#2591)
A small typo fix on the documenation of `vips_percent`
2021-12-21 14:54:02 +00:00
Joel Larsson
1ed0e177bb
Fix documentation typo (#2591)
A small typo fix on the documenation of `vips_percent`
2021-12-21 14:53:14 +00:00
John Cupitt
062df97a5d Merge branch '8.12' 2021-12-21 09:48:02 +00:00
John Cupitt
6020d25be4 update changelog for iiif change 2021-12-21 09:47:23 +00:00
Aaron
b6ca9eeff3 dzsave.c: Remove trailing comma from IIIFv3 folder names (#2590)
Fixes #2589.

Signed-off-by: Aaron <admin@datahoarder.dev>
2021-12-21 09:46:04 +00:00
Aaron
d98a003008
dzsave.c: Remove trailing comma from IIIFv3 folder names (#2590)
Fixes #2589.

Signed-off-by: Aaron <admin@datahoarder.dev>
2021-12-21 09:43:48 +00:00
John Cupitt
1502b4af0c oop, dropped patch 2021-12-18 18:24:13 +00:00
John Cupitt
067407af31 Merge branch '8.12' 2021-12-18 18:23:28 +00:00
John Cupitt
03a073b68d set default GIF frame delay to 100ms
was 1000ms, see https://github.com/libvips/libvips/issues/2582
2021-12-18 18:20:18 +00:00
John Cupitt
9420911ba8 change default GIF frame delay from 1s to 0.1s
This is the delay if the GCB is missing.

See https://github.com/libvips/libvips/issues/2582
2021-12-18 18:08:30 +00:00
John Cupitt
0a824517fa Merge branch '8.12' 2021-12-16 10:58:29 +00:00
John Cupitt
65d84d1cbe fix a crash with 0 length vectors 2021-12-16 10:45:10 +00:00
John Cupitt
753c52cdc4 Merge branch '8.12' 2021-12-12 10:15:04 +00:00
John Cupitt
1fe283cc85 remove GIF frame size limit
We limited GIFs to 16k on an axis, but there are a few larger than
this. Check for 64k instead (the GIF format limit).
2021-12-12 10:12:00 +00:00
John Cupitt
561b670ea2 better dbg messages from tiffsave 2021-12-09 13:18:46 +00:00
John Cupitt
47be1fcc6f Merge branch '8.12' 2021-12-09 13:01:51 +00:00
John Cupitt
6d23a3615e add a fallback path for gif save if no cgif
Via imagemagick. See https://github.com/libvips/libvips/issues/2574
2021-12-09 13:00:58 +00:00
John Cupitt
5b089951ac Merge branch '8.12' 2021-12-06 14:04:49 +00:00
John Cupitt
cd80b5ae94 note win fd change in changelog 2021-12-06 13:58:46 +00:00
Lovell Fuller
b28ee777ab
Windows: don't set create time for invalid/stream fd (#2571) 2021-12-06 13:52:02 +00:00
Lovell Fuller
de199fe59c
Silence C++ missing sentinel warning (#2563) 2021-11-29 14:20:26 +00:00
DavidKorczynski
9cd2bd1196
ci: add CIFuzz integration (#2559)
Signed-off-by: David Korczynski <david@adalogics.com>
2021-11-26 17:03:09 +00:00
John Cupitt
ba5afffd68 Merge branch '8.12' 2021-11-26 11:12:47 +00:00
John Cupitt
e0bb8e5d58 make exif resunit optional and default to inch
Some images don't set the exif resolution unit. We were ignoring exif
resolution in this case, but that's not correct, it's supposed to
default to inch.

See https://web.archive.org/web/20190624045241if_/http://www.cipa.jp:80/std/documents/e/DC-008-Translation-2019-E.pdf for the full spec.
2021-11-26 11:10:29 +00:00
Kleis Auke Wolthuizen
5414ddfa80
Minor improvements (#2556)
- Remove unused libgif-dev dependency from CI.
- Remove no longer relevant comment from testsuite.
- Use yes/no instead of boolean values in configure.ac.
2021-11-25 10:51:34 +00:00
Kleis Auke Wolthuizen
9d6e894c2c
Make GOI dependency optional (#2555)
* Make GOI dependency optional

* Fix whitespace
2021-11-25 10:09:25 +00:00
John Cupitt
7a34fda7dc add some tests to autogen.sh
error from aytogen.sh if gtk-doc or goi are missing

see https://github.com/libvips/libvips/issues/2554
2021-11-24 18:43:19 +00:00
John Cupitt
728f2e2905 Merge branch '8.12' 2021-11-21 15:13:17 +00:00
John Cupitt
edf63dfeeb fix insert
We were not detecting the shortcut cases for insert correctly, thanks
chreru.

See https://github.com/libvips/libvips/issues/2548
2021-11-21 14:50:55 +00:00
John Cupitt
ca78abe2ed add quant note to readme 2021-11-21 11:39:52 +00:00
John Cupitt
b889181966 version bump for 8.13
and revise quant package detection
2021-11-21 11:29:28 +00:00
Remi Collet
9de825c5ab
fails if library is requested and missing (#2538)
* fails if library is requested and missing

* typo
2021-11-21 10:15:08 +00:00
Sergey Alexandrovich
d71a3c2fc1
Quantizr support (#2542) 2021-11-21 10:11:28 +00:00
Michael Drake
8c9d899acd
libnsgif: Update to the latest upstream master (#2547)
* libnsgif: Delete patch for read only source data.

The source data is now read only in upstream libnsgif and the code
has changed quite a bit so this does not apply.

* libnsgif: Update to latest upstream master.

* libnsgif: Only one insufficient data return code now.

There is only one code now, for "I need more data".

* libnsgif: Update for renamed structure member.
2021-11-21 10:06:37 +00:00
John Cupitt
f352bcd191 Revert "switch macos CI to the new cgif formula"
This reverts commit 6cdb199646.
2021-11-19 18:13:23 +00:00
John Cupitt
6cdb199646 switch macos CI to the new cgif formula 2021-11-19 16:24:19 +00:00
John Cupitt
7ed9760ab9 enable debug for CI
It turns on quite a few useful asserts.
2021-11-19 14:57:34 +00:00
John Cupitt
cb58d7d960 _source loaders should all be nocache
When we image_new_from_source, the source object has some of the loader
state: it tracks the current read position of the load library. This
means that we mustn't keep source loaders in the operation cache, since
a second call could give a different result because the source object
read position might have changed.

Also: add a rewind to get_flags_source in spngload, and jp2k needs to
tag its load region as having no thread ownership or you'll get assert
fails in the test suite with debug enabled.
2021-11-19 13:55:49 +00:00
John Cupitt
4fd2de5754 fix function list
jxl/jp2k had dropped from the list for some reason
2021-11-16 14:15:22 +00:00
John Cupitt
80f2581e0c expand the docs for vips_shutdown()
see https://github.com/libvips/libvips/discussions/2540
2021-11-16 10:56:43 +00:00
John Cupitt
7544b27e90 small typos 2021-11-16 10:49:16 +00:00
Remi Collet
407bd1391d
allow libjxl 0.5 (#2539) 2021-11-16 09:51:19 +00:00
John Cupitt
57a0bd82f9 small fixes
update func list in docs
add missing C decls for hyperbolic trig funcs
2021-11-15 11:17:36 +00:00