|
ClanLib
2.3.7
|
Image provider that can load JPEG (.jpg) files. More...
#include <jpeg_provider.h>
Static Public Member Functions | |
Construction | |
| static CL_PixelBuffer | load (const CL_String &filename, const CL_VirtualDirectory &directory) |
| Called to load an image with this provider type. More... | |
| static CL_PixelBuffer | load (const CL_String &fullname) |
| static CL_PixelBuffer | load (CL_IODevice &file) |
| static void | save (CL_PixelBuffer buffer, const CL_String &filename, CL_VirtualDirectory &directory, int quality=85) |
| Save the given PixelBuffer into a JPEG. More... | |
| static void | save (CL_PixelBuffer buffer, const CL_String &fullname, int quality=85) |
| static void | save (CL_PixelBuffer buffer, CL_IODevice &file, int quality=85) |
Image provider that can load JPEG (.jpg) files.
|
static |
Called to load an image with this provider type.
| filename | Name of the file to load. |
| directory | Directory that file name is relative to. |
|
static |
|
static |
|
static |
Save the given PixelBuffer into a JPEG.
| buffer | The CL_PixelBuffer to save, format doesn't matter its converted if needed |
| filename | File name of JPEG. |
| directory | Directory that the file name is relative to. |
| quality | The quality level of the JPEG (0-100), 100 being best quality. |
|
static |
|
static |
1.8.4