static std::wstring s_abs_path(const filesystem::path& file) { if (!file.is_absolute()) return (s_path / file).wstring(); else return file.wstring(); }
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 ); }
inline typename get_writer< std::wstring , FormatTag >::type make_writer( const filesystem::path& path , const FormatTag& tag ) { return make_writer( path.wstring() , tag ); }
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 ); }