Skip to content

Commit b8fa6fe

Browse files
Fix typos in Image documentation
1 parent 06c71fb commit b8fa6fe

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/classes/Image.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -444,7 +444,7 @@
444444
<param index="0" name="square" type="bool" default="false" />
445445
<param index="1" name="interpolation" type="int" enum="Image.Interpolation" default="1" />
446446
<description>
447-
Resizes the image to the nearest power of 2 for the width and height. If [param square] is [code]true[/code] then set width and height to be the same. New pixels are calculated using the [param interpolation] mode defined via [enum Interpolation] constants.
447+
Resizes the image to the nearest power of 2 for the width and height. If [param square] is [code]true[/code], sets width and height to be the same. New pixels are calculated using the [param interpolation] mode defined via [enum Interpolation] constants.
448448
</description>
449449
</method>
450450
<method name="rgbe_to_srgb">
@@ -495,7 +495,7 @@
495495
<param index="0" name="grayscale" type="bool" default="false" />
496496
<description>
497497
Saves the image as an EXR file to a byte array. If [param grayscale] is [code]true[/code] and the image has only one channel, it will be saved explicitly as monochrome rather than one red channel. This function will return an empty byte array if Godot was compiled without the TinyEXR module.
498-
[b]Note:[/b] The TinyEXR module is disabled in non-editor builds, which means [method save_exr] will return an empty byte array when it is called from an exported project.
498+
[b]Note:[/b] The TinyEXR module is disabled in non-editor builds, which means [method save_exr_to_buffer] will return an empty byte array when it is called from an exported project.
499499
</description>
500500
</method>
501501
<method name="save_jpg" qualifiers="const">

0 commit comments

Comments
 (0)