#include "vil_save.h"#include <vcl_cctype.h>#include <vcl_cstring.h>#include <vcl_string.h>#include <vcl_iostream.h>#include <vxl_config.h>#include <vil/vil_open.h>#include <vil/vil_new.h>#include <vil/vil_copy.h>#include <vil/vil_pixel_format.h>#include <vil/vil_image_resource.h>#include <vil/vil_image_view.h>Go to the source code of this file.
Defines | |
| #define | macro(ext, fmt) else if ( ext_lower_case == "." #ext ) file_format = #fmt |
Functions | |
| bool | vil_save (const vil_image_view_base &im, char const *filename, char const *file_format) |
| Send vil_image to disk. | |
| char const * | vil_save_guess_file_format (char const *filename) |
| Given a filename, guess the file format tag. | |
| bool | vil_save (const vil_image_view_base &i, char const *filename) |
| save to file, deducing format from filename. | |
| bool | vil_save_image_resource (const vil_image_resource_sptr &ir, char const *filename, char const *file_format) |
| Send vil_image to disk. | |
| bool | vil_save_image_resource (const vil_image_resource_sptr &ir, char const *filename) |
| save to file, deducing format from filename. | |
Modifications
23 Oct.2003 - Peter Vanroose - Added support for 64-bit int pixels
Definition in file vil_save.cxx.
| #define macro | ( | ext, | |
| fmt | |||
| ) | else if ( ext_lower_case == "." #ext ) file_format = #fmt |
| bool vil_save | ( | const vil_image_view_base & | im, |
| char const * | filename, | ||
| char const * | file_format | ||
| ) |
Send vil_image to disk.
Send a vil_image_view to disk, given filename.
Definition at line 30 of file vil_save.cxx.
| bool vil_save | ( | const vil_image_view_base & | i, |
| char const * | filename | ||
| ) |
save to file, deducing format from filename.
Send a vil_image_view to disk, deducing format from filename.
Definition at line 122 of file vil_save.cxx.
| char const* vil_save_guess_file_format | ( | char const * | filename | ) |
Given a filename, guess the file format tag.
The returned pointer may point into the filename string - so keep it valid.
Definition at line 80 of file vil_save.cxx.
| bool vil_save_image_resource | ( | const vil_image_resource_sptr & | ir, |
| char const * | filename, | ||
| char const * | file_format | ||
| ) |
Send vil_image to disk.
Send vil_image_resource to disk.
Definition at line 128 of file vil_save.cxx.
| bool vil_save_image_resource | ( | const vil_image_resource_sptr & | ir, |
| char const * | filename | ||
| ) |
save to file, deducing format from filename.
Save vil_image_resource to file, deducing format from filename.
Definition at line 147 of file vil_save.cxx.
1.7.5.1