SatDump 2.0.0-alpha-520736c72
Loading...
Searching...
No Matches
jpeg_utils.h
Go to the documentation of this file.
1#pragma once
2
7
8#include "image.h"
9#include <cstdint>
10#include <vector>
11
12namespace satdump
13{
14 namespace image
15 {
24 Image decompress_jpeg(uint8_t *data, int length, bool ignore_errors = false);
25
31 std::vector<uint8_t> save_jpeg_mem(Image &img);
32
33 // Decompress J2K Data from memory with OpenJP2
34 // Image<uint16_t> decompress_j2k_openjp2(uint8_t *data, int length);
35 } // namespace image
36} // namespace satdump
Definition image.h:17
Core Image class.