37 std::filesystem::path
path;
85 [[
nodiscard]] std::expected<LegacyUapMetadata, BitmapError>
88 [[
nodiscard]] std::expected<LegacyBitmapRGBA8, BitmapError>
90 std::size_t
maxPixels = 16U * 1024U * 1024U);
94 [[
nodiscard]] std::expected<LegacyBitmapRGBA8, BitmapError>
96 std::size_t
maxPixels = 16U * 1024U * 1024U);
99 [[
nodiscard]] std::expected<LegacyBitmapMetadata, BitmapError>
102 [[
nodiscard]] std::expected<LegacyBitmapMetadata, BitmapError>
std::vector< std::byte > bytes
std::string_view bitmapErrorCodeName(BitmapErrorCode code) noexcept
std::expected< LegacyBitmapMetadata, BitmapError > inspectLegacyBitmapFile(const std::filesystem::path &path)
std::expected< LegacyUapMetadata, BitmapError > inspectLegacyUap(std::span< const std::byte > bytes)
std::expected< LegacyBitmapRGBA8, BitmapError > decodeLegacyUapRGBA8(std::span< const std::byte > bytes, std::size_t maxPixels)
std::expected< LegacyBitmapRGBA8, BitmapError > decodeLegacyBitmapRGBA8(std::span< const std::byte > bytes, std::size_t maxPixels)
std::expected< LegacyBitmapMetadata, BitmapError > inspectLegacyBitmap(std::span< const std::byte > bytes)
std::filesystem::path path
std::vector< std::uint8_t > pixels