better dbg messages from tiffsave
This commit is contained in:
parent
47be1fcc6f
commit
561b670ea2
@ -977,12 +977,13 @@ wtiff_delete_temps( Wtiff *wtiff )
|
|||||||
if( layer->lname ) {
|
if( layer->lname ) {
|
||||||
#ifndef DEBUG
|
#ifndef DEBUG
|
||||||
unlink( layer->lname );
|
unlink( layer->lname );
|
||||||
VIPS_FREE( layer->buf );
|
#else /*!DEBUG*/
|
||||||
#else
|
printf( "wtiff_delete_temps: "
|
||||||
printf( "wtiff_delete_temps: leaving %s\n",
|
"debug mode, not deleting %s\n",
|
||||||
layer->lname );
|
layer->lname );
|
||||||
#endif /*DEBUG*/
|
#endif /*DEBUG*/
|
||||||
|
|
||||||
|
VIPS_FREE( layer->buf );
|
||||||
layer->lname = NULL;
|
layer->lname = NULL;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -2097,6 +2098,10 @@ wtiff_gather( Wtiff *wtiff )
|
|||||||
{
|
{
|
||||||
Layer *layer;
|
Layer *layer;
|
||||||
|
|
||||||
|
#ifdef DEBUG
|
||||||
|
printf( "wtiff_gather:\n" );
|
||||||
|
#endif /*DEBUG*/
|
||||||
|
|
||||||
if( wtiff->layer &&
|
if( wtiff->layer &&
|
||||||
wtiff->layer->below )
|
wtiff->layer->below )
|
||||||
for( layer = wtiff->layer->below; layer;
|
for( layer = wtiff->layer->below; layer;
|
||||||
@ -2235,10 +2240,10 @@ wtiff_sink_disc_strip( VipsRegion *region, VipsRect *area, void *a )
|
|||||||
|
|
||||||
VipsRect pixels;
|
VipsRect pixels;
|
||||||
|
|
||||||
#ifdef DEBUG
|
#ifdef DEBUG_VERBOSE
|
||||||
printf( "wtiff_sink_disc_strip: top %d, height %d\n",
|
printf( "wtiff_sink_disc_strip: top %d, height %d\n",
|
||||||
area->top, area->height );
|
area->top, area->height );
|
||||||
#endif /*DEBUG*/
|
#endif /*DEBUG_VERBOSE*/
|
||||||
|
|
||||||
g_assert( area->width == wtiff->ready->Xsize );
|
g_assert( area->width == wtiff->ready->Xsize );
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user