This should be updated to use an `MCDataRef` instead of an `MCStringRef` as it is raw data (as should be all the "raw data" parameters). You need then to update further the structure `export_image_t` and the functions referencing it.