JPG or PNG on the LCD?

Moderators: odroid, mdrjr

JPG or PNG on the LCD?

Unread postby stmicro » Wed Sep 13, 2017 2:03 pm

Can I display a JPG or PNG to the small TFT LCD?
stmicro
 
Posts: 224
Joined: Tue Apr 28, 2015 4:23 pm
Location: shenzhen china
languages_spoken: english, chinese
ODROIDs: Many Odroids and Rpis.

Re: JPG or PNG on the LCD?

Unread postby neal » Wed Sep 13, 2017 4:56 pm

Yeap, try this.

$ sudo apt install fbi
$ wget https://www.electronicsdatasheets.com/i ... 494076.png
$ sudo fbi -T 1 -noverbose -a 546de696e34e244401494076.png

cloudshell2_fbi.jpg
cloudshell2_fbi.jpg (226.46 KiB) Viewed 451 times

You could see the image HK logo. and if you want back to the LCD display just kill fbi process like this.
$ sudo killall fbi
neal
 
Posts: 139
Joined: Fri Apr 14, 2017 10:02 am
languages_spoken: english

Re: JPG or PNG on the LCD?

Unread postby stmicro » Wed Sep 13, 2017 5:23 pm

Thank you! It works on my side too.
I didn't know "fbi" can make it so simply.

Photo slideshows with "*.jpg" option is really neat. My NAS disk has over 7,000 pictures. :D
I'm learning "fbi" options now. https://www.systutorials.com/docs/linux/man/1-fbi/
stmicro
 
Posts: 224
Joined: Tue Apr 28, 2015 4:23 pm
Location: shenzhen china
languages_spoken: english, chinese
ODROIDs: Many Odroids and Rpis.


Return to CloudShell

Who is online

Users browsing this forum: No registered users and 2 guests