view OrthancServer/Resources/Samples/Lua/TransferSyntaxEnable.lua @ 4385:92737070b301

If meta-header is missing, best-effort to extract "TransferSyntax" in "/instances/{id}/metadata"
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 18 Dec 2020 11:48:40 +0100
parents d25f4c0fa160
children
line wrap: on
line source

function IsDeflatedTransferSyntaxAccepted(aet, ip)
   return true
end

function IsJpegTransferSyntaxAccepted(aet, ip)
   return true
end

function IsJpeg2000TransferSyntaxAccepted(aet, ip)
   return true
end

function IsJpegLosslessTransferSyntaxAccepted(aet, ip)
   return true
end

function IsJpipTransferSyntaxAccepted(aet, ip)
   return true
end

function IsMpeg2TransferSyntaxAccepted(aet, ip)
   return true
end

function IsMpeg4TransferSyntaxAccepted(aet, ip)
   return true
end

function IsRleTransferSyntaxAccepted(aet, ip)
   return true
end

function IsUnknownSopClassAccepted(aet, ip)
   return true
end

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