33 #include "../Image/pixel_buffer.h"
34 #include "../../Core/IOData/file_system.h"
63 const std::string &filename,
74 const std::string &filename,
virtual PixelBuffer load(const std::string &filename, const FileSystem &fs, bool srgb)=0
Called to load an image with this provider type.
I/O Device interface.
Definition: iodevice.h:51
Provider type.
Definition: provider_type.h:45
virtual ~ImageProviderType()
Unregisters a provider type in the ImageProviderFactory.
virtual PixelBuffer load(IODevice &file, bool srgb)=0
Virtual File System (VFS).
Definition: file_system.h:48
Pixel data container.
Definition: pixel_buffer.h:69
virtual void save(PixelBuffer buffer, IODevice &file)=0
virtual void save(PixelBuffer buffer, const std::string &filename, FileSystem &fs)=0
Called to save a given PixelBuffer to a file.
ImageProviderType(const std::string &type)
Registers a provider type in the ImageProviderFactory.