<?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 at specific coordinates]]></title><description><![CDATA[<p dir="auto">for (int x=0; x &lt;160 ; x++){</p>
<p dir="auto">M5.Lcd.setCursor (x, 0);<br />
M5.Lcd.drawJpgFile(SD, "/picture.jpg");</p>
<p dir="auto">}</p>
<p dir="auto">how can i draw a jpg image at specific location ?</p>
]]></description><link>https://community.m5stack.com/topic/26/drawjpgfile-at-specific-coordinates</link><generator>RSS for Node</generator><lastBuildDate>Wed, 29 Apr 2026 04:11:20 GMT</lastBuildDate><atom:link href="https://community.m5stack.com/topic/26.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 30 Oct 2017 19:49:52 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to drawJpgFile at specific coordinates on Mon, 26 Sep 2022 12:57:59 GMT]]></title><description><![CDATA[<pre><code>void drawJpgFile(fs::FS &amp;fs, const char *path, uint16_t x = 0,
                 uint16_t y = 0, uint16_t maxWidth = 0,
                 uint16_t maxHeight = 0, uint16_t offX = 0,
                 uint16_t offY = 0, jpeg_div_t scale = JPEG_DIV_NONE);

void drawPngFile(fs::FS &amp;fs, const char *path, uint16_t x = 0,
                 uint16_t y = 0, uint16_t maxWidth = 0,
                 uint16_t maxHeight = 0, uint16_t offX = 0,
                 uint16_t offY = 0, double scale = 1.0,
                 uint8_t alphaThreshold = 127);
</code></pre>
<p dir="auto">As you can see you don't need the extra values because they're automatically SET, even<br />
M5.Lcd.drawJpgFile(SD, "/wifi.jpg",110,40,100,100,0,0);<br />
does not work though, Why are the libraries not working properly?</p>
]]></description><link>https://community.m5stack.com/post/18722</link><guid isPermaLink="true">https://community.m5stack.com/post/18722</guid><dc:creator><![CDATA[Asmodev]]></dc:creator><pubDate>Mon, 26 Sep 2022 12:57:59 GMT</pubDate></item><item><title><![CDATA[Reply to drawJpgFile at specific coordinates on Mon, 13 Nov 2017 06:20:23 GMT]]></title><description><![CDATA[<p dir="auto">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);</p>
]]></description><link>https://community.m5stack.com/post/62</link><guid isPermaLink="true">https://community.m5stack.com/post/62</guid><dc:creator><![CDATA[0x1abin]]></dc:creator><pubDate>Mon, 13 Nov 2017 06:20:23 GMT</pubDate></item></channel></rss>