<?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[[Solved]M5StickC and colour images]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">Where I can find some information how to add colour images to display on screen?<br />
I need some examples how to present png, jpg etc. files?<br />
Any tutorials are appreciated.</p>
<p dir="auto">Regards,<br />
Piotr</p>
]]></description><link>https://community.m5stack.com/topic/886/solved-m5stickc-and-colour-images</link><generator>RSS for Node</generator><lastBuildDate>Tue, 05 May 2026 11:07:20 GMT</lastBuildDate><atom:link href="https://community.m5stack.com/topic/886.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 17 Apr 2019 09:23:08 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to [Solved]M5StickC and colour images on Fri, 28 May 2021 03:26:29 GMT]]></title><description><![CDATA[<p dir="auto">As Google has led me here, I'd like to answer this question.</p>
<p dir="auto">an image file needs to be converted to a C file using RGB565 little endian.<br />
To do this you have two options:</p>
<ul>
<li>use the web tool at <a href="https://lang-ship.com/tools/image2data/" target="_blank" rel="noopener noreferrer nofollow ugc">https://lang-ship.com/tools/image2data/</a> to convert the image</li>
<li>use your favorite programming language to dump it</li>
</ul>
]]></description><link>https://community.m5stack.com/post/13926</link><guid isPermaLink="true">https://community.m5stack.com/post/13926</guid><dc:creator><![CDATA[Axum360]]></dc:creator><pubDate>Fri, 28 May 2021 03:26:29 GMT</pubDate></item><item><title><![CDATA[Reply to [Solved]M5StickC and colour images on Wed, 24 Apr 2019 08:17:25 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/m5-docs" aria-label="Profile: m5-docs">@<bdi>m5-docs</bdi></a> Generally yes, but as I said I have tried to convert e.g. PNG to hex array, but when I want to call the image is not proper displayed or the colour is changed :( So if possible I need help from someone to have an example how step by step prepare image, convert to hex and add (code) all to M5StickC. So anyone who face an issue like me will could use such tutorial.</p>
]]></description><link>https://community.m5stack.com/post/3975</link><guid isPermaLink="true">https://community.m5stack.com/post/3975</guid><dc:creator><![CDATA[ojdas]]></dc:creator><pubDate>Wed, 24 Apr 2019 08:17:25 GMT</pubDate></item><item><title><![CDATA[Reply to [Solved]M5StickC and colour images on Mon, 22 Apr 2019 10:25:45 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/ojdas" aria-label="Profile: ojdas">@<bdi>ojdas</bdi></a> In principle, StickC supports any format of image file data. If you can transfer your image file to Hexadecimal array, then write the Hexadecimal array to StickC. It will display the image.</p>
]]></description><link>https://community.m5stack.com/post/3911</link><guid isPermaLink="true">https://community.m5stack.com/post/3911</guid><dc:creator><![CDATA[m5-docs]]></dc:creator><pubDate>Mon, 22 Apr 2019 10:25:45 GMT</pubDate></item><item><title><![CDATA[Reply to [Solved]M5StickC and colour images on Thu, 18 Apr 2019 20:01:42 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> Guys I need your help regarding conversion. What type of files we can convert, what type of conversion I need use, as I see that we have many RGB types, and so on...<br />
I need step by step information :( Thank you in advance.</p>
]]></description><link>https://community.m5stack.com/post/3861</link><guid isPermaLink="true">https://community.m5stack.com/post/3861</guid><dc:creator><![CDATA[ojdas]]></dc:creator><pubDate>Thu, 18 Apr 2019 20:01:42 GMT</pubDate></item><item><title><![CDATA[Reply to [Solved]M5StickC and colour images on Thu, 18 Apr 2019 12:22:46 GMT]]></title><description><![CDATA[<p dir="auto">you could use krita or piskell they both can convert images to c file <a class="plugin-mentions-user plugin-mentions-a" href="/user/ojdas" aria-label="Profile: ojdas">@<bdi>ojdas</bdi></a></p>
]]></description><link>https://community.m5stack.com/post/3854</link><guid isPermaLink="true">https://community.m5stack.com/post/3854</guid><dc:creator><![CDATA[lukasmaximus]]></dc:creator><pubDate>Thu, 18 Apr 2019 12:22:46 GMT</pubDate></item><item><title><![CDATA[Reply to [Solved]M5StickC and colour images on Thu, 18 Apr 2019 07:38:01 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/watson" aria-label="Profile: watson">@<bdi>watson</bdi></a> I know that but could you please recommend software which I could use to convert image file to array?<br />
I have tried many but I didn't find any correct one :(<br />
Any help appreciated.</p>
]]></description><link>https://community.m5stack.com/post/3842</link><guid isPermaLink="true">https://community.m5stack.com/post/3842</guid><dc:creator><![CDATA[ojdas]]></dc:creator><pubDate>Thu, 18 Apr 2019 07:38:01 GMT</pubDate></item><item><title><![CDATA[Reply to [Solved]M5StickC and colour images on Thu, 18 Apr 2019 02:05:26 GMT]]></title><description><![CDATA[<p dir="auto">Hello guys <a class="plugin-mentions-user plugin-mentions-a" href="/user/ojdas" aria-label="Profile: ojdas">@<bdi>ojdas</bdi></a> <a class="plugin-mentions-user plugin-mentions-a" href="/user/ajb2k3" aria-label="Profile: ajb2k3">@<bdi>ajb2k3</bdi></a>,</p>
<p dir="auto">You need to transfer your picture to array[] first, so that M5StickC can display through callback this array[].</p>
<p dir="auto">e.g. gImage_logo[25600] in the <a href="https://platformio.org/lib/show/6246/M5StickC" target="_blank" rel="noopener noreferrer nofollow ugc">logo.c file</a></p>
<pre><code class="language-arduino">const unsigned char gImage_logo[25600] = { /* 0X00,0X10,0X50,0X00,0XA0,0X00,0X01,0X1B, */
0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,
0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,
0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,
0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,
0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,
0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,
0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,
0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,
</code></pre>
<p dir="auto"><strong>The library of M5StickC has not owned any function whick can callback a image file directly likes imge_jpg(), imge_png(), imge_bmp().</strong></p>
]]></description><link>https://community.m5stack.com/post/3814</link><guid isPermaLink="true">https://community.m5stack.com/post/3814</guid><dc:creator><![CDATA[m5-docs]]></dc:creator><pubDate>Thu, 18 Apr 2019 02:05:26 GMT</pubDate></item><item><title><![CDATA[Reply to [Solved]M5StickC and colour images on Wed, 17 Apr 2019 19:06:42 GMT]]></title><description><![CDATA[<p dir="auto">What program generate data in file Logo.c here <a href="https://platformio.org/lib/show/6246/M5StickC" target="_blank" rel="noopener noreferrer nofollow ugc">https://platformio.org/lib/show/6246/M5StickC</a></p>
]]></description><link>https://community.m5stack.com/post/3805</link><guid isPermaLink="true">https://community.m5stack.com/post/3805</guid><dc:creator><![CDATA[ojdas]]></dc:creator><pubDate>Wed, 17 Apr 2019 19:06:42 GMT</pubDate></item><item><title><![CDATA[Reply to [Solved]M5StickC and colour images on Wed, 17 Apr 2019 10:26:26 GMT]]></title><description><![CDATA[<p dir="auto">The screen has a resolution of 80px X 160px,<br />
Images must be .jpg (.JPEG not supported),<br />
File size must be smaller than 24KBits,<br />
Progressive and Lossless JPEG format is not supported,<br />
Gray scale image are not supported.</p>
<p dir="auto">This section of the documents is largely unwritten and untested at present as I'm working on the document but have problems with the Stick C.</p>
]]></description><link>https://community.m5stack.com/post/3791</link><guid isPermaLink="true">https://community.m5stack.com/post/3791</guid><dc:creator><![CDATA[ajb2k3]]></dc:creator><pubDate>Wed, 17 Apr 2019 10:26:26 GMT</pubDate></item></channel></rss>