view Resources/Samples/Lua/TransferSyntaxDisable.lua @ 1501:aaf368280f5a

C-Echo testing can be triggered from Orthanc Explorer (in the query/retrieve page)
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 07 Aug 2015 17:23:28 +0200
parents 0a55d8eb194e
children cd213ebcaefd
line wrap: on
line source

function IsDeflatedTransferSyntaxAccepted(aet, ip)
   return false
end

function IsJpegTransferSyntaxAccepted(aet, ip)
   return false
end

function IsJpeg2000TransferSyntaxAccepted(aet, ip)
   return false
end

function IsJpegLosslessTransferSyntaxAccepted(aet, ip)
   return false
end

function IsJpipTransferSyntaxAccepted(aet, ip)
   return false
end

function IsMpeg2TransferSyntaxAccepted(aet, ip)
   return false
end

function IsRleTransferSyntaxAccepted(aet, ip)
   return false
end

print('All special transfer syntaxes are now disallowed')