<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Loading png overlay with command line]]></title><description><![CDATA[<p dir="auto">Hello,</p>
<p dir="auto">I need to add a custom png in front of a port game launched with my own script with xinit. I need to to the same job as Retroach's overlays but I don't find the command or the program used.</p>
<p dir="auto">It should be easy to load a png into a system that does it everywhere, but I'm stuck.</p>
]]></description><link>https://retropie.org.uk/forum/topic/35553/loading-png-overlay-with-command-line</link><generator>RSS for Node</generator><lastBuildDate>Wed, 15 Jul 2026 00:35:15 GMT</lastBuildDate><atom:link href="https://retropie.org.uk/forum/topic/35553.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 04 Jun 2024 15:59:17 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Loading png overlay with command line on Sun, 09 Jun 2024 02:34:44 GMT]]></title><description><![CDATA[<p dir="auto">Ok, pngview was already installed on my system and used by the PiBoy OSD. I found a png loading used in the installscript of the firmware and I can reproduce this when I want with a single line added in my scripts. It's exactly what I was looking for !</p>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/sleve_mcdichael" aria-label="Profile: sleve_mcdichael">@<bdi>sleve_mcdichael</bdi></a> Thanks for your help</p>
]]></description><link>https://retropie.org.uk/forum/post/297778</link><guid isPermaLink="true">https://retropie.org.uk/forum/post/297778</guid><dc:creator><![CDATA[Nash]]></dc:creator><pubDate>Sun, 09 Jun 2024 02:34:44 GMT</pubDate></item><item><title><![CDATA[Reply to Loading png overlay with command line on Sun, 09 Jun 2024 02:37:38 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/sleve_mcdichael" aria-label="Profile: sleve_mcdichael">@<bdi>sleve_mcdichael</bdi></a> It looks like very hard consisting to draw every pixel in a framebuffer. It should be existing something at easier level like "function load" '/home/pi/img/png.png' at "coord x" and "coord y" usable in a script.</p>
<p dir="auto">For instance EmulationStation themes are looking for load border.png, or pop games videos in front of everthing. I doubt the dev must code "draw each pixel in framebuffer" everytime. They call certainly existing commands avaiable in the OS environement.</p>
<p dir="auto">I will try pngview.</p>
]]></description><link>https://retropie.org.uk/forum/post/297775</link><guid isPermaLink="true">https://retropie.org.uk/forum/post/297775</guid><dc:creator><![CDATA[Nash]]></dc:creator><pubDate>Sun, 09 Jun 2024 02:37:38 GMT</pubDate></item><item><title><![CDATA[Reply to Loading png overlay with command line on Sat, 08 Jun 2024 21:29:49 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/nash" aria-label="Profile: Nash">@<bdi>Nash</bdi></a> i found this Reddit post <a href="https://www.reddit.com/r/linux_programming/s/AUs0i0Hhis" target="_blank" rel="noopener noreferrer nofollow ugc">https://www.reddit.com/r/linux_programming/s/AUs0i0Hhis</a></p>
<p dir="auto">In in it they suggest using pngview (<a href="https://github.com/AndrewFromMelbourne/raspidmx/tree/master/pngview" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/AndrewFromMelbourne/raspidmx/tree/master/pngview</a>), or suggests that also you can write directly to <code>/dev/fb0</code> (<a href="https://seenaburns.com/2018/04/04/writing-to-the-framebuffer/" target="_blank" rel="noopener noreferrer nofollow ugc">https://seenaburns.com/2018/04/04/writing-to-the-framebuffer/</a>)</p>
]]></description><link>https://retropie.org.uk/forum/post/297774</link><guid isPermaLink="true">https://retropie.org.uk/forum/post/297774</guid><dc:creator><![CDATA[sleve_mcdichael]]></dc:creator><pubDate>Sat, 08 Jun 2024 21:29:49 GMT</pubDate></item><item><title><![CDATA[Reply to Loading png overlay with command line on Sat, 08 Jun 2024 20:53:01 GMT]]></title><description><![CDATA[<p dir="auto">So nobody can tell me how to load png overlay with something already present in Retropie ? I would like to avoid adding another third-party program unnecessarily. Even that is hard to find.</p>
<p dir="auto">It drives me crazy, there are PNG loads absolutely everywhere with OSD displaying png or animations everywhere like widgets. I looked in the Retroarch source code but I didn't find anything in what I can understand.</p>
<p dir="auto">I don't find anything on the web. How did devs have learned to display PNG ?</p>
]]></description><link>https://retropie.org.uk/forum/post/297770</link><guid isPermaLink="true">https://retropie.org.uk/forum/post/297770</guid><dc:creator><![CDATA[Nash]]></dc:creator><pubDate>Sat, 08 Jun 2024 20:53:01 GMT</pubDate></item><item><title><![CDATA[Reply to Loading png overlay with command line on Tue, 04 Jun 2024 16:47:17 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/mitu" aria-label="Profile: mitu">@<bdi>mitu</bdi></a> Thanks but I really need to add png over to hide some undesired window elements. And it will be useful later for me to do some OSD on anothers projects.</p>
]]></description><link>https://retropie.org.uk/forum/post/297636</link><guid isPermaLink="true">https://retropie.org.uk/forum/post/297636</guid><dc:creator><![CDATA[Nash]]></dc:creator><pubDate>Tue, 04 Jun 2024 16:47:17 GMT</pubDate></item><item><title><![CDATA[Reply to Loading png overlay with command line on Tue, 04 Jun 2024 16:33:31 GMT]]></title><description><![CDATA[<p dir="auto">I'm not aware of any general method of <em>overlaying</em> an image on-top of a runing program, but you can set the background using <a href="https://wiki.archlinux.org/title/feh" target="_blank" rel="noopener noreferrer nofollow ugc">feh</a> and have the port's window fit in the middle.</p>
]]></description><link>https://retropie.org.uk/forum/post/297635</link><guid isPermaLink="true">https://retropie.org.uk/forum/post/297635</guid><dc:creator><![CDATA[mitu]]></dc:creator><pubDate>Tue, 04 Jun 2024 16:33:31 GMT</pubDate></item></channel></rss>