Viskores  1.0
Namespaces | Functions
DecodePNG.h File Reference
#include <viskores/Types.h>
#include <viskores/io/viskores_io_export.h>
#include <vector>

Go to the source code of this file.

Namespaces

 viskores
 Groups connected points that have the same field value.
 
 viskores::io
 Viskores File input and output classes.
 

Functions

viskores::UInt32 viskores::io::DecodePNG (std::vector< unsigned char > &out_image, unsigned long &image_width, unsigned long &image_height, const unsigned char *in_png, std::size_t in_size)
 Decodes a PNG file buffer in memory, into a raw pixel buffer Output is RGBA 32-bit (8 bit per channel) color format no matter what color type the original PNG image had. More...