# HG changeset patch # User Sebastien Jodogne # Date 1623408296 -7200 # Node ID daf07750e9019ce3bd930a343413f63077b4f9a1 # Parent c62539d0025142057a1e064e55405af2dd8d32ec typo diff -r c62539d00251 -r daf07750e901 Sphinx/source/plugins/python.rst --- 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 diff -r c62539d00251 -r daf07750e901 Sphinx/source/plugins/python/dicom-find-move-scp.py --- 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)