From 7a5af8b610c7bf2b0168a7d037bac1ee39c7c6d9 Mon Sep 17 00:00:00 2001 From: John Cupitt Date: Wed, 20 Nov 2013 15:27:47 +0000 Subject: [PATCH] allow larger tile_size in dzsave bump the tile_size limit up, thanks Petter Ranefall --- ChangeLog | 1 + libvips/foreign/dzsave.c | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index c61a1cce..75d983a1 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,6 @@ 20/11/13 started 7.36.5 - better cache sizing in unbuffered sequential mode +- allow larger tile_size in dzsave 15/11/13 started 7.36.4 - improve compat with im_init_world() diff --git a/libvips/foreign/dzsave.c b/libvips/foreign/dzsave.c index f070527c..d4993fd4 100644 --- a/libvips/foreign/dzsave.c +++ b/libvips/foreign/dzsave.c @@ -1433,7 +1433,7 @@ vips_foreign_save_dz_class_init( VipsForeignSaveDzClass *class ) _( "Tile size in pixels" ), VIPS_ARGUMENT_OPTIONAL_INPUT, G_STRUCT_OFFSET( VipsForeignSaveDz, tile_size ), - 1, 1024, 256 ); + 1, 8192, 256 ); VIPS_ARG_BOXED( class, "background", 12, _( "Background" ), @@ -1486,14 +1486,14 @@ vips_foreign_save_dz_class_init( VipsForeignSaveDzClass *class ) _( "Tile width in pixels" ), VIPS_ARGUMENT_OPTIONAL_INPUT | VIPS_ARGUMENT_DEPRECATED, G_STRUCT_OFFSET( VipsForeignSaveDz, tile_size ), - 1, 1024, 256 ); + 1, 8192, 256 ); VIPS_ARG_INT( class, "tile_height", 12, _( "Tile height" ), _( "Tile height in pixels" ), VIPS_ARGUMENT_OPTIONAL_INPUT | VIPS_ARGUMENT_DEPRECATED, G_STRUCT_OFFSET( VipsForeignSaveDz, tile_size ), - 1, 1024, 256 ); + 1, 8192, 256 ); }