vsgXchange 1.1.6
VulkanSceneGraph 3rd party data integration library
 
Loading...
Searching...
No Matches
vsgXchange::stbi Class Reference

add png, jpeg and gif support using local build of stbi. More...

#include <images.h>

Inheritance diagram for vsgXchange::stbi:
Collaboration diagram for vsgXchange::stbi:

Public Member Functions

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 Public Attributes

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.
 

Detailed Description

add png, jpeg and gif support using local build of stbi.


The documentation for this class was generated from the following file: