always strip dzsave tile metadata
dzsave now uses :strip => true for all tiles. There's no point adding all the metadata to every tile, so hopefully this won't break anything. Thanks Benjamin, see: https://github.com/jcupitt/libvips/issues/349
This commit is contained in:
parent
9b03b27b9c
commit
6573af3c2a
@ -14,6 +14,7 @@
|
|||||||
- added vips_mapim() ... resample with an index image, plus test
|
- added vips_mapim() ... resample with an index image, plus test
|
||||||
- try to improve vips_resize() quality a little more
|
- try to improve vips_resize() quality a little more
|
||||||
- vips_resize() can do non-square resizes
|
- vips_resize() can do non-square resizes
|
||||||
|
- dzsave removes tile metadata by default, thanks Benjamin
|
||||||
|
|
||||||
7/5/15 started 8.1.1
|
7/5/15 started 8.1.1
|
||||||
- oop, vips-8.0 wrapper script should be vips-8.1, thanks Danilo
|
- oop, vips-8.0 wrapper script should be vips-8.1, thanks Danilo
|
||||||
|
@ -55,6 +55,8 @@
|
|||||||
* - allow zip > 4gb if we have a recent libgsf
|
* - allow zip > 4gb if we have a recent libgsf
|
||||||
* 9/9/15
|
* 9/9/15
|
||||||
* - better overlap handling, thanks robclouth
|
* - better overlap handling, thanks robclouth
|
||||||
|
* 25/11/15
|
||||||
|
* - always strip tile metadata
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@ -1141,8 +1143,12 @@ strip_work( VipsThreadState *state, void *a )
|
|||||||
x = t;
|
x = t;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Hopefully no one will want the same metadata on all the tiles.
|
||||||
|
*/
|
||||||
vips_image_set_int( x, "hide-progress", 1 );
|
vips_image_set_int( x, "hide-progress", 1 );
|
||||||
if( vips_image_write_to_buffer( x, dz->suffix, &buf, &len, NULL ) ) {
|
if( vips_image_write_to_buffer( x, dz->suffix, &buf, &len,
|
||||||
|
"strip", TRUE,
|
||||||
|
NULL ) ) {
|
||||||
g_object_unref( x );
|
g_object_unref( x );
|
||||||
return( -1 );
|
return( -1 );
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user