Commit Graph

7160 Commits

Author SHA1 Message Date
John Cupitt
f27f681f1b improve pngsave compression for palette images
set pngsave default filter to none for palette images, since they usually
have low local correlation
2021-02-14 11:29:22 +00:00
John Cupitt
4f762d6609 add vips_niftiload_source() 2021-02-12 15:29:58 +00:00
John Cupitt
498e9c2829 add fitsload_source
and fix some small fits loading issues
2021-02-11 16:44:53 +00:00
John Cupitt
15f4d935aa Merge branch '8.10' 2021-02-09 16:23:46 +00:00
John Cupitt
75959ece6a note librsvg change 2021-02-09 16:23:13 +00:00
John Cupitt
d70ab8f5b7 Merge branch '8.10' of github.com:libvips/libvips into 8.10 2021-02-09 16:22:30 +00:00
John Cupitt
b30a90e3bc fix includes of glib headers in C++
see https://github.com/libvips/libvips/issues/1987
2021-02-09 16:21:56 +00:00
John Cupitt
e1f22095a0 don't put glib includes inside extern "C" blocks
see https://github.com/libvips/libvips/issues/1987
2021-02-09 16:21:25 +00:00
John Cupitt
e740efa028
Merge pull request #1986 from kleisauke/drop-travis
Migrate from Travis CI to GitHub Actions
2021-02-09 16:18:25 +00:00
John Cupitt
cfe50903df don't put glib includes inside extern "C" blocks
see https://github.com/libvips/libvips/issues/1987
2021-02-09 16:07:51 +00:00
John Cupitt
85f7cb6ded
Merge pull request #1985 from lovell/svgload-remove-deprecated-librsvg-include
svgload: remove was-deprecated, now-removed librsvg-features.h include
2021-02-09 15:47:28 +00:00
Kleis Auke Wolthuizen
b93db2f2bb Avoid line-continuation backslash 2021-02-09 15:03:05 +01:00
Lovell Fuller
a8dd8379ac svgload: remove deprecated librsvg include
librsvg >= 2.40.3 includes it for you

librsvg >= 2.51.0 removes it entirely
2021-02-08 20:22:12 +00:00
Kleis Auke Wolthuizen
e29bf43ced Update LeakSanitizer suppressions 2021-02-08 21:12:33 +01:00
Kleis Auke Wolthuizen
c49d0935ee Migrate from Travis CI to GitHub Actions 2021-02-08 21:12:27 +01:00
John Cupitt
1f4f975e7d make leak test exit with an error code
and run the libvips leak test in CI
2021-02-08 11:25:56 +00:00
John Cupitt
8b791a072e two more small refleaks
introduced recently
2021-02-07 16:09:22 +00:00
John Cupitt
0296d7c154 fix ref leak on ppm save
introduced a few days ago
2021-02-07 16:05:00 +00:00
John Cupitt
65cab8db7d tiny cleanups for png write 2021-02-07 15:23:46 +00:00
John Cupitt
a7185b0973 fix a refleak in pngsave
introduced in d8ed630d77
2021-02-07 15:22:09 +00:00
John Cupitt
4605ad6993 fix another ref leak in globalbalance 2021-02-06 19:01:26 +00:00
John Cupitt
67430e9b5c fix a ref leak in find_overlap_stats() 2021-02-06 15:54:10 +00:00
John Cupitt
679665b403 fix a memleak in vips__correl
and some more tests
2021-02-06 15:42:31 +00:00
John Cupitt
6782769d8c add some more mosaicing tests
to try to pin down the memleak
2021-02-05 17:14:48 +00:00
John Cupitt
8d95f9db2b tiny fixes 2021-02-05 16:56:44 +00:00
John Cupitt
2ce79d76a0 output double histogranms for large images
since images with more than 2*32 pixels will overflow a uint accumulator

thanks @erdmann

see https://github.com/libvips/libvips/issues/1976
2021-02-01 15:51:31 +00:00
John Cupitt
29599e00eb avoid NaN in mapim
We were not avoiding NaN in float transform images, leading to segvs in
some cases.

