We faced strange issues.

Hi @JyLeev
Really this is a strange behaviour… Which version of RealityCapture are you using? Is this also happening after application reset?
Maybe it is not related, but can you check also these tips: Knowledge Base: Image and video codecs and import formats
As it is happening irregularly, it seems more like some issue with the mentioned file. When you run the same script more times, will it stop working always or only sometimes? After this error is a whole process stopped? Is this also happening when the image won’t be in temp folder?
I suppose you don’t need to use this command, as delete is the default option.