#include <array>#include <cstdint>#include <string>#include <vector>#include "absl/status/statusor.h"Go to the source code of this file.
Classes | |
| struct | yaze::util::PngImage |
| A decoded PNG: palette indices for indexed files, RGBA otherwise. More... | |
Namespaces | |
| namespace | yaze |
| namespace | yaze::util |
Functions | |
| absl::StatusOr< std::vector< uint8_t > > | yaze::util::EncodeIndexedPng (int width, int height, const std::vector< uint8_t > &indices, const std::vector< std::array< uint8_t, 4 > > &palette) |
| absl::StatusOr< PngImage > | yaze::util::DecodePng (const std::vector< uint8_t > &bytes) |
| absl::StatusOr< std::vector< uint8_t > > | yaze::util::ReadBinaryFile (const std::string &path) |
| absl::Status | yaze::util::WriteBinaryFile (const std::string &path, const std::vector< uint8_t > &bytes) |