Functions
vil_save.h File Reference
#include <vil/vil_fwd.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. More...
 
bool vil_save (const vil_image_view_base &, char const *filename, char const *file_format)
 Send a vil_image_view to disk, given filename. More...
 
bool vil_save_image_resource (const vil_image_resource_sptr &ir, char const *filename, char const *file_format)
 Send vil_image_resource to disk. More...
 
bool vil_save_image_resource (const vil_image_resource_sptr &ir, char const *filename)
 Save vil_image_resource to file, deducing format from filename. More...
 
char const * vil_save_guess_file_format (char const *filename)
 Given a filename, guess the file format tag. More...
 

Detailed Description

Author
Ian Scott

Definition in file vil_save.h.

Function Documentation

◆ vil_save() [1/2]

bool vil_save ( const vil_image_view_base ,
char const *  filename 
)

Send a vil_image_view to disk, deducing format from filename.

Send a vil_image_view to disk, deducing format from filename.

Definition at line 123 of file vil_save.cxx.

◆ vil_save() [2/2]

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

Send a vil_image_view to disk, given filename.

Send a vil_image_view to disk, given filename.

Definition at line 30 of file vil_save.cxx.

◆ vil_save_guess_file_format()

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.

◆ vil_save_image_resource() [1/2]

bool vil_save_image_resource ( const vil_image_resource_sptr ir,
char const *  filename,
char const *  file_format 
)

Send vil_image_resource to disk.

Send vil_image_resource to disk.

Definition at line 129 of file vil_save.cxx.

◆ vil_save_image_resource() [2/2]

bool vil_save_image_resource ( const vil_image_resource_sptr ir,
char const *  filename 
)

Save vil_image_resource 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.