add png, jpeg and gif support using local build of stbi.
More...
#include <images.h>
|
vsg::ref_ptr< vsg::Object > | read (const vsg::Path &filename, vsg::ref_ptr< const vsg::Options > options={}) const override |
|
vsg::ref_ptr< vsg::Object > | read (std::istream &fin, vsg::ref_ptr< const vsg::Options > options={}) const override |
|
vsg::ref_ptr< vsg::Object > | read (const uint8_t *ptr, size_t size, vsg::ref_ptr< const vsg::Options > options={}) const override |
|
bool | write (const vsg::Object *object, const vsg::Path &filename, vsg::ref_ptr< const vsg::Options >={}) const override |
|
bool | write (const vsg::Object *object, std::ostream &stream, vsg::ref_ptr< const vsg::Options >={}) const override |
|
bool | getFeatures (Features &features) const override |
|
bool | readOptions (vsg::Options &options, vsg::CommandLine &arguments) const override |
| Override read image format (8bit RGB/RGBA default to sRGB) to be specified class of CoordinateSpace (sRGB or LINEAR).
|
|
|
static constexpr const char * | jpeg_quality = "jpeg_quality" |
|
static constexpr const char * | image_format = "image_format" |
| set the int quality value when writing out to image as jpeg file.
|
|
add png, jpeg and gif support using local build of stbi.
The documentation for this class was generated from the following file: