<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body>
    <p>Or extract the three bands into three separate vector files and
      then union the three together to get the unique combinations of
      RGB values.</p>
    <p>Cheers,</p>
    <p>Andy<br>
    </p>
    <div class="moz-cite-prefix">On 18/07/2021 19:56, Nicolas Cadieux
      wrote:<br>
    </div>
    <blockquote type="cite" cite="mid:7B3CE863-262A-4EE3-8357-4009E19B829E@gmail.com">
      
      <div style="padding-bottom: 10px; padding-top: 5px;">
        <div style="padding:12px; border:1px solid #8D3970;
          background-color:#F7F9FA; color:#8D3970; font-size:14px;
          line-height:22px; font-family: Calibri, Arial, Helvetica,
          sans-serif;">
          <strong>CAUTION:</strong> This e-mail originated outside the
          University of Southampton.
        </div>
      </div>
      <div>Hi,
        <div>You could create a style that could apply to both raster
          and vector layers but that would not help much here.  The
          problem is that you need to create the vector based on one of
          the raster Bands and not all three.  One way could be to
          combine all three fields into one.  If your RGB is 155 025
          255, make this a raster band with 155025255. Then, I guess you
          could use that 4th band to make the vector layer, then resplit
          the data into 3 fields and use that to create the colour
          profile.<br>
          <br>
          <div dir="ltr">Nicolas Cadieux
            <div><a href="https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgitlab.com%2Fnjacadieux&data=04%7C01%7Cajph%40geodata.soton.ac.uk%7C178db35795fb4723dfbd08d94a1dcc1a%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637622314098951318%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=0U%2Bv90nzsrozeTppC4pVe4Vv9ZLJrkp8NxuZm96zKZE%3D&reserved=0" originalsrc="https://gitlab.com/njacadieux" shash="Di0P+LN9OEEsrd2VkTnySovard5u98FDH0KgncZZcDH5bQ1eq+jr735JQXS6JODtWDv2HZa84Wl72dIyV1dX7APE11QhQU0rX2DRV2QqIZAKr7njYS86dKHGujtPMDM4axev63sC6oi7d77bJv8fJPdFKJDGwghj0BPgVML/AAs=" moz-do-not-send="true">https://gitlab.com/njacadieux</a></div>
          </div>
          <div dir="ltr"><br>
            <blockquote type="cite">Le 18 juill. 2021 à 12:51, krishna
              Ayyala <a class="moz-txt-link-rfc2396E" href="mailto:ayyalakrishna@gmail.com"><ayyalakrishna@gmail.com></a> a écrit :<br>
              <br>
            </blockquote>
          </div>
          <blockquote type="cite">
            <div dir="ltr">
              <div dir="ltr">
                <div><font color="#0000ff">I have an image on my qgis
                    map that has 3 bands. Band1 (red), Band2(green) and
                    Band3(blue). This image has different colors.Is it
                    possible to convert this image into a vector which
                    should look exactly like the image. </font></div>
                <div><font color="#0000ff"><br>
                  </font></div>
                <div><font color="#0000ff">That means; Is it possible to
                    have the vector file that should have the same
                    colors as that of the image.</font></div>
                <div><font color="#0000ff"><br>
                  </font></div>
                <div><font color="#0000ff">Regards.</font></div>
              </div>
              <span>_______________________________________________</span><br>
              <span>Qgis-user mailing list</span><br>
              <span><a class="moz-txt-link-abbreviated" href="mailto:Qgis-user@lists.osgeo.org">Qgis-user@lists.osgeo.org</a></span><br>
              <span>List info:
                <a class="moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/qgis-user">https://lists.osgeo.org/mailman/listinfo/qgis-user</a></span><br>
              <span>Unsubscribe:
                <a class="moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/qgis-user">https://lists.osgeo.org/mailman/listinfo/qgis-user</a></span><br>
            </div>
          </blockquote>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <pre class="moz-quote-pre" wrap="">_______________________________________________
Qgis-user mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Qgis-user@lists.osgeo.org">Qgis-user@lists.osgeo.org</a>
List info: <a class="moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/qgis-user">https://lists.osgeo.org/mailman/listinfo/qgis-user</a>
Unsubscribe: <a class="moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/qgis-user">https://lists.osgeo.org/mailman/listinfo/qgis-user</a>
</pre>
    </blockquote>
    <pre class="moz-signature" cols="72">-- 
Andy Harfoot

Skype: gdi_ajph
Teams: <a class="moz-txt-link-abbreviated" href="mailto:ajph@soton.ac.uk">ajph@soton.ac.uk</a>

GeoData Institute
University of Southampton
Southampton
SO17 1BJ

<a class="moz-txt-link-abbreviated" href="http://www.geodata.soton.ac.uk">www.geodata.soton.ac.uk</a></pre>
  </body>
</html>