Thanks afontenot

see https://github.com/libvips/libvips/issues/1971
2021-01-30 15:17:25 +00:00
John Cupitt
5634377fa0 revise binding chapter in docs 2021-01-28 12:27:16 +00:00
John Cupitt
ab06bfb657
Merge pull request #1966 from TotalCaesar659/patch-1
Update URLs to HTTPS
2021-01-22 13:13:05 +00:00
TotalCaesar659
749413f506
Update URLs to HTTPS 2021-01-22 15:45:08 +03:00
John Cupitt
e8c74a316f Merge branch 'master' of github.com:libvips/libvips 2021-01-21 14:34:30 +00:00
John Cupitt
a7acdf567c source rewind reenables sniff mode
so you can rewind most sources after reading (though not pipes)
2021-01-21 14:30:46 +00:00
Kirk Martinez
1871567516
added link to contributors so everyone is listed 2021-01-18 16:18:22 +00:00
John Cupitt
179e9d1a11 add note about libheif config to README
see eg. https://github.com/libvips/libvips/issues/1964
2021-01-16 18:56:14 +00:00
John Cupitt
9f20aa37ea Merge branch 'master' of github.com:libvips/libvips 2021-01-16 15:48:10 +00:00
John Cupitt
d8ed630d77 better 8/16 bit casting for pngsave
pngsave was just using the image format to decide whether to save as 8
or 16 bit PNG. With this patch it checks Type as well.

This means that eg. a uint32 image tagged as sRGB will save as png8, but
a uint32 image tagged as RGB16 will save as png16.
2021-01-16 15:45:59 +00:00
John Cupitt
a0aa1fbdf7
Merge pull request #1961 from lovell/heif-chroma-subsampling
heifsave: add option to control chroma subsampling
2021-01-13 11:44:32 +00:00
John Cupitt
78d1a4ae57 fix rank hist rules 2021-01-13 11:20:38 +00:00
Lovell Fuller
3ad7363104 heifsave: add option to control subsample_mode
Defaults to no subsampling when Q>90 for consistency with jpegsave.

Deprecate VipsForeignJpegSubsample enum, replace with more generic
VipsForeignSubsample.
2021-01-13 10:01:34 +00:00
John Cupitt
3cd774a10c add fast path to rank filter for uchar images
around 10x faster for 20x20 windows, the same speed for 3x3
2021-01-12 20:36:13 +00:00
John Cupitt
22f3b44d1e Merge branch 'master' of github.com:libvips/libvips 2021-01-12 18:21:03 +00:00
John Cupitt
54097ef941
Merge pull request #1845 from kleisauke/testsuite-avif
Adapt test suite for AVIF support
2021-01-10 15:08:36 +00:00
John Cupitt
ed6e048443 revise GA to-do comment 2021-01-08 09:57:29 +00:00
Kleis Auke Wolthuizen
15e05675fb Travis: use Clang provided by XCode
+ include missing dependencies and build without magick.
2021-01-07 16:09:27 +01:00
Kleis Auke Wolthuizen
fdf9d0c6b0 Travis: run brew update prior to installation 2021-01-07 13:12:45 +01:00
Kleis Auke Wolthuizen
966317802e Ensure that other branches are also tested 2021-01-06 12:57:03 +01:00
Kleis Auke Wolthuizen
269b2e04d4 Test with libheif PPA on GitHub Actions
Since the one provided by Ubuntu 20.04 does not depend on aom.
2021-01-06 12:36:26 +01:00
Kleis Auke Wolthuizen
ae55fd9523 Regenerate AVIF test image with libheif v1.10.0
Saves a few bytes since the software version comment is no longer included in the hdlr box.
2021-01-06 12:14:22 +01:00
Kleis Auke Wolthuizen
030bf91815 Save AVIF test image with speed=0
Reduces the size of the image by 6 kB.
2021-01-06 12:14:21 +01:00
Kleis Auke Wolthuizen
6e72b75efa Adapt test suite for AVIF support 2021-01-06 12:14:21 +01:00