Mercurial > hg > orthanc-book
comparison Sphinx/source/plugins/python/pil-conversions.py @ 763:4e9dc26a5cb9 Orthanc-1.9.7
Orthanc 1.9.7
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 31 Aug 2021 11:24:43 +0200 |
parents | 97e6a0431c5e |
children | 01fa632daae9 |
comparison
equal
deleted
inserted
replaced
762:b3fe7b0a09fc | 763:4e9dc26a5cb9 |
---|---|
1 import json | 1 import json |
2 import PIL.Image | 2 import PIL.Image |
3 import PIL.ImageDraw | 3 import PIL.ImageDraw |
4 import orthanc | 4 import orthanc |
5 | 5 |
6 URL = 'http://hg.orthanc-server.com/orthanc-tests/raw-file/Orthanc-1.9.6/Database/LenaTwiceWithFragments.dcm' | 6 URL = 'http://hg.orthanc-server.com/orthanc-tests/raw-file/Orthanc-1.9.7/Database/LenaTwiceWithFragments.dcm' |
7 USERNAME = '' | 7 USERNAME = '' |
8 PASSWORD = '' | 8 PASSWORD = '' |
9 | 9 |
10 def OnChange(changeType, level, resource): | 10 def OnChange(changeType, level, resource): |
11 if changeType == orthanc.ChangeType.ORTHANC_STARTED: | 11 if changeType == orthanc.ChangeType.ORTHANC_STARTED: |