Expand description
clip2preview provides a small API surface for extracting embedded preview
images from .clip files.
The current implementation scans the .clip container for an embedded
SQLite database, reads the CanvasPreview table, and returns the first
highest-resolution preview image it finds.
Structs§
- Preview
- Binary payload and metadata for an extracted preview image.
Enums§
- Clip
Error - Errors returned while reading or parsing a
.clipfile. - Preview
Format - Encoded image format for an extracted preview payload.
Functions§
- extract_
preview - Extracts the embedded preview image from a
.clipfile on disk. - extract_
preview_ from_ reader - Extracts the embedded preview image from any seekable reader.
Type Aliases§
- Result
- Crate-wide result type.