aboutsummaryrefslogtreecommitdiff
path: root/src/image.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/image.hh')
-rw-r--r--src/image.hh4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/image.hh b/src/image.hh
index 8291ffb4..530e71f2 100644
--- a/src/image.hh
+++ b/src/image.hh
@@ -17,9 +17,7 @@ extern "C" {
*/
/* Arbitrary maximum for image size (to avoid image size-crafting attacks). */
-#define IMAGE_MAX_W 6000
-#define IMAGE_MAX_H 6000
-
+#define IMAGE_MAX_AREA (6000 * 6000)
/*
* Types