If property resize_mode is set to pixels, an image can be resized by specific pixel size.
This mode can be configured with properties pixels_width and pixels_height in order to set the width and height of the resized image.
If property resize_mode is set to percentage, an image can be resized by specific percentage amount.