comparison Sphinx/source/plugins/python/pil-conversions.py @ 741:97e6a0431c5e Orthanc-1.9.6

Orthanc 1.9.6
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 21 Jul 2021 12:30:42 +0200
parents e6386c012438
children 4e9dc26a5cb9
comparison
equal deleted inserted replaced
740:63f246134e5b 741:97e6a0431c5e
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.5/Database/LenaTwiceWithFragments.dcm' 6 URL = 'http://hg.orthanc-server.com/orthanc-tests/raw-file/Orthanc-1.9.6/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: