Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
tiff_io.hpp File Reference

Support for reading and writing TIFF files Requires libtiff! More...

#include <vector>
#include <string>
#include <algorithm>
#include <boost/static_assert.hpp>
#include <tiffio.h>
#include "../../gil_all.hpp"
#include "io_error.hpp"
Include dependency graph for tiff_io.hpp:
This graph shows which files directly or indirectly include this file:

Classes

struct  boost::gil::detail::tiff_read_support_private< Channel, ColorSpace >
 
struct  boost::gil::detail::tiff_read_support_private< bits8, gray_t >
 
struct  boost::gil::detail::tiff_read_support_private< bits8, rgb_t >
 
struct  boost::gil::detail::tiff_read_support_private< bits16, gray_t >
 
struct  boost::gil::detail::tiff_read_support_private< bits16, rgb_t >
 
struct  boost::gil::detail::tiff_read_support_private< bits32f, gray_t >
 
struct  boost::gil::detail::tiff_read_support_private< bits32f, rgb_t >
 
struct  boost::gil::detail::tiff_write_support_private< Channel, ColorSpace >
 
struct  boost::gil::detail::tiff_write_support_private< bits8, gray_t >
 
struct  boost::gil::detail::tiff_write_support_private< bits8, rgb_t >
 
struct  boost::gil::detail::tiff_write_support_private< bits16, gray_t >
 
struct  boost::gil::detail::tiff_write_support_private< bits16, rgb_t >
 
struct  boost::gil::detail::tiff_write_support_private< bits32f, gray_t >
 
struct  boost::gil::detail::tiff_write_support_private< bits32f, rgb_t >
 
class  boost::gil::detail::tiff_reader
 
class  boost::gil::detail::tiff_reader_color_convert< CC >
 
class  boost::gil::detail::tiff_writer
 
struct  boost::gil::tiff_read_support< View >
 Determines whether the given view type is supported for reading. More...
 
struct  boost::gil::tiff_write_support< View >
 Determines whether the given view type is supported for writing. More...
 

Namespaces

 boost
 Duration formatting facet for input.
 
 boost::gil
 
 boost::gil::detail
 

Functions

int boost::gil::tiff_get_directory_count (const char *filename)
 Returns the number of directories in the TIFF file. More...
 
point2< std::ptrdiff_t > boost::gil::tiff_read_dimensions (const char *filename, tdir_t dirnum=0)
 Returns the width and height of the TIFF file at the specified location. More...
 
point2< std::ptrdiff_t > boost::gil::tiff_read_dimensions (const std::string &filename, tdir_t dirnum=0)
 Returns the width and height of the TIFF file at the specified location. More...
 
template<typename View >
void boost::gil::tiff_read_view (const char *filename, const View &view, tdir_t dirnum=0)
 Loads the image specified by the given tiff image file name into the given view. More...
 
template<typename View >
void boost::gil::tiff_read_view (const std::string &filename, const View &view, tdir_t dirnum=0)
 Loads the image specified by the given tiff image file name into the given view. More...
 
template<typename Image >
void boost::gil::tiff_read_image (const char *filename, Image &im, tdir_t dirnum=0)
 Allocates a new image whose dimensions are determined by the given tiff image file, and loads the pixels into it. More...
 
template<typename Image >
void boost::gil::tiff_read_image (const std::string &filename, Image &im, tdir_t dirnum=0)
 Allocates a new image whose dimensions are determined by the given tiff image file, and loads the pixels into it. More...
 
template<typename View , typename CC >
void boost::gil::tiff_read_and_convert_view (const char *filename, const View &view, CC cc, tdir_t dirnum=0)
 Loads and color-converts the image specified by the given tiff image file name into the given view. More...
 
template<typename View >
void boost::gil::tiff_read_and_convert_view (const char *filename, const View &view, tdir_t dirnum=0)
 Loads and color-converts the image specified by the given tiff image file name into the given view. More...
 
template<typename View , typename CC >
void boost::gil::tiff_read_and_convert_view (const std::string &filename, const View &view, CC cc, tdir_t dirnum=0)
 Loads and color-converts the image specified by the given tiff image file name into the given view. More...
 
template<typename View >
void boost::gil::tiff_read_and_convert_view (const std::string &filename, const View &view, tdir_t dirnum=0)
 Loads and color-converts the image specified by the given tiff image file name into the given view. More...
 
template<typename Image , typename CC >
void boost::gil::tiff_read_and_convert_image (const char *filename, Image &im, CC cc, tdir_t dirnum=0)
 Allocates a new image whose dimensions are determined by the given tiff image file, loads and color-converts the pixels into it. More...
 
template<typename Image >
void boost::gil::tiff_read_and_convert_image (const char *filename, Image &im, tdir_t dirnum=0)
 Allocates a new image whose dimensions are determined by the given tiff image file, loads and color-converts the pixels into it. More...
 
template<typename Image , typename CC >
void boost::gil::tiff_read_and_convert_image (const std::string &filename, Image &im, CC cc, tdir_t dirnum=0)
 Allocates a new image whose dimensions are determined by the given tiff image file, loads and color-converts the pixels into it. More...
 
template<typename Image >
void boost::gil::tiff_read_and_convert_image (const std::string &filename, Image &im, tdir_t dirnum=0)
 Allocates a new image whose dimensions are determined by the given tiff image file, loads and color-converts the pixels into it. More...
 
template<typename View >
void boost::gil::tiff_write_view (const char *filename, const View &view)
 Saves the view to a tiff file specified by the given tiff image file name. More...
 
template<typename View >
void boost::gil::tiff_write_view (const std::string &filename, const View &view)
 Saves the view to a tiff file specified by the given tiff image file name. More...
 

Detailed Description

Support for reading and writing TIFF files Requires libtiff!

Author
Hailin Jin and Lubomir Bourdev
Adobe Systems Incorporated
Date
2005-2007
Last updated September 24, 2006