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
John Cupitt
615d02e07e
remove travis badge
2021-01-06 10:21:51 +00:00
John Cupitt
85b6cd0cd2
add gitter badge
2021-01-06 10:15:04 +00:00
John Cupitt
1291ae0ed4
Merge branch '8.10'
2021-01-05 16:09:38 +00:00
John Cupitt
a0663ddce7
fix build with spng
2021-01-05 15:45:28 +00:00
John Cupitt
0be1370661
Merge branch '8.10'
2021-01-05 03:57:06 +00:00
John Cupitt
e1a9397c15
better error detection in spngload
...
Do a speculative spng_get_trns() in header read to force all chunks to
be parsed.
Thanks randy408
See https://github.com/randy408/libspng/issues/145#issuecomment-744495084
2021-01-05 03:54:48 +00:00
John Cupitt
1ca20dbddd
make vips format detection a little more robust
2021-01-02 19:07:00 +00:00
John Cupitt
690091ba8b
fix a refleak in the new vipsload
2021-01-02 18:59:34 +00:00
John Cupitt
1650332906
fix vipssave parent class
...
oops, was not typing parent_class correctly
2021-01-02 18:36:33 +00:00
John Cupitt
5d229e0b9e
update changelog
...
ooops, forgot
2021-01-02 17:48:26 +00:00
John Cupitt
df3b80fa40
add vipssave_target()
2021-01-02 15:49:32 +00:00
John Cupitt
a12be84098
fix make clean
...
we had an error in the docy bits of c++
2021-01-02 15:04:42 +00:00
John Cupitt
0e7f2124c7
improve file testing
...
and add some checks that the load subclasses have been defined
correctly
2021-01-01 11:12:15 +00:00
John Cupitt
6fb7ca73a4
Merge branch '8.10'
2021-01-01 10:13:12 +00:00
John Cupitt
42af1cec36
add vipsload_source
...
plus small openslideload_source fixes
2020-12-31 19:47:36 +00:00
John Cupitt
233609368b
add a test for openslideload_source
2020-12-30 18:01:54 +00:00
John Cupitt
babbb086f9
add openslideload_source
2020-12-30 14:14:08 +00:00
John Cupitt
e23f0c58f6
finish up ginputstream source
2020-12-29 16:08:45 +00:00
John Cupitt
7a33be716b
Merge pull request #1947 from kleisauke/clip-scrgb
...
Switch VIPS_FCLIP to VIPS_CLIP in vips_scRGB2{BW,sRGB}
2020-12-29 14:36:41 +00:00
John Cupitt
762d581f72
Merge pull request #1949 from kleisauke/disable-libpng-read
...
Exclude libpng load when building with libspng
2020-12-29 14:12:35 +00:00
John Cupitt
0d01324205
Merge pull request #1950 from kleisauke/remove-stdc++-check
...
Remove redundant -lstdc++ configure check
2020-12-29 13:30:59 +00:00
John Cupitt
7a1fb2a627
slight formatting improvement
2020-12-29 13:29:27 +00:00
Kleis Auke Wolthuizen
7e9c7059be
Remove redundant -lstdc++ configure check
...
This became unused after commit 346a9e7
.
2020-12-29 13:40:36 +01:00
Kleis Auke Wolthuizen
9b9843f698
Exclude libpng load when building with libspng
...
Similar to ce63fc1
, but allowing libpng to be configured with
-DPNG_NO_READ (i.e reading functionally disabled).
2020-12-29 13:34:22 +01:00
Kleis Auke Wolthuizen
7cda6e5957
Switch VIPS_FCLIP to VIPS_CLIP in vips_scRGB2{BW,sRGB}
2020-12-29 13:02:08 +01:00
John Cupitt
0982d0efbb
signal error on EOF in jpegload more reliably
...
we were only warning on EOF in the read stub, even if fail was set
thanks bozaro
see https://github.com/libvips/libvips/issues/1946
2020-12-28 22:46:33 +00:00