cef_image_t.add_jpeg

Create a JPEG image representation for |scale_factor|. |jpeg_data| is the image data of size |jpeg_data_size|. The JPEG format does not support transparency so the alpha byte will be set to 0xFF for all pixels.

struct cef_image_t
extern (System)
int function(cef_image_t* self, float scale_factor, const(void)* jpeg_data, size_t jpeg_data_size) nothrow add_jpeg;

Meta