Resize and image to new size NOTE: Uses stb default scaling filters (both bicubic): STBIR_DEFAULT_FILTER_UPSAMPLE STBIR_FILTER_CATMULLROM STBIR_DEFAULT_FILTER_DOWNSAMPLE STBIR_FILTER_MITCHELL (high-quality Catmull-Rom)
None.
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
There was an error while loading. Please reload this page.