view Resources/Samples/Lua/TransferSyntaxDisable.lua @ 2408:26a0cc24d48d

New URI: "/instances/.../frames/.../raw.gz" to compress raw frames using gzip
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 25 Sep 2017 14:50:13 +0200
parents cd213ebcaefd
children fa3ff492fb3b
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

function IsUnknownSopClassAccepted(aet, ip)
   return false
end

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