change SMALLTILE down to 128x128

512x512 was just too big for large images
This commit is contained in:
John Cupitt 2011-11-05 14:20:36 +00:00
parent b668879856
commit 8e7d7063b2
4 changed files with 19 additions and 8 deletions

View File

@ -34,6 +34,7 @@
- cache.c now drops if you have too many open files
- CLI args to change max files
- new format for handling exif tags
- switch SMALLTILE to 128, 512 was just too big
12/10/11 started 7.26.6
- NOCACHE was not being set correctly on OS X causing performance

10
TODO
View File

@ -1,3 +1,13 @@
- disc temps for load are not being deleted
or are they? argh
$ vips --vips-disc-threshold=10 --vips-progress copy wtc.png x.v
does not seem to make a temp at all, strange
- don't do vips_image_write() at the end of a pipeline, instead try:

View File

@ -126,18 +126,17 @@ void vips_buffer_print( VipsBuffer *buffer );
*/
typedef enum region_type {
VIPS_REGION_NONE,
VIPS_REGION_BUFFER, /* a pixel buffer */
VIPS_REGION_OTHER_REGION, /* memory on another region */
VIPS_REGION_OTHER_IMAGE,/* memory on another image */
VIPS_REGION_WINDOW /* mmap() buffer on fd on another image */
VIPS_REGION_BUFFER, /* A VipsBuffer */
VIPS_REGION_OTHER_REGION, /* Memory on another region */
VIPS_REGION_OTHER_IMAGE, /* Memory on another image */
VIPS_REGION_WINDOW /* A VipsWindow on fd */
} RegionType;
/* Private to iofuncs: the size of the `tiles' requested by
* vips_image_generate()
* when acting as a data sink.
* vips_image_generate() when acting as a data sink.
*/
#define VIPS__TILE_WIDTH (512)
#define VIPS__TILE_HEIGHT (512)
#define VIPS__TILE_WIDTH (128)
#define VIPS__TILE_HEIGHT (128)
/* The height of the strips for the other two request styles.
*/

View File

@ -1664,6 +1664,7 @@ vips_image_new_disc_temp( const char *format )
g_free( name );
return( NULL );
}
g_free( name );
vips_image_set_delete_on_close( image, TRUE );