Crates.io | emoji_pix |
lib.rs | emoji_pix |
version | 0.2.1 |
source | src |
created_at | 2021-09-26 04:30:14.021817 |
updated_at | 2022-03-13 02:30:39.10976 |
description | A simple command-line utility (and Rust crate!) for converting from a conventional image file (e.g. a PNG file) into a pixel-art version constructed with emoji |
homepage | |
repository | |
max_upload_size | |
id | 456404 |
size | 75,766 |
This is a simple command-line utility (and Rust crate!) for converting from a conventional image file (e.g. a PNG file) into a pixel-art version constructed with emoji.
One good use for this might be making pixel art in Discord, in posts or in your own profile.
For example, if you use emoji_pix ferris.png --width 30
on the Ferris (Rust's mascot) picture downloaded from here, and paste the output into Discord (over several messages), it will look like this:
cargo install emoji_pix
emoji_pix [options]
. For example, emoji_pix ferris.png --width 30
.The full CLI options are obtained using emoji_pix --help
.
emoji_pix = "0.1.0"
to your Cargo.toml
code
block will generally give a more pleasing result.The emoji standard has 9 rectangle boxes of different colours: 🟥 🟧 🟨 🟩 🟦 🟪 🟫 ⬛ ⬜. They can be used as pseudo pixels in pixel art. Because the emoji standard doesn't specify a particular shade of colour for each box, EmojiPix currently works under the assumption that you are using Twemoji. Certain applications such as Twitter and Discord use these emoji implementations.
EmojiPix then: