Mercurial > hg > orthanc
annotate Resources/Samples/Lua/TransferSyntaxDisable.lua @ 4077:ae7ebd5b0443
fix signature of OrthancPluginSendMultipartItem[2]()
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Mon, 22 Jun 2020 15:09:40 +0200 |
parents | fa3ff492fb3b |
children |
rev | line source |
---|---|
1164
0a55d8eb194e
Configuration/Lua to select the accepted C-Store SCP transfer syntaxes
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
1 function IsDeflatedTransferSyntaxAccepted(aet, ip) |
0a55d8eb194e
Configuration/Lua to select the accepted C-Store SCP transfer syntaxes
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
2 return false |
0a55d8eb194e
Configuration/Lua to select the accepted C-Store SCP transfer syntaxes
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
3 end |
0a55d8eb194e
Configuration/Lua to select the accepted C-Store SCP transfer syntaxes
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
4 |
0a55d8eb194e
Configuration/Lua to select the accepted C-Store SCP transfer syntaxes
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
5 function IsJpegTransferSyntaxAccepted(aet, ip) |
0a55d8eb194e
Configuration/Lua to select the accepted C-Store SCP transfer syntaxes
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
6 return false |
0a55d8eb194e
Configuration/Lua to select the accepted C-Store SCP transfer syntaxes
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
7 end |
0a55d8eb194e
Configuration/Lua to select the accepted C-Store SCP transfer syntaxes
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
8 |
0a55d8eb194e
Configuration/Lua to select the accepted C-Store SCP transfer syntaxes
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
9 function IsJpeg2000TransferSyntaxAccepted(aet, ip) |
0a55d8eb194e
Configuration/Lua to select the accepted C-Store SCP transfer syntaxes
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
10 return false |
0a55d8eb194e
Configuration/Lua to select the accepted C-Store SCP transfer syntaxes
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
11 end |
0a55d8eb194e
Configuration/Lua to select the accepted C-Store SCP transfer syntaxes
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
12 |
0a55d8eb194e
Configuration/Lua to select the accepted C-Store SCP transfer syntaxes
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
13 function IsJpegLosslessTransferSyntaxAccepted(aet, ip) |
0a55d8eb194e
Configuration/Lua to select the accepted C-Store SCP transfer syntaxes
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
14 return false |
0a55d8eb194e
Configuration/Lua to select the accepted C-Store SCP transfer syntaxes
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
15 end |
0a55d8eb194e
Configuration/Lua to select the accepted C-Store SCP transfer syntaxes
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
16 |
0a55d8eb194e
Configuration/Lua to select the accepted C-Store SCP transfer syntaxes
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
17 function IsJpipTransferSyntaxAccepted(aet, ip) |
0a55d8eb194e
Configuration/Lua to select the accepted C-Store SCP transfer syntaxes
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
18 return false |
0a55d8eb194e
Configuration/Lua to select the accepted C-Store SCP transfer syntaxes
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
19 end |
0a55d8eb194e
Configuration/Lua to select the accepted C-Store SCP transfer syntaxes
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
20 |
0a55d8eb194e
Configuration/Lua to select the accepted C-Store SCP transfer syntaxes
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
21 function IsMpeg2TransferSyntaxAccepted(aet, ip) |
0a55d8eb194e
Configuration/Lua to select the accepted C-Store SCP transfer syntaxes
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
22 return false |
0a55d8eb194e
Configuration/Lua to select the accepted C-Store SCP transfer syntaxes
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
23 end |
0a55d8eb194e
Configuration/Lua to select the accepted C-Store SCP transfer syntaxes
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
24 |
3643
fa3ff492fb3b
added TransferSyntax_Mpeg4
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1806
diff
changeset
|
25 function IsMpeg4TransferSyntaxAccepted(aet, ip) |
fa3ff492fb3b
added TransferSyntax_Mpeg4
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1806
diff
changeset
|
26 return false |
fa3ff492fb3b
added TransferSyntax_Mpeg4
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1806
diff
changeset
|
27 end |
fa3ff492fb3b
added TransferSyntax_Mpeg4
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1806
diff
changeset
|
28 |
1164
0a55d8eb194e
Configuration/Lua to select the accepted C-Store SCP transfer syntaxes
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
29 function IsRleTransferSyntaxAccepted(aet, ip) |
0a55d8eb194e
Configuration/Lua to select the accepted C-Store SCP transfer syntaxes
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
30 return false |
0a55d8eb194e
Configuration/Lua to select the accepted C-Store SCP transfer syntaxes
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
31 end |
0a55d8eb194e
Configuration/Lua to select the accepted C-Store SCP transfer syntaxes
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
32 |
1806
cd213ebcaefd
UnknownSopClassAccepted option
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1164
diff
changeset
|
33 function IsUnknownSopClassAccepted(aet, ip) |
cd213ebcaefd
UnknownSopClassAccepted option
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1164
diff
changeset
|
34 return false |
cd213ebcaefd
UnknownSopClassAccepted option
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1164
diff
changeset
|
35 end |
cd213ebcaefd
UnknownSopClassAccepted option
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1164
diff
changeset
|
36 |
1164
0a55d8eb194e
Configuration/Lua to select the accepted C-Store SCP transfer syntaxes
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
37 print('All special transfer syntaxes are now disallowed') |