VTK-m  2.0
Namespaces | Functions
EncodePNG.h File Reference
#include <vtkm/Types.h>
#include <vtkm/io/vtkm_io_export.h>
#include <vector>

Go to the source code of this file.

Namespaces

 vtkm
 Groups connected points that have the same field value.
 
 vtkm::io
 VTK-m File input and output classes.
 

Functions

VTKM_IO_EXPORT vtkm::UInt32 vtkm::io::EncodePNG (std::vector< unsigned char > const &image, unsigned long width, unsigned long height, unsigned char *out_png, std::size_t out_size)
 
VTKM_IO_EXPORT vtkm::UInt32 vtkm::io::SavePNG (std::string const &filename, std::vector< unsigned char > const &image, unsigned long width, unsigned long height)