MAX_IMAGE_SIZE
if (image_data.size > MAX_IMAGE_SIZE) {
.size = MAX_IMAGE_SIZE, /* Limit image size */