#include <image_write.hh>
Static Public Member Functions | |
template<class T> bool | doit (const T &input, std::ostream &out, const std::string ext) |
Writers trier functor, helper for stream_wrappers.
|
Definition at line 131 of file image_write.hh.
|
Writers trier functor, helper for stream_wrappers.
First try to write by extension, then by data. Definition at line 143 of file image_write.hh.
00144 { 00145 bool result = try_writers<WriteAny,T>::by_extension(input, out, ext); 00146 if (!result) 00147 result = try_writers<WriteAny,T>::by_data(input, out, ext); 00148 return result; 00149 } |