Efl.Image.Load (interface)

Description

Common APIs for all loadable 2D images.

Members

load_async_cancel

Cancel preloading an image object's image data in the background.
void efl_image_load_async_cancel(Eo *obj);


load_async_start

Begin preloading an image object's image data in the background.
void efl_image_load_async_start(Eo *obj);


load_dpi (get, set)

double efl_image_load_dpi_get(const Eo *obj);
void efl_image_load_dpi_set(Eo *obj, double dpi);


load_orientation (get, set)

Defines whether the orientation information in the image file should be honored.
Eina_Bool efl_image_load_orientation_get(const Eo *obj);
void efl_image_load_orientation_set(Eo *obj, Eina_Bool enable);


load_region (get, set)

Eina_Rect efl_image_load_region_get(const Eo *obj);
void efl_image_load_region_set(Eo *obj, Eina_Rect region);


load_region_support (get)

Indicates whether the Efl.Image.Load.load_region property is supported for the current file.
Eina_Bool efl_image_load_region_support_get(const Eo *obj);


load_scale_down (get, set)

The scale down factor is a divider on the original image size.
int efl_image_load_scale_down_get(const Eo *obj);
void efl_image_load_scale_down_set(Eo *obj, int div);


load_size (get, set)

The load size of an image.
Eina_Size2D efl_image_load_size_get(const Eo *obj);
void efl_image_load_size_set(Eo *obj, Eina_Size2D size);


load_skip_header (get, set)

Initial load should skip header check and leave it all to data load
Eina_Bool efl_image_load_skip_header_get(const Eo *obj);
void efl_image_load_skip_header_set(Eo *obj, Eina_Bool skip);


Events

load,cancelled

Called when the image loading was cancelled
EFL_IMAGE_LOAD_EVENT_LOAD_CANCELLED(void)


load,done

Called when he image was loaded
EFL_IMAGE_LOAD_EVENT_LOAD_DONE(void)


load,error

Called when an error happened during image loading
EFL_IMAGE_LOAD_EVENT_LOAD_ERROR(Efl_Image_Load_Error)