#include <cctype>#include <cstring>#include <string>#include <iostream>#include "vil_save.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.
Macros | |
| #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. More... | |
| char const * | vil_save_guess_file_format (char const *filename) |
| Given a filename, guess the file format tag. More... | |
| bool | vil_save (const vil_image_view_base &i, char const *filename) |
| save to file, deducing format from filename. More... | |
| bool | vil_save_image_resource (const vil_image_resource_sptr &ir, char const *filename, char const *file_format) |
| Send vil_image to disk. More... | |
| bool | vil_save_image_resource (const vil_image_resource_sptr &ir, char const *filename) |
| save to file, deducing format from filename. More... | |
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 123 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 129 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 148 of file vil_save.cxx.
1.8.15