gtsam_points
Loading...
Searching...
No Matches
jpeg_io.hpp
Go to the documentation of this file.
1#ifndef GLK_JPEG_IO_HPP
2#define GLK_JPEG_IO_HPP
3
4#include <vector>
5#include <Eigen/Core>
6
7namespace glk {
8
12bool load_jpeg(const std::string& filename, int& width, int& height, std::vector<unsigned char>& bytes);
13
17bool save_jpeg(const std::string& filename, int width, int height, const std::vector<unsigned char>& bytes, int quality = 100);
18
19} // namespace glk
20
21#endif
Definition async_buffer_copy.hpp:6
bool save_jpeg(const std::string &filename, int width, int height, const std::vector< unsigned char > &bytes, int quality=100)
std::enable_if_t< needs_aligned_allocator< T >::value, std::shared_ptr< T > > make_shared(Args &&... args)
Definition make_shared.hpp:20
bool load_jpeg(const std::string &filename, int &width, int &height, std::vector< unsigned char > &bytes)