Hello,
I'm trying to adapt this script to Metashape, but without success (I'm not competent in python).
I just tried to substitute PhotoScan with Metashape, but when I run it, the software doesn't recognize the attribute "replace".
chunk = Metashape.app.document.chunk
for i in range (len(chunk.cameras)):
chunk.cameras[i].frames[0].path = chunk.cameras[i].path.replace(".dng", ".jpg")
Could anyone help? Thank you!