#include <ImageIo.h>
Optional parameters passed when creating an Image.
- See also
- loadImage()
cinder::ImageSource::Options::Options |
( |
| ) |
|
Options& cinder::ImageSource::Options::index |
( |
int32_t |
index | ) |
|
Specifies an image index for multi-part images, like animated GIFs. 0-based index.
Options& cinder::ImageSource::Options::throwOnFirstException |
( |
bool |
b = true | ) |
|
If an exception occurs, enabling this will prevent any attempts at using other handlers to load the image. Default = false, all handlers are tried and if none succeed, the last exception is rethrown.
- See also
- ImageIoException
int32_t cinder::ImageSource::Options::getIndex |
( |
| ) |
const |
Returns image index.
- See also
- index()
bool cinder::ImageSource::Options::getThrowOnFirstException |
( |
| ) |
|
int32_t cinder::ImageSource::Options::mIndex |
|
protected |
bool cinder::ImageSource::Options::mThrowOnFirstException |
|
protected |
The documentation for this class was generated from the following file: