Tiny Core Base > TCB Tips & Tricks

show .png on terminal

<< < (2/2)

Santos:
I don't know if this is still useful to you, but for anybody with the same question.

EDIT:

link:

http://pippin.gimp.org/tv/

You can use a terminal program called: tv

I don't remember where i downloaded, but if i recall, it was in a web page of a developer doing something with GIMP, i think. Maybe GPLv2, so i guess if put it in the Extension section i have to give the sourcecode, anyway GPL it's to messy and submit a binary it's not allowed, doing a quick search i can't find it, good look using a search engine.

If i can upload the binary i'll put it here, but for now you have a screenshot.


With utf8-256 the images looks really good, but you can read screenshots if you zoom enough with ./tv -m ascii *.png.

./tv --help

EDIT:

You don't need any Framebuffer support or any graphic extension, the little program does a pixel conversion to text data of jpg, png and gif.

aus9:
Hi

Not sure if my answer belongs in TCE rather than base, but me thinks some images need good colour display so we are talking true colour and the like

if interested here is a test from link below


--- Code: ---printf "\x1b[38;2;255;100;0mTRUECOLOR\x1b[0m\n"
--- End code ---

https://gist.github.com/XVilka/8346728

^^ link shows heaps of true colour terminals

DeanProsacco:
Never knew it was even possible

Navigation

[0] Message Index

[*] Previous page

Go to full version