TuttleOFX  1
png_adds.hpp File Reference
#include <stdio.h>
#include <string>
#include "png.h"
#include <boost/static_assert.hpp>
#include <boost/gil/gil_config.hpp>
#include <boost/gil/utilities.hpp>
#include <boost/gil/extension/io/io_error.hpp>
#include <boost/gil/extension/io/png_io_private.hpp>
Include dependency graph for png_adds.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

class  boost::gil::detail::png_reader_info

Namespaces

namespace  boost
namespace  boost::gil
namespace  boost::gil::detail

Functions

size_t boost::gil::png_read_precision (const std::string &filename)
 Returns the precision of the PNG file at the specified location. Throws std::ios_base::failure if the location does not correspond to a valid PNG file.
size_t boost::gil::png_read_color_type (const std::string &filename)
 describes which color/alpha channels are present. PNG_COLOR_TYPE_GRAY (bit depths 1, 2, 4, 8, 16) PNG_COLOR_TYPE_GRAY_ALPHA (bit depths 8, 16) PNG_COLOR_TYPE_PALETTE (bit depths 1, 2, 4, 8) PNG_COLOR_TYPE_RGB (bit_depths 8, 16) PNG_COLOR_TYPE_RGB_ALPHA (bit_depths 8, 16) PNG_COLOR_MASK_PALETTE PNG_COLOR_MASK_COLOR PNG_COLOR_MASK_ALPHA