Skip to contents

Resizes the image to the given dimensions using nearest-neighbour interpolation.

Usage

image_scale(image, new_width, new_height)

Arguments

image

An image list.

new_width

Target width in pixels.

new_height

Target height in pixels.

Value

A new image list with the new dimensions.