ACloudViewer  3.9.4
A Modern Library for 3D Data Processing
FilePNG.cpp File Reference
#include <Logging.h>
#include <png.h>
#include "cloudViewer/core/Dtype.h"
#include "cloudViewer/t/io/ImageIO.h"
Include dependency graph for FilePNG.cpp:

Go to the source code of this file.

Namespaces

 cloudViewer
 Generic file read and write utility for python interface.
 
 cloudViewer::t
 
 cloudViewer::t::io
 

Functions

static void cloudViewer::t::io::SetPNGImageFromImage (const geometry::Image &image, int quality, png_image &pngimage)
 
bool cloudViewer::t::io::ReadImageFromPNG (const std::string &filename, geometry::Image &image)
 
bool cloudViewer::t::io::WriteImageToPNG (const std::string &filename, const geometry::Image &image, int quality)
 
bool cloudViewer::t::io::WriteImageToPNGInMemory (std::vector< uint8_t > &buffer, const t::geometry::Image &image, int quality)