Tag Info

New answers tagged

3

I tried the same commands and got the same results. $ printf "\u2318" | convert -size 100x100 label:@- \ -font unifont-Medium command.png ...


0

I recently discovered Frame Buffer Image viewer, fbi.


1

Terminology is what you want. For instance - I want to change the background of my terminal? printf '\033}bp%s\000' \ 'http://hdwalldesktops.com/wp-content/uploads/2014/02/background-backgrounds-high-resolution-abstract-picture-background-wallpaper.jpg' What does it do? It emulates a slightly extended vt100 with some extensions and bling thrown ...


1

A number of terminal emulators support Sixel Graphics, from the PySixel github page, the list is: RLogin tanasinn mlterm XTerm DECterm Kermit WRQ Reflection ZSTEM You can display the images with the afore mentioned PySixel, which seems to be able to do the necessary conversions. Another option is to use tools from netpbm. I had good results using the ...


0

For image viewing, go for fim For Video playback option, use mplayer EDIT: Rather fim, try picture-tube. Though I have not tested it yet


1

Yes, sort of. Mplayer, for example, supports both aalib (monochrome) and libcaca (color) rendering of video in a text terminal. It's not exactly high-resolution, but with both sub-"pixel" rendering and temporal dithering increasing the effective resolution, you can usually tell what's going on.


0

In the Unix world terminal emulators emulate serial terminals, where the data stream to be shown to the user is sent one at a time over a serial line. In the modem time this was typically around 1000-2000 characters a second, but may be much faster today if only emulated hardware is involved. It was then up to the terminal to understand the bytes sent. ...


7

This should work with all the image types that ImageMagick can handle without having to specify *.png, *.jpg, *.jpeg etc: #!/bin/bash images=$(identify -format '%f\n' * 2>/dev/null) IFS=$'\n' set -e max_dims=$( identify -format '%w %h\n' $images 2>/dev/null | awk '($1>w){w=$1} ($2>h){h=$2} END{print w"x"h}' ) orig_dir=originals_$(date ...


5

As long as you select a target size that is larger than your largest image, you should be fine with the following: mogrify -gravity Center -extent 200x200 -background white -colorspace RGB *png The command above will change the original file, you might want to backup before running it. It uses mogrify from ImageMagick to resize all pngs in the current ...


5

I took the opportunity to improve my bash skills and came up with this: #!/bin/bash maxx=0 maxy=0 # find largest dimension for file in *.jpg ; do dim=$(identify "$file" | awk '{ print $3 }') xdim=$(echo $dim | cut -f1 -dx) ydim=$(echo $dim | cut -f2 -dx) if [ $xdim -gt $maxx ] ; then maxx=$xdim fi if [ $ydim -gt $maxy ] ; then ...


0

Another great terminal-based picture viewer is fim, which is a improved fbi with a vim-like control system.


0

I guess feh would be the one you are looking for. Although popping out a terminal-like window for picture display as mplayer does for video playing, Feh is still considered as a terminal-based picture viewer due to its command-intensive control style.



Top 50 recent answers are included