The OpenD Programming Language

cef_image_t.get_as_png

Returns the PNG representation that most closely matches |scale_factor|. If |with_transparency| is true (1) any alpha transparency in the image will be represented in the resulting PNG data. |pixel_width| and |pixel_height| are the output representation size in pixel coordinates. Returns a cef_binary_value_t containing the PNG image data on success or NULL on failure.

struct cef_image_t
extern (System)
cef_binary_value_t* function(cef_image_t* self, float scale_factor, int with_transparency, int* pixel_width, int* pixel_height) nothrow get_as_png;

Meta