view Resources/Samples/Lua/TransferSyntaxEnable.lua @ 3359:815b81142ff7 emscripten-logging

Enable custom logging functions to redirect to emscripten specific logging calls in the ORTHANC_ENABLE_LOGGING_STDIO mode.
author Benjamin Golinvaux <bgo@osimis.io>
date Tue, 07 May 2019 11:23:11 +0200
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')