#pragma once #include "sppm.hpp" #include namespace sppm { // Exports a looping GIF89a animation. The GIF uses the document palette and // composites layers A through D for each frame. GIF has no audio channel. bool exportGif(const Document& document, const std::string& path, std::string& error); // Exports the selected cover frame as a lossless RGBA PNG. bool exportPngCover(const Document& document, const std::string& path, std::string& error); // Exports a Motion-JPEG MP4 animation. Frames are composited over white at // native Switchnote resolution; audio tracks are not muxed. bool exportMp4(const Document& document, const std::string& path, std::string& error); } // namespace sppm