Commit Graph

7060 Commits

Author SHA1 Message Date
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
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