Functions
core/vil/vil_save.h File Reference
#include <vil/vil_fwd.h>
#include <vcl_compiler.h>
#include <vxl_config.h>

Go to the source code of this file.

Functions

bool vil_save (const vil_image_view_base &, char const *filename)
 Send a vil_image_view to disk, deducing format from filename.
bool vil_save (const vil_image_view_base &, char const *filename, char const *file_format)
 Send a vil_image_view to disk, given filename.
bool vil_save_image_resource (const vil_image_resource_sptr &ir, char const *filename, char const *file_format)
 Send vil_image_resource to disk.
bool vil_save_image_resource (const vil_image_resource_sptr &ir, char const *filename)
 Save vil_image_resource to file, deducing format from filename.
char const * vil_save_guess_file_format (char const *filename)
 Given a filename, guess the file format tag.

Detailed Description

Author:
Ian Scott

Definition in file vil_save.h.


Function Documentation

bool vil_save ( const vil_image_view_base ,
char const *  filename 
)

Send a vil_image_view to disk, deducing format from filename.

Definition at line 122 of file vil_save.cxx.

bool vil_save ( const vil_image_view_base ,
char const *  filename,
char const *  file_format 
)

Send a vil_image_view to disk, given filename.

Definition at line 30 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_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 vil_image_resource to file, deducing format from filename.

Definition at line 147 of file vil_save.cxx.