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.
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.