Description

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)

Values

  • div - The scale down dividing factor.

Setter

Requests the image loader to scale down by div times. Call this before starting the actual image load.

Signature

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

C signature

int efl_image_load_scale_down_get(const Eo *obj);
void efl_image_load_scale_down_set(Eo *obj, int div);

Implemented by

  • Efl.Image.Load.load_scale_down