# Simplified version of led-image-viewer.cc

**URL:** <https://rpi-rgb-led-matrix.discourse.group/t/simplified-version-of-led-image-viewer-cc/251>\
**Category:** Uncategorized\
**Created:** [June 13, 2021, 2:19pm UTC](https://rpi-rgb-led-matrix.discourse.group/t/simplified-version-of-led-image-viewer-cc/251 "2021-06-13T14:19:22Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![clumpo](https://avatars.discourse-cdn.com/v4/letter/c/7ba0ec/32.png) [@clumpo](https://rpi-rgb-led-matrix.discourse.group/u/clumpo)\
**Post date:** [June 13, 2021, 2:19pm UTC](https://rpi-rgb-led-matrix.discourse.group/t/simplified-version-of-led-image-viewer-cc/251/1 "2021-06-13T14:19:22Z")

</div>

Ive got the led-image-viewer.cc (in utils) working fine and really happy with it. However, my C++ isnt great and having had a look through the code, its a complex program as seems to cover a lot of eventualites and options. Its also really useful as Id like to use the options contained with it!

Id like for it to just periodically (every second or so), look in a text file and then display the image filename displayed in that text file. Sounds simple? Is there a simple modification I can do to accomplish this? At the moment, this needs to be done in the command line.

---

<div class="post-metadata">

**Author:** ![marcmerlin](https://yyz2.discourse-cdn.com/free1/user_avatar/rpi-rgb-led-matrix.discourse.group/marcmerlin/32/40_2.png) [@marcmerlin](https://rpi-rgb-led-matrix.discourse.group/u/marcmerlin)\
**Post date:** [June 15, 2021, 6:08pm UTC](https://rpi-rgb-led-matrix.discourse.group/t/simplified-version-of-led-image-viewer-cc/251/2 "2021-06-15T18:08:18Z")

</div>

there may not be anyone to offer support for this, sorry.  
If it were me, I would have a shell script that starts the led viewer with the right image every second. hopefully there won’t be too much flickering in between
