diff --git a/wrlib/raster.c b/wrlib/raster.c index 3fd8a86a..01b13727 100644 --- a/wrlib/raster.c +++ b/wrlib/raster.c @@ -24,7 +24,6 @@ #include #include #include -#include #include #include "wraster.h" @@ -39,8 +38,9 @@ int RErrorCode=RERR_NONE; #define HAS_ALPHA(I) ((I)->format == RRGBAFormat) -#define MAX_WIDTH 30000 -#define MAX_HEIGHT 30000 +#define MAX_WIDTH 20000 +#define MAX_HEIGHT 20000 +/* 20000^2*4 < 2G */ RImage*