<?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[How to Display an Animated GIF on M5Stack Screens Using Arduino C?]]></title><description><![CDATA[<p dir="auto">Hi everyone,</p>
<p dir="auto">I'm working with an M5Stack Dial (ESP32-S3) and I want to display an animated GIF on its screen using Arduino C. I know that the M5Stack series supports images in formats like JPG and BMP, but I'm unsure about how to handle GIF animations properly.</p>
<p dir="auto">I have a few questions:</p>
<p dir="auto">What libraries should I use to decode and display a GIF frame by frame?<br />
How should I store the GIF? (SPIFFS, LittleFS, external SD card, etc.)<br />
What is the best way to update the screen efficiently without flickering?<br />
If anyone has sample code or a guide on how to achieve this, I would really appreciate it!</p>
<p dir="auto">Thanks in advance!</p>
]]></description><link>https://community.m5stack.com/topic/7378/how-to-display-an-animated-gif-on-m5stack-screens-using-arduino-c</link><generator>RSS for Node</generator><lastBuildDate>Wed, 06 May 2026 21:33:01 GMT</lastBuildDate><atom:link href="https://community.m5stack.com/topic/7378.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 11 Mar 2025 07:18:32 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to How to Display an Animated GIF on M5Stack Screens Using Arduino C? on Mon, 23 Jun 2025 20:37:18 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/juan-carlos-climent" aria-label="Profile: Juan-Carlos-Climent">@<bdi>Juan-Carlos-Climent</bdi></a> said in <a href="/post/28463">How to Display an Animated GIF on M5Stack Screens Using Arduino C?</a>:</p>
<blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/kuriko" aria-label="Profile: kuriko">@<bdi>kuriko</bdi></a> I've checked the link you sent me and adapted it to display an animated GIF. I used the Python script from M5 ( <a href="http://bin2code.py" target="_blank" rel="noopener noreferrer nofollow ugc">bin2code.py</a> ) to generate a .h file and modified the example from M5GFX ( drawImageData.ino ). It works perfectly!</p>
<p dir="auto">Thanks a lot!</p>
</blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/juan-carlos-climent" aria-label="Profile: Juan-Carlos-Climent">@<bdi>Juan-Carlos-Climent</bdi></a></p>
<p dir="auto">Can you please share the code?</p>
]]></description><link>https://community.m5stack.com/post/29318</link><guid isPermaLink="true">https://community.m5stack.com/post/29318</guid><dc:creator><![CDATA[vonbothmer]]></dc:creator><pubDate>Mon, 23 Jun 2025 20:37:18 GMT</pubDate></item><item><title><![CDATA[Reply to How to Display an Animated GIF on M5Stack Screens Using Arduino C? on Tue, 11 Mar 2025 12:26:46 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/kuriko" aria-label="Profile: kuriko">@<bdi>kuriko</bdi></a> I've checked the link you sent me and adapted it to display an animated GIF. I used the Python script from M5 ( <a href="http://bin2code.py" target="_blank" rel="noopener noreferrer nofollow ugc">bin2code.py</a> ) to generate a .h file and modified the example from M5GFX ( drawImageData.ino ). It works perfectly!</p>
<p dir="auto">Thanks a lot!</p>
]]></description><link>https://community.m5stack.com/post/28463</link><guid isPermaLink="true">https://community.m5stack.com/post/28463</guid><dc:creator><![CDATA[Juan Carlos Climent]]></dc:creator><pubDate>Tue, 11 Mar 2025 12:26:46 GMT</pubDate></item><item><title><![CDATA[Reply to How to Display an Animated GIF on M5Stack Screens Using Arduino C? on Tue, 11 Mar 2025 08:42:00 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/juan-carlos-climent" aria-label="Profile: Juan-Carlos-Climent">@<bdi>Juan-Carlos-Climent</bdi></a><br />
you can refer to this example:<br />
<a href="https://github.com/m5stack/M5GFX/blob/master/examples/Basic/drawImageData/drawImageData.ino" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/m5stack/M5GFX/blob/master/examples/Basic/drawImageData/drawImageData.ino</a></p>
]]></description><link>https://community.m5stack.com/post/28461</link><guid isPermaLink="true">https://community.m5stack.com/post/28461</guid><dc:creator><![CDATA[kuriko]]></dc:creator><pubDate>Tue, 11 Mar 2025 08:42:00 GMT</pubDate></item></channel></rss>