SlideIO
2.0.0
Open-source library for reading of medical images
Loading...
Searching...
No Matches
src
slideio
imagetools
jpeglib_aux.hpp
1
// This file is part of slideio project.
2
// It is subject to the license terms in the LICENSE file found in the top-level directory
3
// of this distribution and at http://slideio.com/license.html.
4
#include <opencv2/core/mat.hpp>
5
#include <vector>
6
#include <stdint.h>
7
8
void
jpeglibEncode(
const
cv::Mat& raster, std::vector<uint8_t>& encodedStream,
int
quality);
9
void
jpeglibDecode(
const
uint8_t* jpg_buffer,
size_t
jpg_size, cv::OutputArray output);
10
Generated by
1.9.5