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:
parent
10220ee08c
commit
5b321b7f28
|
@ -173,6 +173,8 @@
|
||||||
* - invalidate operation on read error
|
* - invalidate operation on read error
|
||||||
* 27/1/17
|
* 27/1/17
|
||||||
* - if rows_per_strip is large, read with scanline API instead
|
* - 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 {
|
else {
|
||||||
g_warning( _( "no resolution information for "
|
/* We used to warn about missing res data, but it happens so
|
||||||
"TIFF image \"%s\" -- defaulting to 1 pixel per mm" ),
|
* often and is so harmless, why bother.
|
||||||
TIFFFileName( tiff ) );
|
*/
|
||||||
x = 1.0;
|
x = 1.0;
|
||||||
y = 1.0;
|
y = 1.0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue