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 <vcl_compiler.h>
00013 #include <vxl_config.h>
00014
00015
00016
00017 bool vil_save(const vil_image_view_base &, char const* filename);
00018
00019
00020
00021 bool vil_save(const vil_image_view_base &, char const* filename, char const* file_format);
00022
00023
00024
00025 bool vil_save_image_resource(const vil_image_resource_sptr &ir, char const* filename,
00026 char const* file_format);
00027
00028
00029
00030 bool vil_save_image_resource(const vil_image_resource_sptr &ir, char const* filename);
00031
00032
00033
00034 char const *vil_save_guess_file_format(char const* filename);
00035
00036
00037 #if defined(VCL_WIN32) && VXL_USE_WIN_WCHAR_T
00038
00039
00040 bool vil_save(const vil_image_view_base &, wchar_t const* filename);
00041
00042
00043
00044 bool vil_save(const vil_image_view_base &, wchar_t const* filename, wchar_t const* file_format);
00045
00046
00047
00048 bool vil_save_image_resource(const vil_image_resource_sptr &ir, wchar_t const* filename,
00049 wchar_t const* file_format);
00050
00051
00052
00053 bool vil_save_image_resource(const vil_image_resource_sptr &ir, wchar_t const* filename);
00054
00055
00056
00057 wchar_t const *vil_save_guess_file_format(wchar_t const* filename);
00058 #endif //defined(VCL_WIN32) && VXL_USE_WIN_WCHAR_T
00059
00060 #endif // vil_save_h_