You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
Not completely sure whether this is a typo, or just hard for me to read. I just don't see how it can make sense that it asks you to "set" the width and height to the same when you don't set the width and height when using this function.
Your Godot version:
4.4.stable
Issue description:
Typos in description of
resize_to_po2()
functionURL 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.
The text was updated successfully, but these errors were encountered: