use libspng for load, libpng for save
This commit is contained in:
parent
ac96bb80b5
commit
ce63fc1145
@ -1188,7 +1188,6 @@ if test x"$with_libspng" != x"no"; then
|
|||||||
[AC_DEFINE(HAVE_SPNG,1,[define if you have libspng installed.])
|
[AC_DEFINE(HAVE_SPNG,1,[define if you have libspng installed.])
|
||||||
with_libspng=yes
|
with_libspng=yes
|
||||||
PACKAGES_USED="$PACKAGES_USED spng"
|
PACKAGES_USED="$PACKAGES_USED spng"
|
||||||
with_png=no
|
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
]
|
]
|
||||||
|
@ -50,7 +50,7 @@
|
|||||||
|
|
||||||
#include "pforeign.h"
|
#include "pforeign.h"
|
||||||
|
|
||||||
#ifdef HAVE_PNG
|
#if defined(HAVE_PNG) && !defined(HAVE_SPNG)
|
||||||
|
|
||||||
typedef struct _VipsForeignLoadPng {
|
typedef struct _VipsForeignLoadPng {
|
||||||
VipsForeignLoad parent_object;
|
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:
|
* vips_pngload:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user