iterm2img
Rust library for iTerm2 Inline Images Protocol
Usage
let encoded = from_bytes
.width
.inline
.build;
println;
See examples/main.rs for full code.
Running this on iTerm2 gives the following:
License
MIT
Rust library for iTerm2 Inline Images Protocol
let encoded = iterm2img::from_bytes(bytes)
.width(5)
.inline(true)
.build();
println("{}", encoded);
See examples/main.rs for full code.
Running this on iTerm2 gives the following:
MIT