<?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[Read from SD card]]></title><description><![CDATA[<p dir="auto">Hello,</p>
<p dir="auto">Is it posible to read pictures from the sd card and display them?<br />
If posible is there an example?</p>
<p dir="auto">Cheers</p>
<p dir="auto">Jan</p>
]]></description><link>https://community.m5stack.com/topic/1238/read-from-sd-card</link><generator>RSS for Node</generator><lastBuildDate>Tue, 16 Jun 2026 14:51:24 GMT</lastBuildDate><atom:link href="https://community.m5stack.com/topic/1238.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 19 Aug 2019 08:21:48 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Read from SD card on Tue, 20 Aug 2019 02:12:34 GMT]]></title><description><![CDATA[<p dir="auto">Hi <a class="plugin-mentions-user plugin-mentions-a" href="/user/powersoft" aria-label="Profile: Powersoft">@<bdi>Powersoft</bdi></a> this is as simple as loading images from the flash. Only you just have to mount the sd and then point the directory towards the location of your file.</p>
<pre><code>import uos

uos.sdconfig(uos.SDMODE_SPI,clk=18,mosi=23,miso=19,cs =4)

uos.mountsd()
image0 = M5Img(0, 0, "/sd/face.jpg", True)


image0.show()
</code></pre>
<p dir="auto">Keep in mind these requirement:</p>
<ul>
<li>Image must be of jpg file type</li>
<li>must not exceed 25kb in file size</li>
<li>image name including extension must not exceed 10 letters</li>
</ul>
]]></description><link>https://community.m5stack.com/post/5248</link><guid isPermaLink="true">https://community.m5stack.com/post/5248</guid><dc:creator><![CDATA[lukasmaximus]]></dc:creator><pubDate>Tue, 20 Aug 2019 02:12:34 GMT</pubDate></item><item><title><![CDATA[Reply to Read from SD card on Mon, 19 Aug 2019 10:16:21 GMT]]></title><description><![CDATA[<p dir="auto">Yes it is possible but it’s slower then reading from memory. I haven’t had the time yet to look into it as I have only just scratched the surface of image work.</p>
]]></description><link>https://community.m5stack.com/post/5229</link><guid isPermaLink="true">https://community.m5stack.com/post/5229</guid><dc:creator><![CDATA[ajb2k3]]></dc:creator><pubDate>Mon, 19 Aug 2019 10:16:21 GMT</pubDate></item></channel></rss>