<?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[drawJpgFile &#x2F; drawBmpFile]]></title><description><![CDATA[<p dir="auto">With Arduino IDE 1.8.5<br />
drawJpgFile / drawBmpFile don't work well.<br />
Images on display are pixelised<br />
Does anyone have a solution?</p>
]]></description><link>https://community.m5stack.com/topic/238/drawjpgfile-drawbmpfile</link><generator>RSS for Node</generator><lastBuildDate>Sat, 14 Mar 2026 22:25:47 GMT</lastBuildDate><atom:link href="https://community.m5stack.com/topic/238.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 20 Jun 2018 11:59:56 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to drawJpgFile &#x2F; drawBmpFile on Mon, 25 Jun 2018 10:08:45 GMT]]></title><description><![CDATA[<p dir="auto">Thank you Calin!</p>
]]></description><link>https://community.m5stack.com/post/1179</link><guid isPermaLink="true">https://community.m5stack.com/post/1179</guid><dc:creator><![CDATA[Richard]]></dc:creator><pubDate>Mon, 25 Jun 2018 10:08:45 GMT</pubDate></item><item><title><![CDATA[Reply to drawJpgFile &#x2F; drawBmpFile on Mon, 25 Jun 2018 10:07:51 GMT]]></title><description><![CDATA[<p dir="auto"><img src="/assets/uploads/files/1529921251069-test2devices1-resized.jpg" alt="0_1529921192318_Test2devices1.jpg" class=" img-fluid img-markdown" /></p>
]]></description><link>https://community.m5stack.com/post/1178</link><guid isPermaLink="true">https://community.m5stack.com/post/1178</guid><dc:creator><![CDATA[Richard]]></dc:creator><pubDate>Mon, 25 Jun 2018 10:07:51 GMT</pubDate></item><item><title><![CDATA[Reply to drawJpgFile &#x2F; drawBmpFile on Mon, 25 Jun 2018 09:54:34 GMT]]></title><description><![CDATA[<p dir="auto">I tested my programm and my file jpg  (sd 4go) with IDE Arduino 1.8.5 on another M5Stack .<br />
It works very well.<br />
The first M5stack doesn't work propely.<br />
I hope the M5stack store will change it.</p>
]]></description><link>https://community.m5stack.com/post/1177</link><guid isPermaLink="true">https://community.m5stack.com/post/1177</guid><dc:creator><![CDATA[Richard]]></dc:creator><pubDate>Mon, 25 Jun 2018 09:54:34 GMT</pubDate></item><item><title><![CDATA[Reply to drawJpgFile &#x2F; drawBmpFile on Sat, 23 Jun 2018 17:54:04 GMT]]></title><description><![CDATA[<p dir="auto">Ok, failed to get it to work with the jpgdraw script but if I convert to array it works, But!!!!!!</p>
<p dir="auto">I had to reduce the image to a 256bit Indexed image!</p>
]]></description><link>https://community.m5stack.com/post/1161</link><guid isPermaLink="true">https://community.m5stack.com/post/1161</guid><dc:creator><![CDATA[ajb2k3]]></dc:creator><pubDate>Sat, 23 Jun 2018 17:54:04 GMT</pubDate></item><item><title><![CDATA[Reply to drawJpgFile &#x2F; drawBmpFile on Fri, 22 Jun 2018 19:41:08 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://community.m5stack.com/uid/443">@ajb2k3</a> ILI9341 is the LCD driver used by the M5Stack TFT display: <a href="https://cdn-shop.adafruit.com/datasheets/ILI9341.pdf" target="_blank" rel="noopener noreferrer nofollow ugc">https://cdn-shop.adafruit.com/datasheets/ILI9341.pdf</a></p>
]]></description><link>https://community.m5stack.com/post/1155</link><guid isPermaLink="true">https://community.m5stack.com/post/1155</guid><dc:creator><![CDATA[Calin]]></dc:creator><pubDate>Fri, 22 Jun 2018 19:41:08 GMT</pubDate></item><item><title><![CDATA[Reply to drawJpgFile &#x2F; drawBmpFile on Fri, 22 Jun 2018 19:18:38 GMT]]></title><description><![CDATA[<p dir="auto">I have a 32gig Class 10 sdhc formatted as fat32 MBT.<br />
How do I tell if I have the ILI9341?</p>
]]></description><link>https://community.m5stack.com/post/1154</link><guid isPermaLink="true">https://community.m5stack.com/post/1154</guid><dc:creator><![CDATA[ajb2k3]]></dc:creator><pubDate>Fri, 22 Jun 2018 19:18:38 GMT</pubDate></item><item><title><![CDATA[Reply to drawJpgFile &#x2F; drawBmpFile on Fri, 22 Jun 2018 18:44:23 GMT]]></title><description><![CDATA[<p dir="auto">and also<br />
I tested with a 32mo</p>
]]></description><link>https://community.m5stack.com/post/1152</link><guid isPermaLink="true">https://community.m5stack.com/post/1152</guid><dc:creator><![CDATA[Richard]]></dc:creator><pubDate>Fri, 22 Jun 2018 18:44:23 GMT</pubDate></item><item><title><![CDATA[Reply to drawJpgFile &#x2F; drawBmpFile on Fri, 22 Jun 2018 18:43:34 GMT]]></title><description><![CDATA[<p dir="auto">I use a SD 4mo FAT32</p>
]]></description><link>https://community.m5stack.com/post/1151</link><guid isPermaLink="true">https://community.m5stack.com/post/1151</guid><dc:creator><![CDATA[Richard]]></dc:creator><pubDate>Fri, 22 Jun 2018 18:43:34 GMT</pubDate></item><item><title><![CDATA[Reply to drawJpgFile &#x2F; drawBmpFile on Fri, 22 Jun 2018 18:35:54 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://community.m5stack.com/uid/443">@ajb2k3</a> 在 <a href="/post/1148">drawJpgFile / drawBmpFile</a> 中说：</p>
<blockquote>
<p dir="auto">Is there a hardware limitation for this i.e. is there a card size limit and a formatting requirement?<br />
Is there a specific image limitation for the image?</p>
</blockquote>
<p dir="auto">I think there is no limitation on card size.<br />
There might be a limitation on card read/write speed and that depend on the sdcard manufacturer and model.<br />
As i know, the cards formatted as FAT32 are preffered.</p>
<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://community.m5stack.com/uid/456">@richard</a> 在 <a href="/post/1149">drawJpgFile / drawBmpFile</a> 中说：</p>
<blockquote>
<p dir="auto">i have just tested your programm and i still have the problem.<br />
I think it's a hardware problem.<br />
I'm waiting for another device<br />
Thank you.</p>
</blockquote>
<p dir="auto">That problem can be caused by the ILI9341 controller from the TFT.<br />
If that is the case, the only solution is a replacement.</p>
]]></description><link>https://community.m5stack.com/post/1150</link><guid isPermaLink="true">https://community.m5stack.com/post/1150</guid><dc:creator><![CDATA[Calin]]></dc:creator><pubDate>Fri, 22 Jun 2018 18:35:54 GMT</pubDate></item><item><title><![CDATA[Reply to drawJpgFile &#x2F; drawBmpFile on Fri, 22 Jun 2018 17:12:26 GMT]]></title><description><![CDATA[<p dir="auto">I use Visual Studio too.<br />
i have just tested your programm and i still have the problem.<br />
I think it's a hardware problem.<br />
I'm waiting for another device<br />
Thank you.</p>
]]></description><link>https://community.m5stack.com/post/1149</link><guid isPermaLink="true">https://community.m5stack.com/post/1149</guid><dc:creator><![CDATA[Richard]]></dc:creator><pubDate>Fri, 22 Jun 2018 17:12:26 GMT</pubDate></item><item><title><![CDATA[Reply to drawJpgFile &#x2F; drawBmpFile on Fri, 22 Jun 2018 17:10:25 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://community.m5stack.com/uid/269">@calin</a> 在 <a href="/post/1146">drawJpgFile / drawBmpFile</a> 中说：</p>
<blockquote>
<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://community.m5stack.com/uid/456">@richard</a> No. i didn't tested with arduino "ide". I uninstalled that from my PC because is mostly useless...</p>
<p dir="auto">I use Visual Studio, Eclipse or PlatformIO.</p>
<p dir="auto">I uploaded the PlatformIO project for your code to github: <a href="https://github.com/botofancalin/M5StackJpgtest" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/botofancalin/M5StackJpgtest</a><br />
The M5Stack library is already installed local into project.<br />
All you have to do is to download the repository and compile the code.</p>
</blockquote>
<p dir="auto">Maybe a stupid question (or two) but I'm going to ask anyway.<br />
Is there a hardware limitation for this i.e. is there a card size limit and a formatting requirement?<br />
Is there a specific image limitation for the image?</p>
]]></description><link>https://community.m5stack.com/post/1148</link><guid isPermaLink="true">https://community.m5stack.com/post/1148</guid><dc:creator><![CDATA[ajb2k3]]></dc:creator><pubDate>Fri, 22 Jun 2018 17:10:25 GMT</pubDate></item><item><title><![CDATA[Reply to drawJpgFile &#x2F; drawBmpFile on Fri, 22 Jun 2018 16:31:07 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://community.m5stack.com/uid/456">@richard</a> No. i didn't tested with arduino "ide". I uninstalled that from my PC because is mostly useless...</p>
<p dir="auto">I use Visual Studio, Eclipse or PlatformIO.</p>
<p dir="auto">I uploaded the PlatformIO project for your code to github: <a href="https://github.com/botofancalin/M5StackJpgtest" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/botofancalin/M5StackJpgtest</a><br />
The M5Stack library is already installed local into project.<br />
All you have to do is to download the repository and compile the code.</p>
]]></description><link>https://community.m5stack.com/post/1146</link><guid isPermaLink="true">https://community.m5stack.com/post/1146</guid><dc:creator><![CDATA[Calin]]></dc:creator><pubDate>Fri, 22 Jun 2018 16:31:07 GMT</pubDate></item><item><title><![CDATA[Reply to drawJpgFile &#x2F; drawBmpFile on Fri, 22 Jun 2018 05:13:44 GMT]]></title><description><![CDATA[<p dir="auto">Agreed, Following this myself and just get a blank screen with the image not loaded. This is my image <img src="/assets/uploads/files/1529644402072-logo.jpg" alt="0_1529644400361_logo.jpg" class=" img-fluid img-markdown" /></p>
]]></description><link>https://community.m5stack.com/post/1144</link><guid isPermaLink="true">https://community.m5stack.com/post/1144</guid><dc:creator><![CDATA[ajb2k3]]></dc:creator><pubDate>Fri, 22 Jun 2018 05:13:44 GMT</pubDate></item><item><title><![CDATA[Reply to drawJpgFile &#x2F; drawBmpFile on Thu, 21 Jun 2018 21:50:26 GMT]]></title><description><![CDATA[<p dir="auto">i have install PlatformIO and load my projet:<br />
Wrote 230992 bytes (123957 compressed) at 0x00010000 in 11.0 seconds (effective 168.6 kbit/s)...<br />
Hash of data verified.</p>
<p dir="auto">Leaving...<br />
Hard resetting via RTS pin...<br />
====================================================== [SUCCESS] Took 23.68 seconds =======================================<br />
I still have the problem!<br />
hardware problem?<br />
I</p>
]]></description><link>https://community.m5stack.com/post/1142</link><guid isPermaLink="true">https://community.m5stack.com/post/1142</guid><dc:creator><![CDATA[Richard]]></dc:creator><pubDate>Thu, 21 Jun 2018 21:50:26 GMT</pubDate></item><item><title><![CDATA[Reply to drawJpgFile &#x2F; drawBmpFile on Thu, 21 Jun 2018 20:15:17 GMT]]></title><description><![CDATA[<p dir="auto">do you have tested my with arduino ide?<br />
thank you</p>
]]></description><link>https://community.m5stack.com/post/1141</link><guid isPermaLink="true">https://community.m5stack.com/post/1141</guid><dc:creator><![CDATA[Richard]]></dc:creator><pubDate>Thu, 21 Jun 2018 20:15:17 GMT</pubDate></item><item><title><![CDATA[Reply to drawJpgFile &#x2F; drawBmpFile on Thu, 21 Jun 2018 20:05:23 GMT]]></title><description><![CDATA[<p dir="auto">fine, but does not work on ide arduino.<br />
can you send me your code in espi setup?</p>
]]></description><link>https://community.m5stack.com/post/1140</link><guid isPermaLink="true">https://community.m5stack.com/post/1140</guid><dc:creator><![CDATA[Richard]]></dc:creator><pubDate>Thu, 21 Jun 2018 20:05:23 GMT</pubDate></item><item><title><![CDATA[Reply to drawJpgFile &#x2F; drawBmpFile on Thu, 21 Jun 2018 19:56:58 GMT]]></title><description><![CDATA[<p dir="auto">Here is the test using your code (with small modifications and relevant comments)<br />
and standard m5Stack library from PlatformIO:<br />
<img src="/assets/uploads/files/1529610834720-corso-test-resized.jpg" alt="0_1529610830592_corso test.jpg" class=" img-fluid img-markdown" /></p>
<p dir="auto">And here is the result:<br />
<img src="/assets/uploads/files/1529610975555-corsotested.jpg" alt="0_1529610972829_corsotested.jpg" class=" img-fluid img-markdown" /></p>
]]></description><link>https://community.m5stack.com/post/1139</link><guid isPermaLink="true">https://community.m5stack.com/post/1139</guid><dc:creator><![CDATA[Calin]]></dc:creator><pubDate>Thu, 21 Jun 2018 19:56:58 GMT</pubDate></item><item><title><![CDATA[Reply to drawJpgFile &#x2F; drawBmpFile on Thu, 21 Jun 2018 16:44:21 GMT]]></title><description><![CDATA[<p dir="auto">2017.6</p>
]]></description><link>https://community.m5stack.com/post/1137</link><guid isPermaLink="true">https://community.m5stack.com/post/1137</guid><dc:creator><![CDATA[Richard]]></dc:creator><pubDate>Thu, 21 Jun 2018 16:44:21 GMT</pubDate></item><item><title><![CDATA[Reply to drawJpgFile &#x2F; drawBmpFile on Thu, 21 Jun 2018 16:42:39 GMT]]></title><description><![CDATA[<p dir="auto">m5stack from m5stack store</p>
]]></description><link>https://community.m5stack.com/post/1136</link><guid isPermaLink="true">https://community.m5stack.com/post/1136</guid><dc:creator><![CDATA[Richard]]></dc:creator><pubDate>Thu, 21 Jun 2018 16:42:39 GMT</pubDate></item><item><title><![CDATA[Reply to drawJpgFile &#x2F; drawBmpFile on Thu, 21 Jun 2018 16:34:07 GMT]]></title><description><![CDATA[<p dir="auto"><img src="/assets/uploads/files/1529598839889-corto.jpg" alt="0_1529598838819_corto.jpg" class=" img-fluid img-markdown" /></p>
]]></description><link>https://community.m5stack.com/post/1135</link><guid isPermaLink="true">https://community.m5stack.com/post/1135</guid><dc:creator><![CDATA[Richard]]></dc:creator><pubDate>Thu, 21 Jun 2018 16:34:07 GMT</pubDate></item><item><title><![CDATA[Reply to drawJpgFile &#x2F; drawBmpFile on Thu, 21 Jun 2018 16:28:06 GMT]]></title><description><![CDATA[<p dir="auto">my code</p>
<p dir="auto">#include &lt;M5Stack.h&gt;</p>
<p dir="auto">void setup(void) {</p>
<p dir="auto">M5.begin();</p>
<p dir="auto">M5.Lcd.setBrightness(200);<br />
M5.Lcd.drawJpgFile(SD, "/corto.jpg");     // Load background from SD</p>
<p dir="auto"><a href="//M5.Lcd.drawJpgFile" target="_blank" rel="noopener noreferrer nofollow ugc">//M5.Lcd.drawJpgFile</a>(SD, "/corto_1.jpg", 0, 20, 300, 200);<br />
// M5.Lcd.drawJpgFile(fs::FS &amp;fs, const char *path, uint16_t x, uint16_t y, uint16_t maxWidth, uint16_t maxHeight, uint16_t offX, uint16_t offY, jpeg_div_t scale);<br />
}</p>
<p dir="auto">void loop() {</p>
<p dir="auto">M5.update();<br />
M5.Lcd.drawJpgFile(SD, "/corto.jpg");<br />
delay(1000);<br />
}<br />
Thank you</p>
]]></description><link>https://community.m5stack.com/post/1134</link><guid isPermaLink="true">https://community.m5stack.com/post/1134</guid><dc:creator><![CDATA[Richard]]></dc:creator><pubDate>Thu, 21 Jun 2018 16:28:06 GMT</pubDate></item><item><title><![CDATA[Reply to drawJpgFile &#x2F; drawBmpFile on Thu, 21 Jun 2018 15:36:46 GMT]]></title><description><![CDATA[<p dir="auto">Please share your code so i can check and see what's the problem there.</p>
]]></description><link>https://community.m5stack.com/post/1133</link><guid isPermaLink="true">https://community.m5stack.com/post/1133</guid><dc:creator><![CDATA[Calin]]></dc:creator><pubDate>Thu, 21 Jun 2018 15:36:46 GMT</pubDate></item><item><title><![CDATA[Reply to drawJpgFile &#x2F; drawBmpFile on Thu, 21 Jun 2018 11:06:33 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://community.m5stack.com/uid/269">@calin</a><br />
thanks,<br />
I tried but I still have the problem!<br />
no idea</p>
]]></description><link>https://community.m5stack.com/post/1131</link><guid isPermaLink="true">https://community.m5stack.com/post/1131</guid><dc:creator><![CDATA[Richard]]></dc:creator><pubDate>Thu, 21 Jun 2018 11:06:33 GMT</pubDate></item><item><title><![CDATA[Reply to drawJpgFile &#x2F; drawBmpFile on Wed, 20 Jun 2018 21:27:21 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://community.m5stack.com/uid/456">@richard</a> The TFT SPI frequency is defined on In_eSPI_Setup.h file from M5Stack library at line 202: <a href="https://github.com/m5stack/M5Stack/blob/1772fd68743a7728e64ab6d24b931e1183599981/src/utility/In_eSPI_Setup.h#L202" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/m5stack/M5Stack/blob/1772fd68743a7728e64ab6d24b931e1183599981/src/utility/In_eSPI_Setup.h#L202</a><br />
Try to set it to 27000000</p>
<p dir="auto">The SD SPI freqency can be different than TFT SPI frequency, since SD is on a different SPI bus.</p>
]]></description><link>https://community.m5stack.com/post/1128</link><guid isPermaLink="true">https://community.m5stack.com/post/1128</guid><dc:creator><![CDATA[Calin]]></dc:creator><pubDate>Wed, 20 Jun 2018 21:27:21 GMT</pubDate></item></channel></rss>