TuttleOFX  1
convert.hpp
Go to the documentation of this file.
00001 #ifndef _BOOST_GIL_COLOR_CONVERT_HPP_
00002 #define _BOOST_GIL_COLOR_CONVERT_HPP_
00003 
00004 #include <boost/gil/color_convert.hpp>
00005 
00006 namespace boost { namespace gil {
00007 
00008 template <typename DstP, typename SrcP>
00009 inline
00010 DstP color_convert(const SrcP& src)
00011 {
00012         DstP dst;
00013     default_color_converter()(src,dst);
00014         return dst;
00015 }
00016 
00017 
00018 }
00019 }
00020 
00021 #endif
00022