Orthanc Modify and override

Hi all,

When I run modification or anonymization in Orthanc it creates a copy of the images…
Is there a way to override the existing images ??

Thanks, anat

Hi,

No, right now, this is not possible although it is in the roadmap. The solution right now is to delete the original after the modification.

HTH

Alain

Hello,

Have you tried setting option “KeepSource” to “false” in the body of the modify/anonymize request?
https://api.orthanc-server.com/#tag/Studies/paths/~1studies~1{id}~1modify/post

Regards,
Sébastien-

KeepSource False works!!!

Thank you!

Questions - how can I see the tags/ code running on “RemovePrivateTags”?

Here’s the code: https://hg.orthanc-server.com/orthanc/file/tip/OrthancFramework/Sources/DicomParsing/ParsedDicomFile.cpp#l500

All private tags are removed except the ones you have specified in the “Keep” argument.