Change static buffers in image_desc_t to dynamically allocated