The OpenD Programming Language

cef_browser_host_t.download_image

Download |image_url| and execute |callback| on completion with the images received from the renderer. If |is_favicon| is true (1) then cookies are not sent and not accepted during download. Images with density independent pixel (DIP) sizes larger than |max_image_size| are filtered out from the image results. Versions of the image at different scale factors may be downloaded up to the maximum scale factor supported by the system. If there are no image results <= |max_image_size| then the smallest image is resized to |max_image_size| and is the only result. A |max_image_size| of 0 means unlimited. If |bypass_cache| is true (1) then |image_url| is requested from the server even if it is present in the browser cache.

struct cef_browser_host_t
extern (System)
void function(cef_browser_host_t* self, const(cef_string_t)* image_url, int is_favicon, uint max_image_size, int bypass_cache, cef_download_image_callback_t* callback) nothrow download_image;

Meta