comparison Sphinx/source/plugins/python/pil-conversions.py @ 735:e6386c012438 Orthanc-1.9.5

Orthanc 1.9.5
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 08 Jul 2021 11:34:06 +0200
parents 8a247c645ac6
children 97e6a0431c5e
comparison
equal deleted inserted replaced
734:ec7b42de3f6f 735:e6386c012438
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.4/Database/LenaTwiceWithFragments.dcm' 6 URL = 'http://hg.orthanc-server.com/orthanc-tests/raw-file/Orthanc-1.9.5/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: