Mercurial > hg > orthanc
view Resources/Samples/Lua/CallDcm2Xml.lua @ 2928:85999ed092c5
New CMake option "ENABLE_DCMTK_LOG" to disable logging internal to DCMTK
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Fri, 09 Nov 2018 14:48:32 +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