Add files via upload

This commit is contained in:
Rekushi authored and GitHub committed 2026-10-29 03:55:40 +00:00
commit 558a387b6e
35 files changed
+14482

No files matched your search

+23
View File
@@ -0,0 +1,23 @@
#pragma once
#include "sppm.hpp"
#include <string>
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