Commit Graph

7304 Commits

Author SHA1 Message Date
John Cupitt
86a6fd9d18 fix tiff deflate predictor setting
the enums were mixed up, thanks Adios

see https://github.com/libvips/libvips/issues/2128
2021-03-04 09:39:50 +00:00
John Cupitt
2a087df8fc add some printf dbg
to linnsgif, trying to find the GIF decode bug
2021-03-02 10:19:22 +00:00
John Cupitt
68332663fb update libnsgif from git master
though unfortunately libnsgif seems to have broken DISPOSE_PREVIOUS
handling again
2021-02-28 14:29:27 +00:00
John Cupitt
48d9c5d0d4 update test suite for new gif loader 2021-02-28 13:50:04 +00:00
John Cupitt
b995a6d244 move the nsgif source into the tree
and remove the old giflib loader
2021-02-28 12:20:05 +00:00
John Cupitt
799f720c13 Merge branch 'master' into add-libnsgif 2021-02-27 23:57:14 +00:00
John Cupitt
0407c365d1 better again 2021-02-27 20:47:29 +00:00
John Cupitt
e1fc576252 back to srgb/b-w processing space
for compat in thumbnail behaviour
2021-02-27 16:34:50 +00:00
John Cupitt
303513e52d small comment polish 2021-02-27 16:00:33 +00:00
John Cupitt
0b74acf7ba add a test for unpremultiply
we actually test vipsthumbnail --linear on an RGBA image, which should
catch everything, hopefully
2021-02-27 15:48:02 +00:00
John Cupitt
d3ccadf212 revise unpremultiply, again
We were not detecting division by zero carefully enough, nor clipping
the alpha range sufficiently in unpremultiply.

see https://github.com/libvips/libvips/issues/1941

also see https://github.com/libvips/libvips/pull/1675 for another
difficult test case
2021-02-27 15:16:25 +00:00
John Cupitt
dd57463c9a
Merge pull request #2119 from lovell/compress-profiles
Compress fallback colour profiles with zlib (zopfli, via pigz)
2021-02-26 23:29:30 +00:00
Lovell Fuller
40c4b93ee5 Compress fallback profiles with zlib
Reduces binary size by 580KB, ~17% at -O2
2021-02-26 19:18:49 +00:00
John Cupitt
3361b44c97
Merge pull request #2116 from lovell/glib-min-2.40
Set minimum glib-2.0 dependency version of 2.40 (March 2014)
2021-02-25 11:41:28 +00:00
Lovell Fuller
117dbd888a Set minimum glib dependency version of 2.40 (March 2014) 2021-02-24 21:59:21 +00:00
John Cupitt
3c60e9de60 start tinkering 2021-02-24 14:48:50 +00:00
John Cupitt
e5e2e8d1eb Merge branch '8.10' 2021-02-22 10:06:43 +00:00
John Cupitt
ec67002493 update changelog 2021-02-22 10:06:14 +00:00
John Cupitt
44688e2702 fix int overflow in vips_region_copy
this could cause crashes with very wide images, see:

https://github.com/libvips/libvips/issues/1989
2021-02-22 10:03:10 +00:00
John Cupitt
fee6a8a52b fix int overflow in vips_region_copy
this could cause crashes with very wide images, see:

https://github.com/libvips/libvips/issues/1989
2021-02-22 10:02:03 +00:00
John Cupitt
eacef0799a mapim nan-avoidance was not quite right
fix the nan-avoidance code in mapim
2021-02-22 09:37:35 +00:00
John Cupitt
8dc2db9789 add gif background colour as metadata 2021-02-20 04:52:02 +00:00
John Cupitt
d6201fc32d note PNG background colour in metadata
see https://github.com/libvips/libvips/issues/2111
2021-02-19 16:51:46 +00:00
John Cupitt
acf010c2b7 update issue template
to steer people towards discussions
2021-02-17 13:39:45 +00:00
John Cupitt
6ab2af85e0 Update issue templates
Bugs only, now we're using "discussions"
2021-02-17 11:35:06 +00:00
John Cupitt
9c172674bf Merge branch 'master' of github.com:libvips/libvips 2021-02-14 14:00:28 +00:00
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