Mercurial > hg > orthanc
view OrthancServer/Resources/Samples/Lua/CallDcm2Xml.lua @ 4174:067c679626a2
Fix transcoding in C-MOVE SCP, in the case where "SynchronousCMove" is "true"
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 02 Sep 2020 17:34:21 +0200 |
parents | d25f4c0fa160 |
children |
line wrap: on
line source
function OnStoredInstance(instanceId, tags, metadata) -- Assume Latin1 encoding in dcm2xml local args = {} table.insert(args, '+Ca') table.insert(args, 'latin-1') Delete(CallSystem(instanceId, 'dcm2xml', args)) end