don't need to test xoff / yoff

This commit is contained in:
John Cupitt 2019-06-29 13:18:29 +01:00
parent d3cd51a8c3
commit 20b9d77086

View File

@ -499,8 +499,6 @@ read_header( Read *read, VipsImage *out )
*/
do {
if( iter.has_alpha ||
iter.x_offset != 0 ||
iter.y_offset != 0 ||
iter.width != read->canvas_width ||
iter.height != read->canvas_height ) {
read->alpha = TRUE;