Skip to main content

Crate px2ansi_rs

Crate px2ansi_rs 

Source
Expand description

§px2ansi-rs

A Rust library/CLI tool to convert pixels to ANSI sequences for terminal display. This crate contains the core logic and CLI definitions.

Re-exports§

pub use crate::commands::Command;
pub use crate::render::build_render_options;
pub use crate::rotate::RotateAxis;
pub use crate::rotate::RotateMode;
pub use cli::Cli;
pub use cli::Commands;
pub use commands::convert::ConvertCmd;
pub use commands::index::IndexCmd;
pub use commands::list::ListCmd;
pub use commands::show::ShowCmd;
pub use config::Config;

Modules§

cli
Command-line interface definition for px2ansi-rs.
commands
config
fetch
--fetch mode: display system info alongside the image (or spinning animation).
output
render
rotate
Image rotation helpers for the --rotate, --axis, and --unidirectional flags.
terminal
Terminal capability queries.

Structs§

RenderOptions
The master configuration for the rendering pipeline.
ResolvedOptions

Enums§

Density
Aesthetic density settings for the ASCII rendering style.
RenderStylePreset
Specifies the visual style used to render output.
ResizeFilter
Strategies used for resampling images when resizing.