@chris I'll rewrite the plugin and there were no export to temp folder. I'll use original cr2 or dng file

So, I need some help.
How do you think the rendering to cr2hdr:
- export all pictures to cr2hdr with args (same-levels or not) in one time, like:
cr2hdr [args...] picture1 picture2 pictureNAnd after reimport one by one picture and add metadata
Or
- export one picture to cr2hdr with args (no same-levels) for each picture, like:
cr2hdr [args...] picture1The first idea is the only possibility to use same-levels, so I'll use this for it but for pictures without this arg, I don't know if it's a good idea.
I explain: if cr2hdr crash all processed files will not be reimported into LR, because the return of the execution will fail.
So, this is my idea:
Process by batch if same-levels are selected and process individually if not selected.
What do you think?