|
libonion
|
#include <stdio.h>#include <stddef.h>#include <stdbool.h>#include <jpeglib.h>#include <onion/types.h>Functions | |
| int | onion_jpeg_response (unsigned char *image, int image_num_color_channels, J_COLOR_SPACE image_color_space, int image_width, int image_height, int output_quality, onion_response *res) |
| Writes image data to a response object. | |
| int onion_jpeg_response | ( | unsigned char * | image, |
| int | image_num_color_channels, | ||
| J_COLOR_SPACE | image_color_space, | ||
| int | image_width, | ||
| int | image_height, | ||
| int | output_quality, | ||
| onion_response * | res | ||
| ) |
Writes image data to a response object.
References OCS_PROCESSED, onion_empty_output_buffer(), onion_error_exit(), onion_init_destination(), onion_response_t::onion_response_set_header(), onion_response_t::onion_response_write_headers(), onion_term_destination(), OR_SKIP_CONTENT, onion_error_mgr::pub, onion_jpeg_data_t::res, onion_jpeg_data_t::sent, and onion_error_mgr::setjmp_buffer.
1.8.1.2