diff --git a/ChangeLog b/ChangeLog index 4f89e50a..9a830340 100644 --- a/ChangeLog +++ b/ChangeLog @@ -20,6 +20,8 @@ - tiff reader allows separate planes for strip read - tiff reader allows many more formats, eg. 32-bit int, complex, etc. - added vips_image_new_matrixv() +- dzsave basename param now called filename, so you can use .dz as a + destination (basename is still there but deprecated) 3/7/13 started 7.34.2 - lower priority for Matlab load to reduce segvs from Mat_Open(), thanks diff --git a/libvips/foreign/dzsave.c b/libvips/foreign/dzsave.c index c14dc5de..f070527c 100644 --- a/libvips/foreign/dzsave.c +++ b/libvips/foreign/dzsave.c @@ -1399,9 +1399,9 @@ vips_foreign_save_dz_class_init( VipsForeignSaveDzClass *class ) save_class->format_table = bandfmt_dz; save_class->coding[VIPS_CODING_LABQ] = TRUE; - VIPS_ARG_STRING( class, "basename", 1, - _( "Base name" ), - _( "Base name to save to" ), + VIPS_ARG_STRING( class, "filename", 1, + _( "Filename" ), + _( "Filename to save to" ), VIPS_ARGUMENT_REQUIRED_INPUT, G_STRUCT_OFFSET( VipsForeignSaveDz, basename ), NULL ); @@ -1474,6 +1474,13 @@ vips_foreign_save_dz_class_init( VipsForeignSaveDzClass *class ) G_STRUCT_OFFSET( VipsForeignSaveDz, basename ), NULL ); + VIPS_ARG_STRING( class, "basename", 1, + _( "Base name" ), + _( "Base name to save to" ), + VIPS_ARGUMENT_OPTIONAL_INPUT | VIPS_ARGUMENT_DEPRECATED, + G_STRUCT_OFFSET( VipsForeignSaveDz, basename ), + NULL ); + VIPS_ARG_INT( class, "tile_width", 12, _( "Tile width" ), _( "Tile width in pixels" ),