fix regression of multipage tiff thumbnail
the recent subifd addition had broken thumbnail of multipage tiffs, thanks @petoor see https://github.com/libvips/pyvips/issues/192
This commit is contained in:
parent
eb8ec27c86
commit
05b0359897
@ -356,9 +356,9 @@ vips_thumbnail_get_tiff_pyramid_subifd( VipsThumbnail *thumbnail )
|
||||
#ifdef DEBUG
|
||||
printf( "vips_thumbnail_get_tiff_pyramid_subifd: "
|
||||
"%d layer pyramid detected\n",
|
||||
thumbnail->n_pages );
|
||||
thumbnail->n_subifds );
|
||||
#endif /*DEBUG*/
|
||||
thumbnail->level_count = thumbnail->n_pages;
|
||||
thumbnail->level_count = thumbnail->n_subifds;
|
||||
}
|
||||
|
||||
static int
|
||||
|
Loading…
Reference in New Issue
Block a user