From bb95b546790e240a0e8bee9acaa17d72a097ebb6 Mon Sep 17 00:00:00 2001 From: John Cupitt Date: Thu, 19 Jul 2012 13:59:37 +0100 Subject: [PATCH] oops vips7 png read was broken --- TODO | 4 ++++ libvips/deprecated/im_png2vips.c | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/TODO b/TODO index e4e24aca..7d0b1feb 100644 --- a/TODO +++ b/TODO @@ -1,3 +1,7 @@ +- try the nip2 test suite again + + + blocking bugs ============= diff --git a/libvips/deprecated/im_png2vips.c b/libvips/deprecated/im_png2vips.c index ad38fa8b..b169c154 100644 --- a/libvips/deprecated/im_png2vips.c +++ b/libvips/deprecated/im_png2vips.c @@ -78,11 +78,11 @@ png2vips( const char *name, IMAGE *out, gboolean header_only ) } if( header_only ) { - if( vips__png_read( filename, out ) ) + if( vips__png_header( filename, out ) ) return( -1 ); } else { - if( vips__png_header( filename, out ) ) + if( vips__png_read( filename, out ) ) return( -1 ); }