Mercurial > hg > orthanc-book
changeset 707:daf07750e901
typo
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Fri, 11 Jun 2021 12:44:56 +0200 |
parents | c62539d00251 |
children | cd70d23f34bc |
files | Sphinx/source/plugins/python.rst Sphinx/source/plugins/python/dicom-find-move-scp.py |
diffstat | 2 files changed, 4 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/Sphinx/source/plugins/python.rst Fri Jun 11 12:42:39 2021 +0200 +++ b/Sphinx/source/plugins/python.rst Fri Jun 11 12:44:56 2021 +0200 @@ -515,8 +515,9 @@ Orthanc images and Python images. Here is a full working example using PIL/Pillow that shows how to -decode a DICOM instance using Orthanc, then to modify this image using -PIL, and finally to upload the modified image as a new DICOM instance: +decode one frame of a DICOM instance using Orthanc, then to modify +this image using PIL, and finally to upload the modified image as a +new DICOM instance: .. literalinclude:: python/pil-conversions.py :language: python
--- a/Sphinx/source/plugins/python/dicom-find-move-scp.py Fri Jun 11 12:42:39 2021 +0200 +++ b/Sphinx/source/plugins/python/dicom-find-move-scp.py Fri Jun 11 12:44:56 2021 +0200 @@ -20,7 +20,7 @@ orthanc.LogWarning('C-MOVE request to be handled in Python: %s' % json.dumps(request, indent = 4, sort_keys = True)) - # To indicate a failure in the processing, you can raise an exception: + # To indicate a failure in the processing, one can raise an exception: # raise Exception('Cannot handle C-MOVE') orthanc.RegisterFindCallback(OnFind)