Mercurial > hg > orthanc
view Resources/Samples/Lua/TransferSyntaxDisable.lua @ 3102:9b18c8d4d459
'fix' for Orthanc issue #21: added a select file button + a warning specific for Firefox users
author | Alain Mazy <alain@mazy.be> |
---|---|
date | Thu, 10 Jan 2019 10:10:26 +0100 |
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')