|
| Rgba | yaze::editor::anonymous_namespace{sheet_image_import.cc}::PixelAt (const util::PngImage &png, int x, int y) |
| |
| template<typename T , typename Get > |
| std::optional< T > | yaze::editor::anonymous_namespace{sheet_image_import.cc}::UniformSwatch (int swatch, int strip_top, Get get) |
| |
| template<typename Same > |
| int | yaze::editor::anonymous_namespace{sheet_image_import.cc}::StripPeriod (int swatches, Same same) |
| |
| bool | yaze::editor::anonymous_namespace{sheet_image_import.cc}::CanHoldStrip (int width, int height) |
| |
| int | yaze::editor::anonymous_namespace{sheet_image_import.cc}::MaxIndex (const std::vector< uint8_t > &indices) |
| |
| absl::StatusOr< ImportedSheetImage > | yaze::editor::anonymous_namespace{sheet_image_import.cc}::ImportIndexed (const util::PngImage &png) |
| |
| absl::StatusOr< ImportedSheetImage > | yaze::editor::anonymous_namespace{sheet_image_import.cc}::ImportPaletteStrip (const util::PngImage &png) |
| |
| absl::StatusOr< ImportedSheetImage > | yaze::editor::ImportSheetImage (const util::PngImage &png) |
| | Converts a decoded PNG without re-quantizing it.
|
| |
| absl::StatusOr< ImportedSheetImage > | yaze::editor::ImportSheetImagePng (const std::vector< uint8_t > &png_bytes) |
| | Decodes PNG bytes (file or clipboard) and calls ImportSheetImage.
|
| |
| absl::StatusOr< std::vector< uint8_t > > | yaze::editor::EncodeImportedSheetTiles (const ImportedSheetImage &image, int bpp) |
| |
| absl::StatusOr< std::vector< uint8_t > > | yaze::editor::EncodeImportedSheetPng (const ImportedSheetImage &image) |
| | Re-encodes the art (without the strip) as an indexed PNG in index order.
|
| |
| std::string | yaze::editor::DescribeImportedSheetImage (const ImportedSheetImage &image) |
| | "128x32 indexed PNG, 8 colors (strip removed), highest index 7".
|
| |
| absl::StatusOr< std::vector< int > > | yaze::editor::PreviewPaletteSlots (std::string_view group_name, size_t palette_size, int row, int count) |
| |