Monopoly — Portage moderne 0.1.0
Portage moderne C/C++23 du Monopoly de 1999
Loading...
Searching...
No Matches
LegacyBitmap.cpp File Reference
#include "LegacyBitmap.hpp"
#include <algorithm>
#include <fstream>
#include <limits>
#include <utility>
#include <vector>
Include dependency graph for LegacyBitmap.cpp:

Go to the source code of this file.

Namespaces

namespace  monopoly
 
namespace  monopoly::data
 

Functions

std::string_view monopoly::data::bitmapErrorCodeName (BitmapErrorCode code) noexcept
 
std::expected< LegacyUapMetadata, BitmapError > monopoly::data::inspectLegacyUap (std::span< const std::byte > bytes)
 
std::expected< LegacyBitmapRGBA8, BitmapError > monopoly::data::decodeLegacyUapRGBA8 (std::span< const std::byte > bytes, std::size_t maxPixels)
 
std::expected< LegacyBitmapMetadata, BitmapError > monopoly::data::inspectLegacyBitmap (std::span< const std::byte > bytes)
 
std::expected< LegacyBitmapRGBA8, BitmapError > monopoly::data::decodeLegacyBitmapRGBA8 (std::span< const std::byte > bytes, std::size_t maxPixels)
 
std::expected< LegacyBitmapMetadata, BitmapError > monopoly::data::inspectLegacyBitmapFile (const std::filesystem::path &path)