<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>GUI GuiderのトピックUnable to render QR code on PEG lib based UI (v1.8.0)</title>
    <link>https://community.nxp.com/t5/GUI-Guider/Unable-to-render-QR-code-on-PEG-lib-based-UI-v1-8-0/m-p/1997501#M1275</link>
    <description>&lt;P&gt;i am trying to render a QR code (a simple string encoded in it) on my product's UI screen that uses "Silicon Motion 718 driver with support for 32bpp operations". The QR code data is encoded in 8-bit mode, using a offline library that uses v2 QR encoding. am using the lowest level of error checking.&lt;BR /&gt;&lt;BR /&gt;The product's UI on which am trying to render, is using PEG library v1.8.0.&lt;BR /&gt;there are several images (buttons, icons etc...) that are globally defined as hardcoded byte arrays in the UI's codebase.&lt;BR /&gt;similarly, i have hardcoded my QR code byte array of 625 bytes as type PEGUBYTE &amp;amp; defined a&amp;nbsp; P&lt;SPAN&gt;egBitmap instance using this array.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;am defining a PegRect at a position i want to place the rectangle, and dimensions are according to the width of the PegBitmap.&lt;BR /&gt;am using the PegRect to define a PegIcon and drawing the object for the attempt to render it on the screen.&lt;BR /&gt;But the QR code image is always output as a distorted image on the screen.&lt;BR /&gt;&lt;SPAN&gt;my application&amp;nbsp;uses a 256-color palette system and it is a default system palette.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;All buttons, icons used in my product are predefined as bitmap arrays.&lt;BR /&gt;i do not know how these bitmap arrays were derived, but i think PegImageConvert tool may&lt;BR /&gt;have been used (Pls see the screenshot below).&lt;BR /&gt;If using this tool might be necessary, i would like to get access to this, as this is currently missing.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="PEG Image Convert" style="width: 476px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/311326i1C3FC100F4A418D3/image-size/large?v=v2&amp;amp;px=999" role="button" title="PEGImageConvert.jpg" alt="PEG Image Convert" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;PEG Image Convert&lt;/span&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;i would like to understand what i may be doing wrong here.&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 19 Nov 2024 22:34:51 GMT</pubDate>
    <dc:creator>ManikandanR</dc:creator>
    <dc:date>2024-11-19T22:34:51Z</dc:date>
    <item>
      <title>Unable to render QR code on PEG lib based UI (v1.8.0)</title>
      <link>https://community.nxp.com/t5/GUI-Guider/Unable-to-render-QR-code-on-PEG-lib-based-UI-v1-8-0/m-p/1997501#M1275</link>
      <description>&lt;P&gt;i am trying to render a QR code (a simple string encoded in it) on my product's UI screen that uses "Silicon Motion 718 driver with support for 32bpp operations". The QR code data is encoded in 8-bit mode, using a offline library that uses v2 QR encoding. am using the lowest level of error checking.&lt;BR /&gt;&lt;BR /&gt;The product's UI on which am trying to render, is using PEG library v1.8.0.&lt;BR /&gt;there are several images (buttons, icons etc...) that are globally defined as hardcoded byte arrays in the UI's codebase.&lt;BR /&gt;similarly, i have hardcoded my QR code byte array of 625 bytes as type PEGUBYTE &amp;amp; defined a&amp;nbsp; P&lt;SPAN&gt;egBitmap instance using this array.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;am defining a PegRect at a position i want to place the rectangle, and dimensions are according to the width of the PegBitmap.&lt;BR /&gt;am using the PegRect to define a PegIcon and drawing the object for the attempt to render it on the screen.&lt;BR /&gt;But the QR code image is always output as a distorted image on the screen.&lt;BR /&gt;&lt;SPAN&gt;my application&amp;nbsp;uses a 256-color palette system and it is a default system palette.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;All buttons, icons used in my product are predefined as bitmap arrays.&lt;BR /&gt;i do not know how these bitmap arrays were derived, but i think PegImageConvert tool may&lt;BR /&gt;have been used (Pls see the screenshot below).&lt;BR /&gt;If using this tool might be necessary, i would like to get access to this, as this is currently missing.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="PEG Image Convert" style="width: 476px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/311326i1C3FC100F4A418D3/image-size/large?v=v2&amp;amp;px=999" role="button" title="PEGImageConvert.jpg" alt="PEG Image Convert" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;PEG Image Convert&lt;/span&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;i would like to understand what i may be doing wrong here.&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 19 Nov 2024 22:34:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/GUI-Guider/Unable-to-render-QR-code-on-PEG-lib-based-UI-v1-8-0/m-p/1997501#M1275</guid>
      <dc:creator>ManikandanR</dc:creator>
      <dc:date>2024-11-19T22:34:51Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to render QR code on PEG lib based UI (v1.8.0)</title>
      <link>https://community.nxp.com/t5/GUI-Guider/Unable-to-render-QR-code-on-PEG-lib-based-UI-v1-8-0/m-p/1999898#M1276</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/243556"&gt;@ManikandanR&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;May i ask do you use GUI GUIDER for development? and which chip do you use?&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;Harry&lt;/P&gt;</description>
      <pubDate>Fri, 22 Nov 2024 08:12:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/GUI-Guider/Unable-to-render-QR-code-on-PEG-lib-based-UI-v1-8-0/m-p/1999898#M1276</guid>
      <dc:creator>Harry_Zhang</dc:creator>
      <dc:date>2024-11-22T08:12:08Z</dc:date>
    </item>
  </channel>
</rss>

