Beispiel #1
0
	static std::wstring s_abs_path(const filesystem::path& file)
	{
		if (!file.is_absolute())
			return (s_path / file).wstring();
		else
			return file.wstring();
	}
Beispiel #2
0
inline
typename get_writer< std::wstring
                   , FormatTag
                   >::type
make_writer( const filesystem::path&              path
           , const image_write_info< FormatTag >& info
           )
{
    return make_writer( path.wstring()
                      , info
                      );
}
Beispiel #3
0
inline
typename get_writer< std::wstring
                   , FormatTag
                   >::type
make_writer( const filesystem::path& path
           , const FormatTag&        tag
           )
{
    return make_writer( path.wstring()
                      , tag
                      );
}
Beispiel #4
0
inline
typename get_scanline_reader< std::wstring
                            , FormatTag
                            >::type
make_scanline_reader( const filesystem::path& path
                    , FormatTag const&
                    )
{
    return make_scanline_reader( path.wstring()
                               , image_read_settings< FormatTag >()
                               );
}
inline
typename get_dynamic_image_writer< std::wstring
, FormatTag
>::type
make_dynamic_image_writer( const filesystem::path& path
                           , const FormatTag&
                         )
{
    return make_dynamic_image_writer( path.wstring()
                                      , image_write_info< FormatTag >()
                                    );
}
inline
typename get_dynamic_image_reader< std::wstring
                                 , FormatTag
                                 >::type
make_dynamic_image_reader( const filesystem::path&                 path
                         , const image_read_settings< FormatTag >& settings
                         )
{
    return make_dynamic_image_reader( path.wstring()
                                    , settings
                                    );
}