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
|
#ifdef DEBUG
|
||||||
printf( "vips_thumbnail_get_tiff_pyramid_subifd: "
|
printf( "vips_thumbnail_get_tiff_pyramid_subifd: "
|
||||||
"%d layer pyramid detected\n",
|
"%d layer pyramid detected\n",
|
||||||
thumbnail->n_pages );
|
thumbnail->n_subifds );
|
||||||
#endif /*DEBUG*/
|
#endif /*DEBUG*/
|
||||||
thumbnail->level_count = thumbnail->n_pages;
|
thumbnail->level_count = thumbnail->n_subifds;
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int
|
||||||
|
|
Loading…
Reference in New Issue