[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#931534: ITP: viu -- Command-line application to view images from the terminal



On 7/7/19 11:51 AM, Adam Borowski wrote:
> On Sun, Jul 07, 2019 at 11:25:47AM +0200, Wolfgang Silbermayr wrote:
>>    Package name: viu
>> Upstream Author: Atanas Yankov <atanas.yankov98@gmail.com>
>>             URL: https://github.com/atanunq/viu
>>     Description:
>> viu is a small command-line application to view images from the terminal
>> written in Rust. It uses unicode lower half blocks to fit 2 pixels into
>> a single cell by adjusting foreground and background colors accordingly.
> 
> Hi!
> This looks exactly as what "catimg" does -- is there are any reason to
> prefer viu over catimg?

[...]

> Thus: is there anything viu does better than the above tools?

In fact, catimg is new to me. I did a quick test, and it looks quite good.

I follow what is happening in the Rust crates ecosystem, so I stumbled
over viu when it got published, and thought it would be great to have
this tool packaged.

A quick test showed nearly identical output when scaled to the same size
(with minimal difference in colors, I assume due to downscaling).

What I find a bit inconvenient is that catimg defaults to the full
terminal width whereas viu takes both height and width of the terminal
into account.

Do you think it's a disadvantage to have some similar command-line tools
packaged where some people would prefer one and some the other?
Especially with the consideration that - at least in my experience -
rust packages require very low amount of work for packaging and maintenance?

Wolfgang.


Reply to: