bump image size limits for tiff

see https://github.com/jcupitt/libvips/issues/120#issuecomment-45324200
This commit is contained in:
John Cupitt 2014-06-06 12:14:29 +01:00
parent 3f021abe2d
commit 527f8ff2cc
1 changed files with 2 additions and 2 deletions

View File

@ -1090,9 +1090,9 @@ parse_header( ReadTiff *rtiff, VipsImage *out )
*/
if( width <= 0 ||
width > 1000000 ||
width > 10000000 ||
height <= 0 ||
height > 1000000 ) {
height > 10000000 ) {
vips_error( "tiff2vips",
"%s", _( "width/height out of range" ) );
return( -1 );