Skip to content

A lightweight Clip Studio Paint alternative with real-time multiplayer collaborative drawing. Built with Tauri and React.

725 B
Raw Blame
//! Zero-copy Rust document I/O (`.ink` v2 parallel ZIP save/load), pure-Rust PNG thumbnail &
//! preview encoding, software tile compositor (for thumbnails/previews/timelapse/merges),
//! and in-process crash recovery WAL/checkpoint codecs.

pub mod compositor_cpu;
pub mod image_codec;
pub mod ink_format;
pub mod png_codec;
pub mod wal;

pub use image_codec::encode_rgba8_to_webp;
pub use ink_format::{
    extract_ink_preview, parse_ink_document, serialize_ink_document, SerializedInkResult,
};
pub use png_codec::{decode_png_rgba8, encode_rgba8_to_png, png_bytes_to_data_url, to_base64};
pub use wal::{
    encode_cow_deltas_to_wal_payload, encode_document_checkpoint, replay_recovery_into_document,
    WalRawEntry,
};