Commit Graph

7086 Commits

Author SHA1 Message Date
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
John Cupitt 0c53d05598 free attr result 2020-12-28 22:03:03 +00:00
John Cupitt f368c0add9 try to get the path for the stream 2020-12-28 18:26:02 +00:00
John Cupitt aa6046d728 remove debug line 2020-12-28 15:20:14 +00:00
John Cupitt 98be88bf80 add sourceginput
This is a source which wraps a GInputStream. You can use this to eg.
efficiently load a PNG file from a GFile object.
2020-12-28 15:14:36 +00:00
John Cupitt 3e8c493522 note libspng in optional deps 2020-12-27 16:26:38 +00:00
John Cupitt 59ea801627 Merge branch '8.10' 2020-12-27 03:08:17 +00:00
John Cupitt 158e9e153a add some more ppm tests 2020-12-26 18:35:11 +00:00
John Cupitt ac1417b410 Merge branch '8.10' 2020-12-26 17:07:17 +00:00
John Cupitt b2fa1f89e8 revise ppmload, fixing a couple of bugs
- ppmload was not setting interpretation, filename, etc. for files read via
  mmap
- files not read via mmap were never byteswapped
- some cleanups

see https://github.com/libvips/libvips/issues/1916
2020-12-26 17:02:07 +00:00
John Cupitt c880816899 add a github actions badge 2020-12-24 17:56:31 +00:00
John Cupitt 5918af917e more debugging code for heifload and save
and fix an assert fail with debugging enabled on recent libheif
2020-12-24 15:50:56 +00:00
John Cupitt 9aae78f928 Merge branch '8.10' 2020-12-24 05:45:09 +00:00
John Cupitt 86fa9277e7 note PDFium build in README 2020-12-24 05:44:07 +00:00
John Cupitt f853cfe464 fix an assert fail with libheif 1.10
if you built heifload with DEBUG it could ask for bpp for channels
which do not exist, triggering an assert fail in libheif 1.10
2020-12-23 19:24:53 +00:00
John Cupitt cbe9934e24 note libheif problems 2020-12-23 16:16:36 +00:00
John Cupitt 2e767a1a9a fix up github actions again
revert to the 20.04 libheif/libde265/etc. packages, since we get the test
suite to pass with them
2020-12-23 16:01:02 +00:00
John Cupitt eed882c2a3 add libx265-dev as well
also needed by libheif.pc
2020-12-23 13:10:58 +00:00
John Cupitt f1aa5289a7 argh try again 2020-12-23 12:50:33 +00:00
John Cupitt b9e0135110 libde265-dev is needed too 2020-12-23 12:40:46 +00:00
John Cupitt 165acc9f4c fix workflow syntax error 2020-12-23 12:34:36 +00:00
John Cupitt fe56a43ef5 libheif should work in actions now
libaom-dev is required by libheif-dev, but not listed as a dependency
2020-12-23 12:29:13 +00:00
John Cupitt ccd469fb1e Oadd some debugging for heif detection 2020-12-23 12:15:11 +00:00
John Cupitt 455a6e18af add some workflow dbg 2020-12-23 12:05:00 +00:00
John Cupitt 3a5238747e try to fix libheif detection
perhaps we need to update after adding the ppas
2020-12-23 11:23:25 +00:00
John Cupitt 669ddccd46 fix syntax in action 2020-12-23 06:25:40 +00:00
John Cupitt 0357239992 perhaps we can ldconfig in a second run: 2020-12-23 06:22:44 +00:00
John Cupitt e0f966c0ca try adding the libheif ppa 2020-12-23 06:08:44 +00:00
John Cupitt 98007d5c44 remove libimagequant from actions
seems their ubuntu is missing this
2020-12-23 06:02:39 +00:00
John Cupitt 2f57bdada6 revise workflow 2020-12-23 05:59:31 +00:00
John Cupitt e3ea324094 experiment with adding github actions
switching away from travis
2020-12-23 05:47:34 +00:00
John Cupitt c3c9f281c0 Merge branch '8.10' 2020-12-22 14:31:08 +00:00
John Cupitt 94ecb8d38d version bump
and fix changelog dates
2020-12-22 14:28:55 +00:00
John Cupitt eeb0fb3ac1 Merge branch '8.10' 2020-12-22 12:56:32 +00:00
John Cupitt c3159e209d note in changelog
see https://github.com/libvips/libvips/pull/1938
2020-12-22 12:55:44 +00:00
John Cupitt 782c0b2f7e
Merge pull request #1938 from kleisauke/ensure-memory-source
Avoid seeking on bad file descriptors
2020-12-22 12:52:20 +00:00
Kleis Auke Wolthuizen e437805fc1 Move descriptor test to vips_source_seek_real
Since subclasses could override the seek method without setting the file descriptor.
2020-12-22 13:34:14 +01:00
Kleis Auke Wolthuizen 2eeeedc957 Avoid seeking on bad file descriptors 2020-12-22 11:20:03 +01:00
Kleis Auke Wolthuizen cc8f93a3ff Ensure memory source is non-null 2020-12-22 11:19:52 +01:00
John Cupitt 8fafa23442 Merge branch '8.10' 2020-12-18 17:16:24 +00:00
John Cupitt 230f5924cf duplicate "svgload" operation 2020-12-18 11:30:03 +00:00
John Cupitt 2348a02351 Merge branch '8.10' 2020-12-18 10:14:03 +00:00
John Cupitt 460efa73fa bump version for animated webp load fix 2020-12-18 10:12:26 +00:00
John Cupitt 787c4ebd88
Merge pull request #1935 from lovell/webpload-blend-pixel-prevent-div-zero
webpload: prevent divide-by-zero when blending pixels
2020-12-18 10:08:07 +00:00
Lovell Fuller 45fd740130 webpload: prevent divide-by-zero when blending pixels
Adds a test case to prevent regression - see commit 6eaf1ed
2020-12-17 20:23:06 +00:00
John Cupitt 728397d76c Merge branch '8.10' 2020-12-15 13:22:56 +00:00
John Cupitt ff3c4acbb2 allow spng.pc and libspng.ps for libspng discovery 2020-12-14 10:24:25 +00:00
John Cupitt 1b19e6f832 start 8.10.4
with a dropped patch from 8.10.3
2020-12-14 09:20:44 +00:00
John Cupitt 31a4d1419c fix spng detection
This patch was dropped from 8.10.3 release 1, annoyingly.
2020-12-14 09:17:38 +00:00