WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: show .png on terminal  (Read 1644 times)

Offline Looper

  • WikiUser
  • *
  • Posts: 31
show .png on terminal
« on: March 09, 2017, 02:33:32 PM »
how can i show png file on Core ( text base tiny core ) in loop a script ( persistent show .png file )
?!

Offline Rich

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 5926
Re: show .png on terminal
« Reply #1 on: March 09, 2017, 08:16:01 PM »
Hi Looper
Maybe  fbv.tcz  would be worth checking out.

Offline Misalf

  • Hero Member
  • *****
  • Posts: 1678
Re: show .png on terminal
« Reply #2 on: March 09, 2017, 08:51:51 PM »
Yes, rebuild the initrd with fbv included and call it from  /etc/init.d/tc-config .
Also, there was a question on how to remove tiny core's text output while booting.
Try the forum's search function.
Download a copy and keep it handy: Core book ;)

Offline Looper

  • WikiUser
  • *
  • Posts: 31
Re: show .png on terminal
« Reply #3 on: March 14, 2017, 12:28:17 PM »
Yes, rebuild the initrd with fbv included and call it from  /etc/init.d/tc-config .
Also, there was a question on how to remove tiny core's text output while booting.
Try the forum's search function.
please tell me step by step how to rebuild initd and how can i call fbv

Offline Misalf

  • Hero Member
  • *****
  • Posts: 1678
Re: show .png on terminal
« Reply #4 on: March 16, 2017, 12:26:09 PM »
Download a copy and keep it handy: Core book ;)

Offline Santos

  • WikiUser
  • *
  • Posts: 11
Re: show .png on terminal
« Reply #5 on: July 29, 2018, 01:14:27 PM »
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.
« Last Edit: July 29, 2018, 01:45:30 PM by Santos »

aus9

  • Guest
Re: show .png on terminal
« Reply #6 on: July 30, 2018, 02:20:00 AM »
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: [Select]
printf "\x1b[38;2;255;100;0mTRUECOLOR\x1b[0m\n"
https://gist.github.com/XVilka/8346728

^^ link shows heaps of true colour terminals