blob: c26d60db535d44d523d64b5eb43dffc50074f6ac [file]
#pragma once
#include "engine/api_private.hpp"
#include "graphics/jpeg.hpp"
blit::JPEGImage blit_decode_jpeg_buffer(const uint8_t *ptr, uint32_t len, blit::AllocateCallback alloc);
blit::JPEGImage blit_decode_jpeg_file(const std::string &filename, blit::AllocateCallback alloc);