Anonymization process transcodes data and loses resource link

We noticed that anonymization does not work as expected if transcoding was enabled after the study to anonymize was added in the database.

Steps to reproduce:

  1. Set “IngestTranscoding” to JPEG Lossless compression (“1.2.840.10008.1.2.4.70”) in Orthanc configuration

  2. Instantiate Orthanc with a database that contains a non-compressed study

  3. Anonymize that study through Orthanc Explorer or the REST API

  4. Observe how the anonymized study has its transfer syntax changed to JPEG Lossless compression. Its link to the non-anonymized study is lost (not reported via REST API or Orthanc Explorer)

I filed a bug report accordingly: https://bugs.orthanc-server.com/show_bug.cgi?id=212

Has anyone experienced this? Is there any known workaround?

Thank you!

Hi Guillem,

Thanks for reporting the issue. I was not aware of that and therefore do not know any workaround so far.

Best regards,

Alain.