godspeed1989 / fbv

framebuffer image viewer
Other
81 stars 39 forks source link

How to pipe image into fbv? #13

Open sunknudsen opened 3 years ago

sunknudsen commented 3 years ago

This project looks amazing!

I am looking for a way to display QR codes on Raspberry Pis without requiring a desktop environment.

The QR codes are generated in memory... I would like to display them to the framebuffer without having to write them to disk.

Is it possible to pipe images to fbv?

godspeed1989 commented 3 years ago

Currently, we don't support show image in memory. You can store it in /tmp before displaying.

That's a useful feature we may add in the future.

sunknudsen commented 3 years ago

Thanks for the follow-up @godspeed1989.

You can store it in /tmp before displaying.

For security reasons, I am trying to avoid writing to disk in case /tmp is not a memory disk.

How much work do you believe is required to allow piping an image to stdin?