oops vips7 png read was broken
This commit is contained in:
parent
c6a714794f
commit
bb95b54679
@ -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 );
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user