|
SatDump 2.0.0-alpha-520736c72
|
Utilities specific to JPEG manipulation (from memory) More...
Go to the source code of this file.
Functions | |
| Image | satdump::image::decompress_jpeg (uint8_t *data, int length, bool ignore_errors=false) |
| Decompress 8-bit JPEG Data from memory. | |
| std::vector< uint8_t > | satdump::image::save_jpeg_mem (Image &img) |
| Compress JPEG to memory. | |
Utilities specific to JPEG manipulation (from memory)
| Image satdump::image::decompress_jpeg | ( | uint8_t * | data, |
| int | length, | ||
| bool | ignore_errors = false ) |
Decompress 8-bit JPEG Data from memory.
| data | input buffer |
| length | buffer size |
| ignore_errors | if true, ignore some errors (needed for a few satellites sending slightly malformed but still valid JPEGs) |
| std::vector< uint8_t > satdump::image::save_jpeg_mem | ( | Image & | img | ) |
Compress JPEG to memory.
| img | the image to compress (8-bit) |