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

Support for reading and writing JPEG files Requires libjpeg. More...

#include <stdio.h>
#include <string>
#include <boost/mpl/bool.hpp>
#include <boost/shared_ptr.hpp>
#include "../dynamic_image/dynamic_image_all.hpp"
#include "io_error.hpp"
#include "jpeg_io.hpp"
#include "jpeg_io_private.hpp"
#include "dynamic_io.hpp"
Include dependency graph for jpeg_dynamic_io.hpp:

Classes

struct  boost::gil::detail::jpeg_write_is_supported
 
struct  boost::gil::detail::jpeg_write_is_supported::apply< View >
 
class  boost::gil::detail::jpeg_writer_dynamic
 
class  boost::gil::detail::jpeg_type_format_checker
 
struct  boost::gil::detail::jpeg_read_is_supported
 
struct  boost::gil::detail::jpeg_read_is_supported::apply< View >
 
class  boost::gil::detail::jpeg_reader_dynamic
 

Namespaces

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

Functions

template<typename Images >
void boost::gil::jpeg_read_image (const char *filename, any_image< Images > &im)
 reads a JPEG image into a run-time instantiated image Opens the given JPEG file name, selects the first type in Images whose color space and channel are compatible to those of the image file and creates a new image of that type with the dimensions specified by the image file. More...
 
template<typename Images >
void boost::gil::jpeg_read_image (const std::string &filename, any_image< Images > &im)
 reads a JPEG image into a run-time instantiated image More...
 
template<typename Views >
void boost::gil::jpeg_write_view (const char *filename, const any_image_view< Views > &runtime_view)
 Saves the currently instantiated view to a jpeg file specified by the given jpeg image file name. More...
 
template<typename Views >
void boost::gil::jpeg_write_view (const std::string &filename, const any_image_view< Views > &runtime_view)
 Saves the currently instantiated view to a jpeg file specified by the given jpeg image file name. More...
 

Detailed Description

Support for reading and writing JPEG files Requires libjpeg.

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