File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change 3030/*
3131#define DEBUG_VERBOSE
3232#define DEBUG_MAKE
33- #define DEBUG
3433 */
34+ #define DEBUG
3535
3636#include "nip4.h"
3737
@@ -1448,8 +1448,6 @@ tilesource_set_base(Tilesource *tilesource, VipsImage *base)
14481448 tilesource -> base = base ;
14491449 g_object_ref (tilesource -> base );
14501450
1451- tilesource -> n_subifds = vips_image_get_n_subifds (base );
1452-
14531451 if (vips_image_get_typeof (base , "delay" )) {
14541452 int * delay ;
14551453 int n_delay ;
@@ -1767,6 +1765,7 @@ tilesource_new_from_file(const char *filename)
17671765 return NULL ;
17681766
17691767 tilesource -> n_subifds = vips_image_get_n_subifds (plain );
1768+ tilesource -> n_pages = vips_image_get_n_pages (plain );
17701769
17711770 /* For openslide, we can read out the level structure directly.
17721771 */
You can’t perform that action at this time.
0 commit comments