You are not logged in.

#1 2016-12-30 08:27:27

ionel.ciobanuc
Member
Registered: 2016-10-24
Posts: 21
Website

Display png

How png displayed on the screen? Use python or call external program? You can give an example of code to display png on screen?
Thank you.

Offline

#2 2016-12-30 09:27:16

Shahin
Administrator
Registered: 2016-02-17
Posts: 3,546

Re: Display png

You mean how nanodlp display images? Windows / Linux ports are using GLFW/OpenGL. Raspberry version directly calling gpu firmware blob.

Offline

#3 2016-12-30 10:27:52

ionel.ciobanuc
Member
Registered: 2016-10-24
Posts: 21
Website

Re: Display png

For raspberry version.
There are the beginnings of raspberry and python.
Please example or a link to documentation.
I found only "fbi" and "fim".

Offline

#4 2016-12-30 11:03:12

Shahin
Administrator
Registered: 2016-02-17
Posts: 3,546

Re: Display png

Those tools are framebuffer based, performance is acceptable and very easy to implement but I had experienced some glitch using framebuffer solution on RPi. If you could make it works, it will work with any linux box.

There is no straight forward example as I remember. You should dig raspberry pi firmware repo. https://github.com/raspberrypi/firmware/
If you want to use python you probably will have to use python c binding.

Offline

#5 2016-12-30 11:54:21

ionel.ciobanuc
Member
Registered: 2016-10-24
Posts: 21
Website

Re: Display png

Thank you

Offline

Board footer

Powered by FluxBB