![]() |
ACloudViewer
3.9.4
A Modern Library for 3D Data Processing
|
#include "ImageIO.h"#include <cstddef>#include <cstdio>#include <jpeglib.h>#include <png.h>#include <FileSystem.h>#include <Logging.h>#include <array>#include <fstream>#include <unordered_map>
Go to the source code of this file.
Namespaces | |
| cloudViewer | |
| Generic file read and write utility for python interface. | |
| cloudViewer::io | |
Functions | |
| std::shared_ptr< geometry::Image > | cloudViewer::io::CreateImageFromFile (const std::string &filename) |
| std::shared_ptr< geometry::Image > | cloudViewer::io::CreateImageFromMemory (const std::string &image_format, const unsigned char *image_data_ptr, size_t image_data_size) |
| Factory function to create an image from memory. More... | |
| bool | cloudViewer::io::ReadImage (const std::string &filename, geometry::Image &image) |
| bool | cloudViewer::io::ReadImageFromMemory (const std::string &image_format, const unsigned char *image_data_ptr, size_t image_data_size, geometry::Image &image) |
| bool | cloudViewer::io::WriteImage (const std::string &filename, const geometry::Image &image, int quality=kCloudViewerImageIODefaultQuality) |
| bool | cloudViewer::io::ReadImageFromPNG (const std::string &filename, geometry::Image &image) |
| bool | cloudViewer::io::ReadPNGFromMemory (const unsigned char *image_data_ptr, size_t image_data_size, geometry::Image &image) |
| bool | cloudViewer::io::WriteImageToPNG (const std::string &filename, const geometry::Image &image, int quality=kCloudViewerImageIODefaultQuality) |
| bool | cloudViewer::io::ReadImageFromJPG (const std::string &filename, geometry::Image &image) |
| bool | cloudViewer::io::ReadJPGFromMemory (const unsigned char *image_data_ptr, size_t image_data_size, geometry::Image &image) |
| bool | cloudViewer::io::WriteImageToJPG (const std::string &filename, const geometry::Image &image, int quality=kCloudViewerImageIODefaultQuality) |