view Resources/Samples/Lua/CallDcm2Xml.lua @ 2271:fc260803b5df

Merged in Barnerd/orthanc-1/Barnerd/fix-build-with-libressl-libressl-comp-1488028354841 (pull request #5) Fix build with LibreSSL
author Sébastien Jodogne <s.jodogne@gmail.com>
date Tue, 28 Feb 2017 08:28:37 +0000
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