PixelBullet  0.0.1
A C++ game engine
Loading...
Searching...
No Matches
bitmap_decode_internal.h
1#pragma once
2
3#include <string_view>
4#include <vector>
5
6namespace pixelbullet
7{
8class Bitmap;
9
10namespace bitmap_internal
11{
12[[nodiscard]] bool DecodeBitmapFromBytes(Bitmap& bitmap, const std::vector<unsigned char>& bytes, std::string_view source_name,
13 std::string_view mime_type = {});
14} // namespace bitmap_internal
15} // namespace pixelbullet
A simple Bitmap class that loads and writes images using lodepng.
Definition bitmap.h:17