Skip to content

raylib.ImageResize

JoeStrout edited this page Nov 16, 2026 · 3 revisions

Resize an image (in place) to a new size, using high-quality bicubic filtering

Parameters

Parameter Default Value Note
image
newWidth
newHeight

Return value

None.

Notes

Example

img = raylib.LoadImage("photo.png")
// Resize to 128x128 using bicubic filtering
raylib.ImageResize img, 128, 128
raylib.ExportImage img, "photo_128.png"
raylib.UnloadImage img

Clone this wiki locally