kernel/write.c
/*
 * Write the image to the file
 */
Write the image to the file
Write the image to the file
void image_writer(zval *value, zend_long row, zend_long columns, double width, double height, xls_resource_write_t *res)
{
    lxw_image_options options = {.x_scale = width, .y_scale = height};
    worksheet_insert_image_opt(res->worksheet, (lxw_row_t)row, (lxw_col_t)columns, ZSTR_VAL(zval_get_string(value)), &options);
}
void image_writer ( zval * value , zend_long row , zend_long columns , double width , double height , xls_resource_write_t * res ) { lxw_image_options options = { . x_scale = width , . y_scale = height } ; worksheet_insert_image_opt ( res -> worksheet , ( lxw_row_t ) row , ( lxw_col_t ) columns , ZSTR_VAL ( zval_get_string ( value ) ) , & options ) ; }
Write the image to the file
Write the image to the file