Namespaces |
| namespace | cinder |
Functions |
| ImageSourceRef | cinder::loadImage (const fs::path &path, ImageSource::Options options=ImageSource::Options(), std::string extension="") |
| | Loads an image from the file path path. Optional extension parameter allows specification of a file type. For example, "jpg" would force the file to load as a JPEG.
|
| ImageSourceRef | cinder::loadImage (DataSourceRef dataSource, ImageSource::Options options=ImageSource::Options(), std::string extension="") |
| | Loads an image from dataSource. Optional extension parameter allows specification of a file type. For example, "jpg" would force the file to load as a JPEG.
|
| void | cinder::writeImage (const fs::path &path, const ImageSourceRef &imageSource, ImageTarget::Options options, std::string extension) |
| void | cinder::writeImage (DataTargetRef dataTarget, const ImageSourceRef &imageSource, ImageTarget::Options options=ImageTarget::Options(), std::string extension="") |
| | Writes imageSource to dataTarget. Optional extension parameter allows specification of a file type. For example, "jpg" would force the file to load as a JPEG.
|
| void | cinder::writeImage (ImageTargetRef imageTarget, const ImageSourceRef &imageSource) |
| | Writes imageSource to imageTarget.
|