<?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[[UIFlow] [Core&#x2F;Core2] Add image block to show images like JPG on display]]></title><description><![CDATA[<p dir="auto">Add UIFlow image functionality to easily display images like JPG on Core display.</p>
<p dir="auto">Support images from flash and micro SD card.</p>
]]></description><link>https://community.m5stack.com/topic/2873/uiflow-core-core2-add-image-block-to-show-images-like-jpg-on-display</link><generator>RSS for Node</generator><lastBuildDate>Tue, 12 May 2026 01:31:04 GMT</lastBuildDate><atom:link href="https://community.m5stack.com/topic/2873.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 01 Feb 2021 12:21:33 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to [UIFlow] [Core&#x2F;Core2] Add image block to show images like JPG on display on Mon, 01 Feb 2021 12:43:19 GMT]]></title><description><![CDATA[<p dir="auto">Ok, I now found the image function on the left side of the Core in UIFlow.</p>
<p dir="auto">I was looking for it in the regular list of blocks, especially in "Graphic".</p>
<pre><code>from m5stack import *
from m5stack_ui import *

screen = M5Screen()
screen.clean_screen()
screen.set_screen_bg_color(0xFFFFFF)

image0 = M5Img("/sd/images/sled150.png", x=0, y=0, parent=None)
</code></pre>
<p dir="auto">It would be great if it could also show JPG files, they still seem to be more common.</p>
<p dir="auto">Note that <code>lcd.image()</code> can display JPG files, but it crashes loading from micro SD card.</p>
]]></description><link>https://community.m5stack.com/post/12221</link><guid isPermaLink="true">https://community.m5stack.com/post/12221</guid><dc:creator><![CDATA[mb]]></dc:creator><pubDate>Mon, 01 Feb 2021 12:43:19 GMT</pubDate></item></channel></rss>