Cinder  0.9.1
Classes | Namespaces | Typedefs | Functions
ImageIo.h File Reference
#include "cinder/Cinder.h"
#include "cinder/DataSource.h"
#include "cinder/DataTarget.h"
#include "cinder/Surface.h"
#include "cinder/Exception.h"
#include <vector>
#include <map>
#include <utility>

Classes

class  cinder::ImageIo
 
class  cinder::ImageSource
 
class  cinder::ImageSource::Options
 
class  cinder::ImageTarget
 
class  cinder::ImageTarget::Options
 
class  cinder::ImageIoException
 
class  cinder::ImageIoExceptionFailedLoad
 
class  cinder::ImageIoExceptionFailedWrite
 
class  cinder::ImageIoExceptionUnknownExtension
 
class  cinder::ImageIoExceptionIllegalColorModel
 
class  cinder::ImageIoExceptionIllegalDataType
 
class  cinder::ImageIoExceptionIllegalChannelOrder
 
struct  cinder::ImageIoRegistrar
 

Namespaces

 cinder
 

Typedefs

typedef std::shared_ptr< class ImageLoader > cinder::ImageLoaderRef
 
typedef std::shared_ptr< class ImageTarget > cinder::ImageTargetRef
 
typedef std::shared_ptr< class ImageTargetFile > cinder::ImageTargetFileRef
 

Functions

ImageSourceRef cinder::loadImage (const fs::path &path, ImageSource::Options options=ImageSource::Options(), std::string extension="")
 
ImageSourceRef cinder::loadImage (DataSourceRef dataSource, ImageSource::Options options=ImageSource::Options(), std::string extension="")
 
void cinder::writeImage (DataTargetRef dataTarget, const ImageSourceRef &imageSource, ImageTarget::Options options=ImageTarget::Options(), std::string extension="")
 
void cinder::writeImage (const fs::path &path, const ImageSourceRef &imageSource, ImageTarget::Options options=ImageTarget::Options(), std::string extension="")
 
void cinder::writeImage (ImageTargetRef imageTarget, const ImageSourceRef &imageSource)