godot 4 resize png to fit tile size

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By kaifungamdev

is there a way to resize an .png file to fit the tile map without resizing the source file? all of my tile images are 70x70px and my tile map needs to be 32x32px

:bust_in_silhouette: Reply From: jgodfrey

You can resize any Image object via its resize() method. See the docs here.