Saturday, 4 September 2021

Manipulating Google Cardboard photo in Python

I would like to manipulate a Google Cardboard photo under Windows 10 with a Python script. I am using PIL. Reading the image data and writing the manipulated image back works fine, but then I lose the XMP metadata, without which Google Cardboard (for good reason) won't accept the image.

I tried using python-xmp-toolkit for reading and writing the XMP data, but the first thing that I get is an error about Exempi missing. I found suggestions saying to compile it from source. This sounds like a rabbit hole I don't want to enter.

Does anyone know a good route for me to take here?



from Manipulating Google Cardboard photo in Python

No comments:

Post a Comment