<?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[Is there a tool to convert an image to be displayed with drawBuff?]]></title><description><![CDATA[<p dir="auto">I am using <strong>M5 CoreInk</strong>. To my understanding, it is possible to <strong>display images</strong>, using <code>spite.drawBuff(x, y, width, height, imageBuf);</code> where we supply the image as an array of unsigned char (0x00 for black, 0xff for white).</p>
<p dir="auto">There is an <a href="https://github.com/m5stack/M5-CoreInk/blob/master/examples/FactoryTest/icon.cpp" target="_blank" rel="noopener noreferrer nofollow ugc">example of such arrays here</a>.</p>
<p dir="auto">My question is the following: <em>how were those arrays created</em>? is there a <strong>tool</strong>/script/command line to convert ASCII art, or BMP, or PNG, or JPG (whatever) to this table?</p>
<p dir="auto">Thanks</p>
]]></description><link>https://community.m5stack.com/topic/4104/is-there-a-tool-to-convert-an-image-to-be-displayed-with-drawbuff</link><generator>RSS for Node</generator><lastBuildDate>Sun, 10 May 2026 06:38:15 GMT</lastBuildDate><atom:link href="https://community.m5stack.com/topic/4104.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 07 Mar 2022 14:50:06 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Is there a tool to convert an image to be displayed with drawBuff? on Thu, 10 Mar 2022 16:00:53 GMT]]></title><description><![CDATA[<p dir="auto">thanks, this should work out fine :)</p>
]]></description><link>https://community.m5stack.com/post/16897</link><guid isPermaLink="true">https://community.m5stack.com/post/16897</guid><dc:creator><![CDATA[aafortinet]]></dc:creator><pubDate>Thu, 10 Mar 2022 16:00:53 GMT</pubDate></item><item><title><![CDATA[Reply to Is there a tool to convert an image to be displayed with drawBuff? on Tue, 08 Mar 2022 13:54:55 GMT]]></title><description><![CDATA[<p dir="auto">similar tools<br />
<a href="https://github.com/novaspirit/img2bytearray" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/novaspirit/img2bytearray</a></p>
<p dir="auto">full introduction<br />
<a href="https://atceiling.blogspot.com/2021/04/raspberry-pi-pico12ssd1306-lcd_26.html" target="_blank" rel="noopener noreferrer nofollow ugc">https://atceiling.blogspot.com/2021/04/raspberry-pi-pico12ssd1306-lcd_26.html</a></p>
]]></description><link>https://community.m5stack.com/post/16869</link><guid isPermaLink="true">https://community.m5stack.com/post/16869</guid><dc:creator><![CDATA[flypeek]]></dc:creator><pubDate>Tue, 08 Mar 2022 13:54:55 GMT</pubDate></item></channel></rss>