@@ -295,11 +295,11 @@ def profileToProfile(
295295 ``inputProfile`` to ``outputProfile``.
296296
297297 If the input or output profiles specified are not valid filenames, a
298- ** PyCMSError** will be raised. If ``inPlace`` is ``True`` and
299- ``outputMode != im.mode``, a ** PyCMSError** will be raised. If an error
300- occurs during application of the profiles, a ** PyCMSError** will be raised.
298+ `` PyCMSError`` will be raised. If ``inPlace`` is ``True`` and
299+ ``outputMode != im.mode``, a `` PyCMSError`` will be raised. If an error
300+ occurs during application of the profiles, a `` PyCMSError`` will be raised.
301301 If ``outputMode`` is not a mode supported by the ``outputProfile`` (or by pyCMS),
302- a ** PyCMSError** will be raised.
302+ a `` PyCMSError`` will be raised.
303303
304304 This function applies an ICC transformation to im from ``inputProfile``'s
305305 color space to ``outputProfile``'s color space using the specified rendering
@@ -381,7 +381,7 @@ def getOpenProfile(profileFilename):
381381 The PyCMSProfile object can be passed back into pyCMS for use in creating
382382 transforms and such (as in ImageCms.buildTransformFromOpenProfiles()).
383383
384- If ``profileFilename`` is not a valid filename for an ICC profile, a ** PyCMSError**
384+ If ``profileFilename`` is not a valid filename for an ICC profile, a `` PyCMSError``
385385 will be raised.
386386
387387 :param profileFilename: String, as a valid filename path to the ICC profile
@@ -410,11 +410,11 @@ def buildTransform(
410410 image.
411411
412412 If the input or output profiles specified are not valid filenames, a
413- ** PyCMSError** will be raised. If an error occurs during creation of the
414- transform, a ** PyCMSError** will be raised.
413+ `` PyCMSError`` will be raised. If an error occurs during creation of the
414+ transform, a `` PyCMSError`` will be raised.
415415
416416 If ``inMode`` or ``outMode`` are not a mode supported by the ``outputProfile``
417- (or by pyCMS), a ** PyCMSError** will be raised.
417+ (or by pyCMS), a `` PyCMSError`` will be raised.
418418
419419 This function builds and returns an ICC transform from the ``inputProfile``
420420 to the ``outputProfile`` using the ``renderingIntent`` to determine what to do
@@ -493,13 +493,13 @@ def buildProofTransform(
493493 obtained on the ``proofProfile`` device.
494494
495495 If the input, output, or proof profiles specified are not valid
496- filenames, a ** PyCMSError** will be raised.
496+ filenames, a `` PyCMSError`` will be raised.
497497
498- If an error occurs during creation of the transform, a ** PyCMSError**
498+ If an error occurs during creation of the transform, a `` PyCMSError``
499499 will be raised.
500500
501501 If ``inMode`` or ``outMode`` are not a mode supported by the ``outputProfile``
502- (or by pyCMS), a ** PyCMSError** will be raised.
502+ (or by pyCMS), a `` PyCMSError`` will be raised.
503503
504504 This function builds and returns an ICC transform from the ``inputProfile``
505505 to the ``outputProfile``, but tries to simulate the result that would be
@@ -596,16 +596,16 @@ def applyTransform(im, transform, inPlace=False):
596596 """
597597 (pyCMS) Applies a transform to a given image.
598598
599- If ``im.mode != transform.inMode``, a ** PyCMSError** is raised.
599+ If ``im.mode != transform.inMode``, a `` PyCMSError`` is raised.
600600
601601 If ``inPlace`` is ``True`` and ``transform.inMode != transform.outMode``, a
602- ** PyCMSError** is raised.
602+ `` PyCMSError`` is raised.
603603
604604 If ``im.mode``, ``transform.inMode`` or ``transform.outMode`` is not
605605 supported by pyCMSdll or the profiles you used for the transform, a
606- ** PyCMSError** is raised.
606+ `` PyCMSError`` is raised.
607607
608- If an error occurs while the transform is being applied, a ** PyCMSError**
608+ If an error occurs while the transform is being applied, a `` PyCMSError``
609609 is raised.
610610
611611 This function applies a pre-calculated transform (from
@@ -649,12 +649,12 @@ def createProfile(colorSpace, colorTemp=-1):
649649 """
650650 (pyCMS) Creates a profile.
651651
652- If colorSpace not in ``["LAB", "XYZ", "sRGB"]``, a ** PyCMSError** is raised.
652+ If colorSpace not in ``["LAB", "XYZ", "sRGB"]``, a `` PyCMSError`` is raised.
653653
654- If using LAB and ``colorTemp`` is not a positive integer, a ** PyCMSError** is
654+ If using LAB and ``colorTemp`` is not a positive integer, a `` PyCMSError`` is
655655 raised.
656656
657- If an error occurs while creating the profile, a ** PyCMSError** is raised.
657+ If an error occurs while creating the profile, a `` PyCMSError`` is raised.
658658
659659 Use this function to create common profiles on-the-fly instead of
660660 having to supply a profile on disk and knowing the path to it. It
@@ -699,8 +699,8 @@ def getProfileName(profile):
699699 (pyCMS) Gets the internal product name for the given profile.
700700
701701 If ``profile`` isn't a valid CmsProfile object or filename to a profile,
702- a ** PyCMSError** is raised If an error occurs while trying to obtain the
703- name tag, a ** PyCMSError** is raised.
702+ a `` PyCMSError`` is raised If an error occurs while trying to obtain the
703+ name tag, a `` PyCMSError`` is raised.
704704
705705 Use this function to obtain the INTERNAL name of the profile (stored
706706 in an ICC tag in the profile itself), usually the one used when the
@@ -740,9 +740,9 @@ def getProfileInfo(profile):
740740 (pyCMS) Gets the internal product information for the given profile.
741741
742742 If ``profile`` isn't a valid CmsProfile object or filename to a profile,
743- a ** PyCMSError** is raised.
743+ a `` PyCMSError`` is raised.
744744
745- If an error occurs while trying to obtain the info tag, a ** PyCMSError**
745+ If an error occurs while trying to obtain the info tag, a `` PyCMSError``
746746 is raised.
747747
748748 Use this function to obtain the information stored in the profile's
@@ -780,9 +780,9 @@ def getProfileCopyright(profile):
780780 (pyCMS) Gets the copyright for the given profile.
781781
782782 If ``profile`` isn't a valid CmsProfile object or filename to a profile, a
783- ** PyCMSError** is raised.
783+ `` PyCMSError`` is raised.
784784
785- If an error occurs while trying to obtain the copyright tag, a ** PyCMSError**
785+ If an error occurs while trying to obtain the copyright tag, a `` PyCMSError``
786786 is raised.
787787
788788 Use this function to obtain the information stored in the profile's
@@ -808,10 +808,10 @@ def getProfileManufacturer(profile):
808808 (pyCMS) Gets the manufacturer for the given profile.
809809
810810 If ``profile`` isn't a valid CmsProfile object or filename to a profile, a
811- ** PyCMSError** is raised.
811+ `` PyCMSError`` is raised.
812812
813813 If an error occurs while trying to obtain the manufacturer tag, a
814- ** PyCMSError** is raised.
814+ `` PyCMSError`` is raised.
815815
816816 Use this function to obtain the information stored in the profile's
817817 manufacturer tag.
@@ -836,9 +836,9 @@ def getProfileModel(profile):
836836 (pyCMS) Gets the model for the given profile.
837837
838838 If ``profile`` isn't a valid CmsProfile object or filename to a profile, a
839- ** PyCMSError** is raised.
839+ `` PyCMSError`` is raised.
840840
841- If an error occurs while trying to obtain the model tag, a ** PyCMSError**
841+ If an error occurs while trying to obtain the model tag, a `` PyCMSError``
842842 is raised.
843843
844844 Use this function to obtain the information stored in the profile's
@@ -865,9 +865,9 @@ def getProfileDescription(profile):
865865 (pyCMS) Gets the description for the given profile.
866866
867867 If ``profile`` isn't a valid CmsProfile object or filename to a profile, a
868- ** PyCMSError** is raised.
868+ `` PyCMSError`` is raised.
869869
870- If an error occurs while trying to obtain the description tag, a ** PyCMSError**
870+ If an error occurs while trying to obtain the description tag, a `` PyCMSError``
871871 is raised.
872872
873873 Use this function to obtain the information stored in the profile's
@@ -894,10 +894,10 @@ def getDefaultIntent(profile):
894894 (pyCMS) Gets the default intent name for the given profile.
895895
896896 If ``profile`` isn't a valid CmsProfile object or filename to a profile, a
897- ** PyCMSError** is raised.
897+ `` PyCMSError`` is raised.
898898
899899 If an error occurs while trying to obtain the default intent, a
900- ** PyCMSError** is raised.
900+ `` PyCMSError`` is raised.
901901
902902 Use this function to determine the default (and usually best optimized)
903903 rendering intent for this profile. Most profiles support multiple
@@ -940,7 +940,7 @@ def isIntentSupported(profile, intent, direction):
940940 be used for others. Some profiles can only be used for certain
941941 rendering intents, so it's best to either verify this before trying
942942 to create a transform with them (using this function), or catch the
943- potential ** PyCMSError** that will occur if they don't support the modes
943+ potential `` PyCMSError`` that will occur if they don't support the modes
944944 you select.
945945
946946 :param profile: EITHER a valid CmsProfile object, OR a string of the
0 commit comments