The scale down factor is a divider on the original image size.

Setting the scale down factor can reduce load time and memory usage at the cost of having a scaled down image in memory.

This function sets the scale down factor of a given canvas image. Most useful for the SVG image loader but also applies to JPEG, PNG and BMP.

Powers of two (2, 4, 8, ...) are best supported (especially with JPEG).

Since 1.23


  • div - The scale down dividing factor.


@property load_scale_down @pure_virtual {
    get {}
    set {}
    values {
        div: int;

C signature

Implemented by