fix: remove PIL pixel limit for very large panoramas

1.47 billion pixel image from sol 1769 (56 MCZ images) exceeded
the 500M limit. Mars panoramas can legitimately be this large.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Franck Garnier
2026-04-12 21:35:02 -04:00
parent acd22d41dc
commit 85e9645363

View File

@@ -28,7 +28,7 @@ import time
from collections import defaultdict, OrderedDict from collections import defaultdict, OrderedDict
from PIL import Image from PIL import Image
Image.MAX_IMAGE_PIXELS = 500000000 Image.MAX_IMAGE_PIXELS = None # No limit — Mars panoramas can be very large
# ============================================================ # ============================================================
# Configuration # Configuration