use libspng for load, libpng for save

This commit is contained in:
John Cupitt 2020-06-09 14:38:04 +01:00
parent ac96bb80b5
commit ce63fc1145
2 changed files with 2 additions and 3 deletions

View File

@ -1188,7 +1188,6 @@ if test x"$with_libspng" != x"no"; then
[AC_DEFINE(HAVE_SPNG,1,[define if you have libspng installed.])
with_libspng=yes
PACKAGES_USED="$PACKAGES_USED spng"
with_png=no
],
[
]

View File

@ -50,7 +50,7 @@
#include "pforeign.h"
#ifdef HAVE_PNG
#if defined(HAVE_PNG) && !defined(HAVE_SPNG)
typedef struct _VipsForeignLoadPng {
VipsForeignLoad parent_object;
@ -387,7 +387,7 @@ vips_foreign_load_png_buffer_init( VipsForeignLoadPngBuffer *buffer )
{
}
#endif /*HAVE_PNG*/
#endif /*defined(HAVE_PNG) && !defined(HAVE_SPNG)*/
/**
* vips_pngload: