tiny polish

This commit is contained in:
John Cupitt 2013-06-20 10:05:46 +01:00
parent b20a9f78dd
commit 890d7b1205
2 changed files with 4 additions and 6 deletions

4
TODO
View File

@ -1,8 +1,4 @@
- could we just not assign dest in the transform function? would that signal
an error to the converter?
- look at
There is an order 1 algorithm for doing medians over boxes (truly O(1)

View File

@ -813,7 +813,7 @@ strip_work( VipsThreadState *state, void *a )
printf( "strip_work\n" );
#endif /*DEBUG_VERBOSE*/
/* If we are centreing we may be outside the real pixels. Skip in
/* If we are centring we may be outside the real pixels. Skip in
* this case, and the viewer will display blank.png for us.
*/
if( dz->centre ) {
@ -839,7 +839,9 @@ strip_work( VipsThreadState *state, void *a )
state->x / dz->tile_size, state->y / dz->tile_size ) )
return( -1 );
#ifdef DEBUG
vips_object_sanity( VIPS_OBJECT( strip->image ) );
#endif /*DEBUG*/
/* Extract relative to the strip top-left corner.
*/
@ -1269,7 +1271,7 @@ vips_foreign_save_dz_build( VipsObject *object )
save->ready = z;
#ifdef DEBUG
printf( "centre: centreing within a %d x %d image\n",
printf( "centre: centring within a %d x %d image\n",
size, size );
#endif