Mercurial > hg > orthanc
view Resources/Samples/Lua/TransferSyntaxEnable.lua @ 2975:e62e296a5714
use Toolbox::IsIntegeer instead of try_lexical_convert that is not available on some platform
author | am@osimis.io |
---|---|
date | Thu, 06 Dec 2018 11:16:23 +0100 |
parents | cd213ebcaefd |
children | fa3ff492fb3b |
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 IsRleTransferSyntaxAccepted(aet, ip) return true end function IsUnknownSopClassAccepted(aet, ip) return true end print('All special transfer syntaxes are now accepted')