Files
lime/project/include/graphics/format/JPEG.h
2014-11-11 10:48:14 -08:00

28 lines
397 B
C++

#ifndef LIME_GRAPHICS_FORMAT_JPEG_H
#define LIME_GRAPHICS_FORMAT_JPEG_H
#include <graphics/ImageBuffer.h>
#include <utils/ByteArray.h>
#include <utils/Resource.h>
namespace lime {
class JPEG {
public:
static bool Decode (Resource *resource, ImageBuffer *imageBuffer);
static bool Encode (ImageBuffer *imageBuffer, ByteArray *bytes, int quality);
};
}
#endif