<?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[[closed] Images not working]]></title><description><![CDATA[<p dir="auto">I'm trying to load an image but everytime I use the blocky version of this code</p>
<pre><code>from m5stack import *
from m5ui import *

clear_bg(0x222222)



btnA = M5Button(name="ButtonA", text="ButtonA", visibility=False)
btnB = M5Button(name="ButtonB", text="ButtonB", visibility=False)
btnC = M5Button(name="ButtonC", text="ButtonC", visibility=False)
image1 = M5Img(64, 19, "res/miniM5os.jpg", True)


lcd.fill(0x3333ff)
image1.changeImg("res/miniM5os.jpg")
image1.setPosition(0, 0)
while True:
  image1.show()
  wait(1)
  wait(0.001)

</code></pre>
<p dir="auto">I just get a blank black square on the screen.</p>
]]></description><link>https://community.m5stack.com/topic/877/closed-images-not-working</link><generator>RSS for Node</generator><lastBuildDate>Wed, 29 Apr 2026 08:40:43 GMT</lastBuildDate><atom:link href="https://community.m5stack.com/topic/877.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 12 Apr 2019 07:18:37 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to [closed] Images not working on Fri, 12 Apr 2019 12:07:48 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/lukasmaximus" aria-label="Profile: lukasmaximus">@<bdi>lukasmaximus</bdi></a> some formats gimp can compress, others need understanding of the file formats.</p>
]]></description><link>https://community.m5stack.com/post/3702</link><guid isPermaLink="true">https://community.m5stack.com/post/3702</guid><dc:creator><![CDATA[ajb2k3]]></dc:creator><pubDate>Fri, 12 Apr 2019 12:07:48 GMT</pubDate></item><item><title><![CDATA[Reply to [closed] Images not working on Fri, 12 Apr 2019 11:49:12 GMT]]></title><description><![CDATA[<p dir="auto">Is there a good tool in GIMP for compressing image files? <a class="plugin-mentions-user plugin-mentions-a" href="/user/ajb2k3" aria-label="Profile: ajb2k3">@<bdi>ajb2k3</bdi></a> I tried without success in photoshop before, perhaps its there but I don't know. It would be better however to have an open source solution such as gimp</p>
]]></description><link>https://community.m5stack.com/post/3701</link><guid isPermaLink="true">https://community.m5stack.com/post/3701</guid><dc:creator><![CDATA[lukasmaximus]]></dc:creator><pubDate>Fri, 12 Apr 2019 11:49:12 GMT</pubDate></item><item><title><![CDATA[Reply to [closed] Images not working on Fri, 12 Apr 2019 11:48:41 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/ajb2k3" aria-label="Profile: ajb2k3">@<bdi>ajb2k3</bdi></a> Great!!</p>
]]></description><link>https://community.m5stack.com/post/3700</link><guid isPermaLink="true">https://community.m5stack.com/post/3700</guid><dc:creator><![CDATA[salty_good]]></dc:creator><pubDate>Fri, 12 Apr 2019 11:48:41 GMT</pubDate></item><item><title><![CDATA[Reply to [closed] Images not working on Fri, 12 Apr 2019 11:23:56 GMT]]></title><description><![CDATA[<p dir="auto">Working now.</p>
]]></description><link>https://community.m5stack.com/post/3699</link><guid isPermaLink="true">https://community.m5stack.com/post/3699</guid><dc:creator><![CDATA[ajb2k3]]></dc:creator><pubDate>Fri, 12 Apr 2019 11:23:56 GMT</pubDate></item><item><title><![CDATA[Reply to [closed] Images not working on Fri, 12 Apr 2019 11:17:07 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/salty_good" aria-label="Profile: salty_good">@<bdi>salty_good</bdi></a> said in <a href="/post/3694">Images not working</a>:</p>
<blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/ajb2k3" aria-label="Profile: ajb2k3">@<bdi>ajb2k3</bdi></a> i found out this.</p>
<p dir="auto"><a href="https://github.com/loboris/MicroPython_ESP32_psRAM_LoBo/wiki/display#tftimagex-y-file-scale-type" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/loboris/MicroPython_ESP32_psRAM_LoBo/wiki/display#tftimagex-y-file-scale-type</a></p>
<ul>
<li>
<p dir="auto">JPG images are supported.<br />
Baseline only. Progressive and Lossless JPEG format are not supported.<br />
Image size: Up to 65520 x 65520 pixels<br />
Color space: YCbCr three components only. Gray scale image is not supported.<br />
Sampling factor: 4:4:4, 4:2:2 or 4:2:0.</p>
</li>
<li>
<p dir="auto">BMP images are supported.<br />
Only uncompressed RGB 24-bit with no color space information BMP images can be displayed.</p>
</li>
</ul>
</blockquote>
<p dir="auto">Ahh Lobo had the specs listed. thanks mate.</p>
]]></description><link>https://community.m5stack.com/post/3698</link><guid isPermaLink="true">https://community.m5stack.com/post/3698</guid><dc:creator><![CDATA[ajb2k3]]></dc:creator><pubDate>Fri, 12 Apr 2019 11:17:07 GMT</pubDate></item><item><title><![CDATA[Reply to [closed] Images not working on Fri, 12 Apr 2019 11:16:18 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/ajb2k3" aria-label="Profile: ajb2k3">@<bdi>ajb2k3</bdi></a> i found out this.</p>
<p dir="auto"><a href="https://github.com/loboris/MicroPython_ESP32_psRAM_LoBo/wiki/display#tftimagex-y-file-scale-type" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/loboris/MicroPython_ESP32_psRAM_LoBo/wiki/display#tftimagex-y-file-scale-type</a></p>
<ul>
<li>
<p dir="auto">JPG images are supported.<br />
Baseline only. Progressive and Lossless JPEG format are not supported.<br />
Image size: Up to 65520 x 65520 pixels<br />
Color space: YCbCr three components only. Gray scale image is not supported.<br />
Sampling factor: 4:4:4, 4:2:2 or 4:2:0.</p>
</li>
<li>
<p dir="auto">BMP images are supported.<br />
Only uncompressed RGB 24-bit with no color space information BMP images can be displayed.</p>
</li>
</ul>
]]></description><link>https://community.m5stack.com/post/3694</link><guid isPermaLink="true">https://community.m5stack.com/post/3694</guid><dc:creator><![CDATA[salty_good]]></dc:creator><pubDate>Fri, 12 Apr 2019 11:16:18 GMT</pubDate></item><item><title><![CDATA[Reply to [closed] Images not working on Fri, 12 Apr 2019 11:14:00 GMT]]></title><description><![CDATA[<p dir="auto">Is there a detailed specification for images somewhere?</p>
]]></description><link>https://community.m5stack.com/post/3693</link><guid isPermaLink="true">https://community.m5stack.com/post/3693</guid><dc:creator><![CDATA[ajb2k3]]></dc:creator><pubDate>Fri, 12 Apr 2019 11:14:00 GMT</pubDate></item><item><title><![CDATA[Reply to [closed] Images not working on Fri, 12 Apr 2019 11:12:53 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/salty_good" aria-label="Profile: salty_good">@<bdi>salty_good</bdi></a> said in <a href="/post/3690">Images not working</a>:</p>
<blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/ajb2k3" aria-label="Profile: ajb2k3">@<bdi>ajb2k3</bdi></a> I had seen a tweet on twitter.</p>
<p dir="auto">JPG format needs some conditions.<br />
・progressive off<br />
・not Matte color</p>
<p dir="auto">and use MS paint is no problem.</p>
</blockquote>
<p dir="auto">i'm on osx and using G.I.M.P</p>
]]></description><link>https://community.m5stack.com/post/3692</link><guid isPermaLink="true">https://community.m5stack.com/post/3692</guid><dc:creator><![CDATA[ajb2k3]]></dc:creator><pubDate>Fri, 12 Apr 2019 11:12:53 GMT</pubDate></item><item><title><![CDATA[Reply to [closed] Images not working on Fri, 12 Apr 2019 11:10:52 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/ajb2k3" aria-label="Profile: ajb2k3">@<bdi>ajb2k3</bdi></a> I had seen a tweet on twitter.</p>
<p dir="auto">JPG format needs some conditions.<br />
・progressive off<br />
・not Matte color</p>
<p dir="auto">and use MS paint is no problem.</p>
]]></description><link>https://community.m5stack.com/post/3690</link><guid isPermaLink="true">https://community.m5stack.com/post/3690</guid><dc:creator><![CDATA[salty_good]]></dc:creator><pubDate>Fri, 12 Apr 2019 11:10:52 GMT</pubDate></item><item><title><![CDATA[Reply to [closed] Images not working on Fri, 12 Apr 2019 10:53:38 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/lukasmaximus" aria-label="Profile: lukasmaximus">@<bdi>lukasmaximus</bdi></a> It will only allow me to upload BMP or JPG but Bmp have to be super compressed.<br />
Yup followed those steps but just get a black odd shaped box.</p>
]]></description><link>https://community.m5stack.com/post/3687</link><guid isPermaLink="true">https://community.m5stack.com/post/3687</guid><dc:creator><![CDATA[ajb2k3]]></dc:creator><pubDate>Fri, 12 Apr 2019 10:53:38 GMT</pubDate></item><item><title><![CDATA[Reply to [closed] Images not working on Fri, 12 Apr 2019 10:39:23 GMT]]></title><description><![CDATA[<p dir="auto">working fine for me. are sure you did all the steps, manager &gt; upload less than 25 kb image &gt; drag an image placeholder on UI area, select it and choose your uploaded image from the dropdown list? I have occasionally had weird results from certain files. Have you tried other files beside the one your trying to display?</p>
]]></description><link>https://community.m5stack.com/post/3686</link><guid isPermaLink="true">https://community.m5stack.com/post/3686</guid><dc:creator><![CDATA[lukasmaximus]]></dc:creator><pubDate>Fri, 12 Apr 2019 10:39:23 GMT</pubDate></item></channel></rss>