Skip to content

Typos in description of resize_to_po2() function #10772

@Arnklit

Description

@Arnklit

Your Godot version:
4.4.stable

Issue description:
Typos in description of resize_to_po2() function

URL to the documentation page (if already existing):
https://docs.godotengine.org/en/stable/classes/class_image.html#class-image-method-resize-to-po2

Current:
Resizes the image to the nearest power of 2 for the width and height. If square is true then set width and height to be the same. New pixels are calculated using the interpolation mode defined via Interpolation constants.

Expected:
Resizes the image to the nearest power of 2 for the width and height. If square is true then the width and height have to be the same. New pixels are calculated using the interpolation mode defined via Interpolation constants.

OR

Resizes the image to the nearest power of 2 for the width and height. If square is true it sets width and height to be the same. New pixels are calculated using the interpolation mode defined via Interpolation constants.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions