dzsave.c: Remove trailing comma from IIIFv3 folder names (#2590)

Fixes #2589.

Signed-off-by: Aaron <admin@datahoarder.dev>
This commit is contained in:
Aaron 2021-12-21 10:43:48 +01:00 committed by John Cupitt
parent 1502b4af0c
commit b6ca9eeff3

View File

@ -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 {