From b6ca9eeff3098f42e7e3626bbbe748e28a50dc7a Mon Sep 17 00:00:00 2001 From: Aaron Date: Tue, 21 Dec 2021 10:43:48 +0100 Subject: [PATCH] dzsave.c: Remove trailing comma from IIIFv3 folder names (#2590) Fixes #2589. Signed-off-by: Aaron --- libvips/foreign/dzsave.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/libvips/foreign/dzsave.c b/libvips/foreign/dzsave.c index 8f3f4b35..d89c0988 100644 --- a/libvips/foreign/dzsave.c +++ b/libvips/foreign/dzsave.c @@ -89,6 +89,8 @@ * - better IIIF tile naming * 15/10/21 martimpassos * - add IIIF3 layout + * 21/12/21 whalehub + * - remove trailing comma from IIIFv3 folder names */ /* @@ -1486,7 +1488,7 @@ tile_name( Layer *layer, int x, int y ) int ysize = VIPS_MIN( dz->tile_size, layer->height - y * dz->tile_size ); - vips_snprintf( dirname2, VIPS_PATH_MAX, "%d,%d,", + vips_snprintf( dirname2, VIPS_PATH_MAX, "%d,%d", xsize, ysize ); } else {