36#ifndef INCLUDE_GUARD_EUNOMIA_PNG_INPUT_OUTPUT_H
37#define INCLUDE_GUARD_EUNOMIA_PNG_INPUT_OUTPUT_H
67 const std::filesystem::path& path,
68 std::unique_ptr<Picture>& uppict,
69 std::unique_ptr<PictureRgba>& uprgba,
70 std::unique_ptr<PictureIndexed>& upindx);
81bool savePng(
const Picture& pict,
const std::filesystem::path& path);
92savePng(
const PictureRgba& pict,
const std::filesystem::path& path);
106 const PictureIndexed& pict,
const std::filesystem::path& path,
107 bool trns =
false, std::uint8_t tpal = 0);
bool loadPng(const std::filesystem::path &path, std::unique_ptr< Picture > &uppict, std::unique_ptr< PictureRgba > &uprgba, std::unique_ptr< PictureIndexed > &upindx)
PNGファイルの讀み込み
Definition pngin.cpp:349
bool savePng(const Picture &pict, const std::filesystem::path &path)
PNGファイルの保存
Definition pngout.cpp:99
RGB24bit256インデックスの畫像バッファクラス