<?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[M5StickC: Cannot write BMP&#x2F;JPG&#x2F;RAW to the lcd from memory]]></title><description><![CDATA[<p dir="auto">Hi. I'm using the last version of firmware (1.6.0), and there is so many differences between it and micropython code samples from 2018-2019. I wanna print the image, loaded from my local server. I wanna write raw bmp array right to the screen like here: <a href="https://github.com/loboris/MicroPython_ESP32_psRAM_LoBo/blob/fede6f610c9952c7242fc309c2bb4efc9afb0919/MicroPython_BUILD/components/micropython/esp32/modules/ssd1306.py" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/loboris/MicroPython_ESP32_psRAM_LoBo/blob/fede6f610c9952c7242fc309c2bb4efc9afb0919/MicroPython_BUILD/components/micropython/esp32/modules/ssd1306.py</a></p>
<p dir="auto">There are any solutions for writing, except for pixel-by-pixel?)</p>
]]></description><link>https://community.m5stack.com/topic/2145/m5stickc-cannot-write-bmp-jpg-raw-to-the-lcd-from-memory</link><generator>RSS for Node</generator><lastBuildDate>Tue, 28 Apr 2026 23:55:47 GMT</lastBuildDate><atom:link href="https://community.m5stack.com/topic/2145.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 22 Jul 2020 00:28:25 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to M5StickC: Cannot write BMP&#x2F;JPG&#x2F;RAW to the lcd from memory on Wed, 22 Jul 2020 08:14:31 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/reganel" aria-label="Profile: reganel">@<bdi>reganel</bdi></a> You could save the image to a file and load it back to the display, but with frequent writing to the flash memory, you will damage it very quickly. I tried to load a bitmap into a variable and draw from it pixel by pixel on the screen, but esp does not have enough ram memory (for a 24 bit 80x160 bitmap some 38kB). From what I've seen, the C libraries for arduino allow you to write an image from a buffer. The only thing I was able to get is reading a jpg image through mqtt (size about 10kB), saving to a file and from a file to the screen. But as mentioned before, flash memory has a limited number of write cycles.</p>
]]></description><link>https://community.m5stack.com/post/9399</link><guid isPermaLink="true">https://community.m5stack.com/post/9399</guid><dc:creator><![CDATA[robalstona]]></dc:creator><pubDate>Wed, 22 Jul 2020 08:14:31 GMT</pubDate></item><item><title><![CDATA[Reply to M5StickC: Cannot write BMP&#x2F;JPG&#x2F;RAW to the lcd from memory on Wed, 22 Jul 2020 04:29:22 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/reganel" aria-label="Profile: reganel">@<bdi>reganel</bdi></a> Images have to be formatted and saved in a very specific way to be used. this is a limitation of Micropython.<br />
The exact specifications required are written down in several post o this forum. please use the search function to find those requirements.</p>
]]></description><link>https://community.m5stack.com/post/9398</link><guid isPermaLink="true">https://community.m5stack.com/post/9398</guid><dc:creator><![CDATA[ajb2k3]]></dc:creator><pubDate>Wed, 22 Jul 2020 04:29:22 GMT</pubDate></item></channel></rss>