allow opj_image_t to be re-used for compression