<?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[create c code for T-QT Pro img&#x2F;logo]]></title><description><![CDATA[<p dir="auto">please explain how you are creating your c code for the logo img.</p>
<p dir="auto">i have tried multiple sources to get code and i cannot get the colour to be correct.</p>
<p dir="auto">how did you create your c code logo in the examples ?<br />
what did you use?<br />
what settings?</p>
]]></description><link>https://www.community.lilygo.cc/topic/152/create-c-code-for-t-qt-pro-img-logo</link><generator>RSS for Node</generator><lastBuildDate>Sat, 16 May 2026 11:24:24 GMT</lastBuildDate><atom:link href="https://www.community.lilygo.cc/topic/152.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 04 Jan 2023 11:59:28 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to create c code for T-QT Pro img&#x2F;logo on Sat, 14 Jan 2023 03:39:30 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://www.community.lilygo.cc/uid/566">@tavdog</a> I saw Mickey closed your issue in LilyGO T-Display S3 repository ?</p>
<p dir="auto">This is confusing because swap bytes is much like reversing a film negative in that it should change radically with swap bytes true or false.</p>
<p dir="auto">Did you checkout my LilyGO T-Display S3 repository ?</p>
<p dir="auto">[edit] I just did this test of your image on my LilyGO T-Display S3 !<img src="/assets/uploads/files/1673667360460-img_5776-2.jpg" alt="IMG_5776 2.JPG" class=" img-responsive img-markdown" width="1024" height="649" /><br />
point is that blue came out blue and red is red!</p>
]]></description><link>https://www.community.lilygo.cc/post/405</link><guid isPermaLink="true">https://www.community.lilygo.cc/post/405</guid><dc:creator><![CDATA[teastain]]></dc:creator><pubDate>Sat, 14 Jan 2023 03:39:30 GMT</pubDate></item><item><title><![CDATA[Reply to create c code for T-QT Pro img&#x2F;logo on Fri, 13 Jan 2023 23:30:01 GMT]]></title><description><![CDATA[<p dir="auto">I can't get the colors right.  It seems red and blue are always swapped no matter which utility I use to create the C file.  changing swapBytes doesn't work either.<br />
<img src="https://cdn.discordapp.com/attachments/330406777009209346/1063588957536931851/PXL_20230113_224055679.jpg" alt="alt text" class=" img-responsive img-markdown" /></p>
]]></description><link>https://www.community.lilygo.cc/post/403</link><guid isPermaLink="true">https://www.community.lilygo.cc/post/403</guid><dc:creator><![CDATA[tavdog]]></dc:creator><pubDate>Fri, 13 Jan 2023 23:30:01 GMT</pubDate></item><item><title><![CDATA[Reply to create c code for T-QT Pro img&#x2F;logo on Thu, 05 Jan 2023 17:47:10 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://www.community.lilygo.cc/uid/545">@bobbycharles</a><br />
So glad to hear that you got it running!!!<br />
I had a lot of trouble getting my T-Display S3 working, with no support from LilyGO, so I started my Repository.<br />
Swapbytes is a very technical subject, think of it as "inverse polarity" that creates a negative image.<br />
(It is actually Little Endian vs. Big Endian byte order)<br />
Cheers, Terry</p>
]]></description><link>https://www.community.lilygo.cc/post/372</link><guid isPermaLink="true">https://www.community.lilygo.cc/post/372</guid><dc:creator><![CDATA[teastain]]></dc:creator><pubDate>Thu, 05 Jan 2023 17:47:10 GMT</pubDate></item><item><title><![CDATA[Reply to create c code for T-QT Pro img&#x2F;logo on Thu, 05 Jan 2023 10:28:19 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://www.community.lilygo.cc/uid/333">@teastain</a></p>
<p dir="auto">I GOT IT,looking at your code in hothead.ino you set</p>
<pre><code>tft.setSwapBytes(true);
</code></pre>
<p dir="auto">from this function</p>
<pre><code>/***************************************************************************************
** Function name:           setSwapBytes
** Description:             Used by 16 bit pushImage() to swap byte order in colours
***************************************************************************************/
void TFT_eSPI::setSwapBytes(bool swap)
{
  _swapBytes = swap;
}
</code></pre>
<p dir="auto">it works now thanks,</p>
<p dir="auto">althought if you could explain why i need this id like that as the original image worked,whats the difference how would i go about creating an image without needing to use the swap bytes fucntion?</p>
<p dir="auto">whats the difference?</p>
]]></description><link>https://www.community.lilygo.cc/post/370</link><guid isPermaLink="true">https://www.community.lilygo.cc/post/370</guid><dc:creator><![CDATA[bobbycharles]]></dc:creator><pubDate>Thu, 05 Jan 2023 10:28:19 GMT</pubDate></item><item><title><![CDATA[Reply to create c code for T-QT Pro img&#x2F;logo on Wed, 04 Jan 2023 22:23:38 GMT]]></title><description><![CDATA[<p dir="auto">@bobbycharleshEreswhat I use to create my "HotHead" image:</p>
<p dir="auto">// Generated by   : ImageConverter 565 Online<br />
//http://www.rinkydinkelectronics.com/t_imageconverter565.php<br />
//I recommend 170X170 or less as needed for proportion<br />
//select output as .c file and change to .h<br />
// Generated from : hothead.jpg<br />
// Time generated : Sat, 01 Oct 22 00:53:37 +0200  (Server timezone: CET)<br />
// Image Size     : h155 x v170 pixels  (vertical max170!!!)<br />
// Memory usage   : 52700 bytes</p>
<p dir="auto">This is for T-Display S3, tho.<br />
From my GitHub repository:<br />
<a href="https://github.com/teastainGit/LilyGO-T-display-S3-setup-and-examples/blob/main/HotHead/hothead.h" rel="nofollow ugc">https://github.com/teastainGit/LilyGO-T-display-S3-setup-and-examples/blob/main/HotHead/hothead.h</a></p>
]]></description><link>https://www.community.lilygo.cc/post/369</link><guid isPermaLink="true">https://www.community.lilygo.cc/post/369</guid><dc:creator><![CDATA[teastain]]></dc:creator><pubDate>Wed, 04 Jan 2023 22:23:38 GMT</pubDate></item><item><title><![CDATA[Reply to create c code for T-QT Pro img&#x2F;logo on Wed, 04 Jan 2023 16:56:01 GMT]]></title><description><![CDATA[<p dir="auto">see img,<br />
<img src="/assets/uploads/files/1672851336238-screenshot-2023-01-04-at-16.52.51.png" alt="Screenshot 2023-01-04 at 16.52.51.png" class=" img-responsive img-markdown" width="768" height="524" /></p>
]]></description><link>https://www.community.lilygo.cc/post/368</link><guid isPermaLink="true">https://www.community.lilygo.cc/post/368</guid><dc:creator><![CDATA[bobbycharles]]></dc:creator><pubDate>Wed, 04 Jan 2023 16:56:01 GMT</pubDate></item></channel></rss>