remove missing res warning for tiff

remove the warning for no res info in tiff, it happened all the time and
wasn't important
This commit is contained in:
John Cupitt 2017-05-09 12:39:15 +01:00
parent 10220ee08c
commit 5b321b7f28
1 changed files with 5 additions and 3 deletions

View File

@ -173,6 +173,8 @@
* - invalidate operation on read error
* 27/1/17
* - if rows_per_strip is large, read with scanline API instead
* 9/5/17
* - remove missing res warning
*/
/*
@ -394,9 +396,9 @@ get_resolution( TIFF *tiff, VipsImage *out )
}
}
else {
g_warning( _( "no resolution information for "
"TIFF image \"%s\" -- defaulting to 1 pixel per mm" ),
TIFFFileName( tiff ) );
/* We used to warn about missing res data, but it happens so
* often and is so harmless, why bother.
*/
x = 1.0;
y = 1.0;
}