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"
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... | |
Support for reading and writing TIFF files Requires libtiff!