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