Go to the documentation of this file.00001
00002 #ifndef vil_save_h_
00003 #define vil_save_h_
00004 #ifdef VCL_NEEDS_PRAGMA_INTERFACE
00005 #pragma interface
00006 #endif
00007
00008
00009
00010
00011 #include <vil/vil_fwd.h>
00012 #include <vxl_config.h>
00013
00014
00015
00016 bool vil_save(const vil_image_view_base &, char const* filename);
00017
00018
00019
00020 bool vil_save(const vil_image_view_base &, char const* filename, char const* file_format);
00021
00022
00023
00024 bool vil_save_image_resource(const vil_image_resource_sptr &ir, char const* filename,
00025 char const* file_format);
00026
00027
00028
00029 bool vil_save_image_resource(const vil_image_resource_sptr &ir, char const* filename);
00030
00031
00032
00033 char const *vil_save_guess_file_format(char const* filename);
00034
00035
00036 #if defined(VCL_WIN32) && VXL_USE_WIN_WCHAR_T
00037
00038
00039 bool vil_save(const vil_image_view_base &, wchar_t const* filename);
00040
00041
00042
00043 bool vil_save(const vil_image_view_base &, wchar_t const* filename, wchar_t const* file_format);
00044
00045
00046
00047 bool vil_save_image_resource(const vil_image_resource_sptr &ir, wchar_t const* filename,
00048 wchar_t const* file_format);
00049
00050
00051
00052 bool vil_save_image_resource(const vil_image_resource_sptr &ir, wchar_t const* filename);
00053
00054
00055
00056 wchar_t const *vil_save_guess_file_format(wchar_t const* filename);
00057 #endif //defined(VCL_WIN32) && VXL_USE_WIN_WCHAR_T
00058
00059 #endif // vil_save_h_