SlideIO 2.0.0
Open-source library for reading of medical images
Loading...
Searching...
No Matches
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
8void jpeglibEncode(const cv::Mat& raster, std::vector<uint8_t>& encodedStream, int quality);
9void jpeglibDecode(const uint8_t* jpg_buffer, size_t jpg_size, cv::OutputArray output);
10