sprint 1-alpha
Namespaces | Typedefs | Functions
sprint/image/imageio.h File Reference

Image IO factory API. More...

#include <sprint/image/image.h>
#include <sprint/io/xstream/xstream.h>

Go to the source code of this file.

Namespaces

namespace  sprint
 

Sprint is a lightweight c++ library to handle different task with crossplatform attention (trying to compile both on MSVC and Mingw on WIn32 and GCC on Linux.


Typedefs

typedef bool(* sprint::read_image_proc )(sprint::io::xstream *, sprint::iimage *)
 type of read image proc
typedef bool(* sprint::write_image_proc )(sprint::io::xstream *, const sprint::imageview &)
 type of write image proc

Functions

void sprint::register_image_io (read_image_proc *in, write_image_proc *out, const char *ext, int image_id=-1)
 register a IO image proc
bool sprint::read_image (const char *filename, sprint::iimage *image, int image_id=-1)
bool sprint::write_image (const char *filename, const sprint::imageview &image, int image_id=-1)

Detailed Description

Image IO factory API.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines