JPG or PNG on the LCD?

Moderators: mdrjr, odroid

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: 210
Joined: Tue Apr 28, 2015 4:23 pm
Location: shenzhen
languages_spoken: english, chinese
ODROIDs: 2 x C1+, 2 x C2
1 x XU-L, 2 x XU3-L, 3 x U3, 2 x U2, 9 x XU4

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 136 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: 20
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: 210
Joined: Tue Apr 28, 2015 4:23 pm
Location: shenzhen
languages_spoken: english, chinese
ODROIDs: 2 x C1+, 2 x C2
1 x XU-L, 2 x XU3-L, 3 x U3, 2 x U2, 9 x XU4


Return to CloudShell

Who is online

Users browsing this forum: No registered users and 1 guest