31#include "../Image/pixel_buffer.h"
32#include "../../Core/IOData/file_system.h"
50 const std::string &filename,
55 const std::string &fullname,
70 const std::string &filename,
76 const std::string &fullname,
Virtual File System (VFS).
Definition: file_system.h:47
I/O Device interface.
Definition: iodevice.h:50
Image provider that can load JPEG (.jpg) files.
Definition: jpeg_provider.h:43
static PixelBuffer load(const std::string &filename, const FileSystem &fs, bool srgb=false)
Called to load an image with this provider type.
static void save(PixelBuffer buffer, const std::string &filename, FileSystem &fs, int quality=85)
Save the given PixelBuffer into a JPEG.
static PixelBuffer load(const std::string &fullname, bool srgb=false)
static void save(PixelBuffer buffer, const std::string &fullname, int quality=85)
static PixelBuffer load(IODevice &file, bool srgb=false)
static void save(PixelBuffer buffer, IODevice &file, int quality=85)
Pixel data container.
Definition: pixel_buffer.h:68