The OpenD Programming Language

GAMUT_MAX_IMAGE_BYTES

No Gamut Image can have a size that exceeds this value. Technically, the true maximum is MAX(size_t.max, GAMUT_MAX_IMAGE_BYTES). So this is worth 32gb. Cannot really exceed that size with just malloc/realloc. Not strictly needed, but such a large allocation is indicative of forged images / attacks anyway. For the decoders limitations themselves, see Issue # resolution.

nothrow @nogc @safe
enum long GAMUT_MAX_IMAGE_BYTES;

Meta