rmg

Rust: Tiny Manga/Image Viewer

Demo

https://github.com/rsuu/rmg/blob/main/assets/2022-06-29.mp4

Install

```bash

github

Check here: https://github.com/rsuu/rmg/releases/

cargo

cargo install rmg

git

git clone --depth 1 https://github.com/rsuu/rmg cd rmg cargo build --release ```

Usage

```bash rmg ./tests/files/img.tar

OR

rmg --size 600,600 ./tests/files/img.tar

OR

rmg --size 600,600 --config ./tests/files/config.rs ./tests/files/img.tar ```

KeyMap

|Key| | |:-|:-| k/Up | move up j/Down | move down h/Left | move left r/Right | move right q | quit

Configuration

config file: https://raw.githubusercontent.com/rsuu/rmg/main/tests/files/config.rs

WARN: You have to create the file by yourself.

Supported formats

| Format | Supported | Default |Dependency |:-|:-|:-|:-| .jpg |✅ | ✅| .png|✅| ✅| .heic / .avif|🔬|❌|libheif .gif|🔬|✅| .aseprite|🔬|❌|


| Format | Supported | Default |Dependency |:-|:-|:-|:-| .tar |✅ | ✅| tar .zip / .cbz |✅ | ✅| zip

Features

```bash

Add support for heic

cargo run --release -F "de_heic"

for heic AND aseprite

cargo run --release -F "deheic" -F "dease"

CpuExtensions

cargo run --release -F "avx2" # for avx2 cargo run --release -F "sse41" # for sse41 ```

License

Licensed under either of Apache License, Version 2.0 or MIT license at your option.

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.