Mercurial > hg > orthanc
view Resources/Samples/Lua/CallDcm2Xml.lua @ 2257:b8e07269da72
revert commit #69b0f4e, as quoting is only OPTIONAL, so we preserve backward compatibility
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 02 Feb 2017 15:08:33 +0100 |
parents | 921532f67770 |
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