view OrthancServer/Resources/Samples/Lua/TransferSyntaxDisable.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 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 IsMpeg4TransferSyntaxAccepted(aet, ip)
   return false
end

function IsRleTransferSyntaxAccepted(aet, ip)
   return false
end

function IsUnknownSopClassAccepted(aet, ip)
   return false
end

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